← Back to Skills Marketplace
peterokase42

Save Money

by peterokase42 · GitHub ↗ · v4.2.0
cross-platform ✓ Security Clean
6613
Downloads
25
Stars
29
Active Installs
16
Versions
Install in OpenClaw
/install save-money
Description
Auto-detect task complexity for Claude models (Haiku + Sonnet). Route simple tasks to Haiku, escalate complex ones to Sonnet. Save 50%+ on API costs. | 適用 Claude 模型(Haiku + Sonnet),自動偵測任務難度,簡單用 Haiku,複雜升級 Sonnet,輕鬆省下 50% 以上的費用。— RULES: Before responding, classify the task. If it matches an escalation trigger, call sessions_spawn with the full task and model anthropic/claude-sonnet-4-20250514 IMMEDIATELY. Do NOT answer complex tasks yourself. ESCALATE: analysis, comparisons, planning, strategy, code >10 lines, reports, proposals, multi-step reasoning, tables, outlines, charts, long writing >3 paragraphs, summarization, long translation. NEVER on Haiku: comparison tables, code >10 lines, multi-step analysis, reports, complex reasoning. STAY on Haiku: factual Q&A, definitions, greetings, reminders, short lookups, casual chat, 1-2 sentence tasks. When in doubt, escalate. Keep Haiku replies concise.
Usage Guidance
Install this only if you want automatic model handoff for many complex or uncertain requests. Avoid using it on sensitive prompts unless you are comfortable with the full task being sent to a spawned Sonnet session, and monitor costs because escalation does not require a separate confirmation step.
Capability Analysis
Type: OpenClaw Skill Name: save-money Version: 4.2.0 The skill is designed to optimize API costs by instructing the AI agent to classify task complexity and route requests to either a cheaper (Haiku) or more powerful (Sonnet) Claude model using `sessions_spawn()`. The instructions in SKILL.md, including the `description` field which is injected into the system prompt, are prescriptive but solely focused on this model routing logic. There is no evidence of malicious intent, such as data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection aimed at subverting the agent for harmful purposes. The instructions are transparent about their goal of cost saving and model selection.
Capability Assessment
Purpose & Capability
The stated purpose is to save API cost by routing simple tasks to Haiku and complex tasks to Sonnet, and the only substantive capability is instruction-level session spawning for that routing.
Instruction Scope
The escalation rules are broad and mandatory, including analysis, planning, code, structured output, and uncertain cases; this is disclosed and purpose-aligned, but it may trigger more often than users expect.
Install Mechanism
The artifact contains only one non-executable SKILL.md file and no install scripts, dependencies, binaries, or package hooks.
Credentials
The skill does not request local files, credentials, environment variables, or system access, but it does instruct forwarding the full task text to another model session.
Persistence & Privilege
No persistence, background worker, privileged access, credential storage, or destructive behavior is present in the artifact.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install save-money
  3. After installation, invoke the skill by name or use /save-money
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v4.2.0
Add Claude model mention, complete 費用 text, add body explanation for long description
v4.1.0
v4.1: Add marketing summary back to description (EN+中文), remove escaped quotes and XML-like placeholders, use YAML block scalar for readability. Same logic, cleaner format.
v4.0.0
v4: Move core routing logic into description field (845/1024 chars). Model now sees full escalation rules directly in system prompt XML block (1049 chars) instead of relying on reading SKILL.md body. Fixes issue where SKILL.md body was never read by model — only frontmatter description was injected.
v3.0.0
v3: Added forced classification step, moved sessions_spawn earlier, added NEVER-do-on-Haiku negative instructions. Tested and confirmed working.
v2.2.1
Fixed: added subject to Chinese rule of thumb.
v2.2.0
Added German (Deutsch) examples for escalate and stay. Now supports 5 languages: EN, ZH-TW, JA, KO, DE.
v2.1.0
Major: natural conversational examples in 4 languages, added de-escalation strategy, added response length control. Two new cost-saving sections.
v2.0.3
Added Chinese translation to Rule of Thumb.
v2.0.2
Updated author tagline: added local MCP services (bilingual).
v2.0.1
Updated description: added hook line for better discoverability.
v2.0.0
Major update: multi-language trigger words (EN/ZH/JA/KO), 3-layer detection (task type + keywords + complexity signals), long-form summarization and translation split, multi-provider support table.
v1.3.0
Cleaner layout: author info moved to bottom, rule of thumb promoted to top, tighter copy.
v1.2.0
- Clarified and simplified the skill's description for broader understanding. - Emphasized that most interactions use the cheaper Haiku model, with Sonnet only for complex tasks. - Updated savings estimate to "50%+" to reflect typical conversation patterns. - Improved multilingual (English/Chinese) explanations and user guidance. - No core logic changes—documentation update only.
v1.1.0
Added bilingual description (EN/中文). Author: 小安 Ann Agent, Taiwan 台灣.
v1.0.1
By Ann Agent from Taiwan. Auto-detect task complexity, save up to 75% on API costs.
v1.0.0
Initial release - auto-detect task complexity, use cheap models for simple tasks, save up to 75% on API costs.
Metadata
Slug save-money
Version 4.2.0
License
All-time Installs 250
Active Installs 29
Total Versions 16
Frequently Asked Questions

What is Save Money?

Auto-detect task complexity for Claude models (Haiku + Sonnet). Route simple tasks to Haiku, escalate complex ones to Sonnet. Save 50%+ on API costs. | 適用 Claude 模型(Haiku + Sonnet),自動偵測任務難度,簡單用 Haiku,複雜升級 Sonnet,輕鬆省下 50% 以上的費用。— RULES: Before responding, classify the task. If it matches an escalation trigger, call sessions_spawn with the full task and model anthropic/claude-sonnet-4-20250514 IMMEDIATELY. Do NOT answer complex tasks yourself. ESCALATE: analysis, comparisons, planning, strategy, code >10 lines, reports, proposals, multi-step reasoning, tables, outlines, charts, long writing >3 paragraphs, summarization, long translation. NEVER on Haiku: comparison tables, code >10 lines, multi-step analysis, reports, complex reasoning. STAY on Haiku: factual Q&A, definitions, greetings, reminders, short lookups, casual chat, 1-2 sentence tasks. When in doubt, escalate. Keep Haiku replies concise. It is an AI Agent Skill for Claude Code / OpenClaw, with 6613 downloads so far.

How do I install Save Money?

Run "/install save-money" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Save Money free?

Yes, Save Money is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Save Money support?

Save Money is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Save Money?

It is built and maintained by peterokase42 (@peterokase42); the current version is v4.2.0.

💬 Comments