peterokase42

Save Money

AI 智能体v4.2.0
作者:peterokase42更新于 2026-05-11共 16 个版本 · 最新版本发布于 2026-01-29save-money@clawhub_peterokase42/save-money
任务自动化工作流编排

据 AlphaMoat 统计,截至 2026-10,Save Money 累计下载 18,598 次、获 25 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 1,515 位,在「AI 智能体」分类(1,632 个)中排名第 213 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
1.9万
星标
25
全站下载量排名
#1,515
全站前 14% · 「AI 智能体」前 14%
平台累计下载星标评论
ClawHub ↗7,469253
SkillHub ↗1.9万25—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

技能要求在作答前先判断任务是否命中升级条件:对比分析、规划、长文写作、代码生成、多步推理等命中后立即调用 sessions_spawn 交给更强模型,否则留在当前模型直接回答。它把「先分类再作答」定为强制步骤,并列出必须升级与可以留在轻量模型的任务类型。

资料发布于 2026-10-27

可以用来做什么

  • 为 agent 增加一道任务分级判断,决定是否换用更强模型
  • 整理哪些请求类型应当升级、哪些可以直接在默认模型回答

什么时候用

  • 默认使用轻量模型,但希望复杂请求不被勉强回答时
  • 想统一一套模型升级判定标准时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

按这套升级规则判断「帮我比较两种数据库方案」应该留在当前模型还是升级
把升级触发条件改写成一份可以放进提示词的分级清单

月度数据趋势

累计下载1.9万
7,3471.3万1.9万2026-03 · 累计下载 8,1802026-05 · 累计下载 9,1482026-06 · 累计下载 9,3022026-07 · 累计下载 9,4912026-08 · 累计下载 9,6742026-09 · 累计下载 1.1万2026-10 · 累计下载 1.9万26-0326-0926-10
星标25
2425252026-03 · 星标 242026-05 · 星标 242026-06 · 星标 252026-07 · 星标 252026-08 · 星标 252026-09 · 星标 252026-10 · 星标 2526-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-101.9万—25
2026-091.1万—25
2026-089,674+1.9%25
2026-079,491+2.0%25
2026-069,302+1.7%25
2026-059,148—24
2026-038,180—24

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

8.1 KB · ClawHub v4.2.0
---
name: 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,
展开全部(共 165 行)
  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.
author: "小安 Ann Agent — Taiwan 台灣"
homepage: https://github.com/peterann/save-money
metadata:
  clawdbot:
    emoji: "🧠"
---

# Save Money

Run on **Haiku** by default. Only spawn **Sonnet** when the task actually needs it. Save **50%+** on API costs.

## CRITICAL: Classify First, Then Act

Before generating ANY response, you MUST:

1. Check: does this task match ANY escalation trigger below?
2. If YES → call `sessions_spawn()` IMMEDIATELY. Do NOT attempt to answer yourself.
3. If NO → respond directly on the current model.

When in doubt, escalate. A wrong escalation only costs a few cents. A bad answer on Haiku wastes the user's time.

## Rule of Thumb

> If a human would need more than 30 seconds of focused thinking, escalate.
>
> 如果一個人需要超過 30 秒的專注思考才能完成,就升級模型。

## When to Escalate → MUST call sessions_spawn

If the task matches ANY of the following, do NOT answer yourself.
Instead, IMMEDIATELY call:

```
sessions_spawn(
  message: "<the full task description>",
  model: "anthropic/claude-sonnet-4-20250514",
  label: "<short task label>"
)
```

### Escalation triggers

- **Analysis & evaluation** — compare options, assess trade-offs, review documents
- **Planning & strategy** — project plans, roadmaps, business models, architecture
- **Long-form writing** — reports, proposals, articles, presentations, emails > 3 paragraphs
- **Code generation** — write functions, build features, refactor, debug complex issues
- **Multi-step reasoning** — anything with "first... then... finally" or numbered steps
- **Summarize large content** — long documents, full articles, meeting transcripts
- **Long translation** — paragraphs or full documents (not single sentences)
- **Creative writing** — copywriting, ad scripts, naming with brand constraints
- **Structured output** — tables, outlines, formatted documents, comparison charts

### By how people actually ask

| Language | Escalate — real examples |
|----------|--------------------------|
| English | "Can you analyze this for me?", "Write me a report on...", "Help me plan...", "What are the pros and cons?", "Build a script that...", "Compare A vs B", "Step by step, how do I...", "Draft a proposal for..." |
| 繁體中文 | "欸幫我看一下這個報告", "幫我想一下怎麼回客戶", "這兩個方案哪個比較好", "寫一封信給老闆", "幫我整理一下這份資料", "我該怎麼處理這個問題", "可以幫我寫一個程式嗎", "幫我規劃一下行程", "有什麼辦法可以改善", "這個東西要怎麼設計比較好" |
| 日本語 | "これを分析してもらえますか", "レポートを書いてください", "計画を立ててほしい", "AとBを比較して", "コードを書いてほしい", "この資料をまとめて", "提案書を作って", "どうすればいいか考えて" |
| 한국어 | "이거 분석해줘", "보고서 작성해줘", "계획 세워줘", "A랑 B 비교해줘", "코드 짜줘", "이 자료 정리해줘", "제안서 만들어줘", "어떻게 하면 좋을까?" |
| Deutsch | "Kannst du das analysieren?", "Schreib mir einen Bericht", "Hilf mir das zu planen", "Vergleich A mit B", "Schreib ein Skript für...", "Fass das zusammen", "Wie soll ich das lösen?", "Erstell einen Entwurf" |

### By complexity signals

- Prompt is longer than 200 characters with specific requirements
- Contains multiple conditions or constraints
- Asks for structured output (tables, outlines, formatted documents)
- Professional context: proposal, presentation, resume, contract

## NEVER do this on Haiku

- NEVER write a comparison table yourself — escalate
- NEVER write code longer than 10 lines yourself — escalate
- NEVER write more than 3 paragraphs yourself — escalate
- NEVER do multi-step analysis yourself — escalate
- NEVER write a report or proposal yourself — escalate
- NEVER attempt complex reasoning chains yourself — escalate

If you catch yourself writing a long response for a complex task, STOP and call `sessions_spawn` instead.

## When to Stay on Haiku

- **Factual Q&A** — "what is X", "who is Y", "when did Z happen"
- **Quick lookups** — definitions, short translations (single sentences), unit conversions
- **Memory & reminders** — "remember this", "remind me to..."
- **Casual conversation** — greetings, small talk, jokes
- **Status checks** — "what's on my calendar", simple file reads
- **One-liner tasks** — anything answerable in 1-2 sentences

| Language | Stay — real examples |
|----------|----------------------|
| English | "What's the weather?", "Remind me at 3pm", "What does OKR mean?", "Translate: thank you", "Hey what's up" |
| 繁體中文 | "今天天氣怎樣", "幫我記一下明天要開會", "這個字什麼意思", "現在幾點", "嗨", "謝謝", "OK", "查一下匯率", "翻譯一下 thank you" |
| 日本語 | "天気は?", "意味を教えて", "これ何?", "おはよう", "リマインドして", "ありがとう" |
| 한국어 | "날씨 어때?", "뜻이 뭐야?", "이게 뭐야?", "안녕", "알림 설정해줘", "고마워" |
| Deutsch | "Wie ist das Wetter?", "Was bedeutet das?", "Was ist das?", "Hallo", "Erinner mich um 3", "Danke" |

## Save even more: keep responses short

When on Haiku, keep replies concise. Fewer output tokens = lower cost.

- Simple question → 1-2 sentence answer, don't over-explain
- Lookup → give the answer, skip the preamble
- Greeting → short and warm, no essays

## Save even more: de-escalate

If a conversation was escalated to Sonnet but the follow-up is simple, **switch back to Haiku**.

- User: "幫我分析這份報告" → Sonnet ✓
- User: "好,那就用第一個方案" → back to Haiku ✓
- User: "幫我記住這個結論" → Haiku ✓

Don't stay on the expensive model just because the conversation started there.

Return the result directly. Do NOT mention the model switch unless the user asks.

## Other providers

This skill is written for Claude (Haiku + Sonnet). Swap model names for other providers:

| Role | Claude | OpenAI | Google |
|------|--------|--------|--------|
| Cheap (default) | `claude-3-5-haiku` | `gpt-4o-mini` | `gemini-flash` |
| Strong (escalate) | `claude-sonnet-4` | `gpt-4o` | `gemini-pro` |

---

## Why the description field is so long

The Clawdbot skill system only injects the frontmatter `description` field
into the system prompt — the body of SKILL.md is **not** automatically
included. The model may optionally `read` the full file, but it is not
guaranteed. Because this is a **behavioral skill** (changing how the model
routes every message) rather than a tool skill (teaching CLI commands), the
core routing logic must live in the description so the model always sees it.

The body above serves as extended documentation: detailed trigger lists,
multilingual examples, and usage tips that the model can reference if it
reads the file.

**TL;DR:** `description` = what the model always sees. `body` = reference docs.

---

*小安 Ann Agent — Taiwan 台灣*
*Building skills and local MCP services for all AI agents, everywhere.*
*為所有 AI Agent 打造技能與在地 MCP 服務,不限平台。*

「AI 智能体」分类下的热门技能

peterokase42 的其他技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。