cost-booster-route
它能做什么
这项技能检查一批任务,并标出哪些足够简单、可以交给免费的本地转换处理。适合希望把简单工作分流出去以降低 AI 成本的人。
适用场景
- ✓当你有一批相似的编程任务,并想知道哪些需要 AI 模型时。
- ✓当成本报告显示简单编辑也大量使用了昂贵的 AI 时。
- ✓当你想获得一份简短报告,了解有多少任务可以零模型成本完成时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-booster-route/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能检查我的任务中哪些可以跳过 AI,改用简单的本地编辑完成吗?”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能把每项任务发送给一个路由工具进行分类。它将任务分为可本地处理和需要 AI 处理两类,估算 AI 部分的成本上限,并保存一份报告。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cost Booster Route
Wraps mcp__plugin_ruflo-core_ruflo__hooks_route and reports how many tasks the 3-tier router classified as Agent Booster (Tier 1) eligible. Tier 1 bypasses run as WASM transforms — no LLM call, structurally $0 cost.
When to use
Before a batch of similar tasks, or when cost-report shows Sonnet/Opus spend on descriptions that look like simple transforms (var-to-const, add-types, add-error-handling, async-await, add-logging, remove-console).
Steps
Collect tasks — single arg or recent entries from
cost-trackingviamemory_search. Cap batch at 50.Route each — call
hooks_routewith the description; capture the full response string.Partition — group by whether the response contains the literal
[AGENT_BOOSTER_AVAILABLE](Tier 1) vs. not (Tier 2/3). Extract[TASK_MODEL_RECOMMENDATION] Use model="X"when present.Compute spend — Tier 1 partition: $0. Tier 2/3 partition: per-task upper-bound from REFERENCE.md pricing × recommended model.
Report
=== Booster bypass report === Tasks analyzed: 50 Tier 1 (booster): 18 (36%) — $0.00 Tier 2/3 (LLM): 32 (64%) — $X.XX (upper-bound) Booster intents: var-to-const (8), add-types (5), remove-console (5)Persist —
memory_store --namespace cost-tracking --key "booster-route-$(date +%Y%m%d-%H%M%S)" --value '{"tier1": N, "tier2_or_3": M, ...}'socost-reportpicks up the tier signal.
Caveats — claimed upstream, not yet verified
[AGENT_BOOSTER_AVAILABLE]fires only when the upstream router populatesrouteResult.agentBoosterIntent.type(v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts:1228). The published CLI's semantic-VectorDb path does not always trigger the classifier — treat the partition as a lower bound on Tier 1 eligibility.- CLAUDE.md root claims
<1mslatency and352× fasterthan LLM.<1msand$0are structural;352×is claimed upstream, not yet verified here. Report what the router actually returns. - See
docs/benchmarks/0002-baseline.mdfor the full upstream-claims-vs-measured table.
Cross-references
ADR-0002 Decision #1 · ruflo-intelligence ADR-0001 §"Neutral" (closes the routing-outcomes loop via cost-optimize step 8) · CLAUDE.md root §"3-Tier Model Routing (ADR-026)".
常见问题
一次最多可以检查多少个任务?
这项技能将每批任务限制在 50 个以内。
成本估算准确吗?
不准确。AI 部分是基于推荐模型的标价计算出的上限估计。
报告保存在哪里?
它保存到成本追踪记忆中,以便之后的报告可以读取。
详情
作者的原始描述
Route tasks through hooks_route, partition by Agent Booster availability, and report Tier 1 bypass utilization with $0 cost
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1593
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。