← Back to Skills Marketplace
peterokase42

Save Money

by peterokase42 · GitHub ↗ · v4.2.0
cross-platform ⚠ suspicious
7406
Downloads
25
Stars
0
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
Review this skill carefully before installing. It may save money on simple tasks, but it can automatically send full prompts, including sensitive business or personal content, to a spawned Sonnet session without first asking and without mentioning the switch unless you ask.
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
⚠ Credentials
The requested authority is limited to session spawning rather than OS access, but sending the full user task to a hard-coded external model/session is overbroad for sensitive prompts and can create unexpected cost.
ℹ Install Mechanism
The package contains only a Markdown SKILL.md with no executable scripts or dependencies, but it intentionally places mandatory routing logic in frontmatter so it is injected when the skill loads.
⚠ Instruction Scope
Instructions apply before any response, use broad triggers such as analysis, planning, summaries, structured output, and 'when in doubt, escalate,' and tell the agent not to mention the model switch unless asked.
ℹ Persistence & Privilege
No credential access, local file indexing, background service, or system persistence was found; the behavioral effect persists only while the skill is enabled.
⚠ Purpose & Capability
The stated purpose is coherent with routing between Haiku and Sonnet to reduce cost, but the skill requires automatic delegation of many ordinary complex requests using the full task text.
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 0
Active Installs 0
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 7406 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