跳到正文
Skillpedia
其他81k · #1590

cost-advise

它能做什么

这项技能读取你过去的 AI 编程会话日志,指出可能浪费钱的地方。适合使用 AI 编程工具、希望降低账单的人。

适用场景

  • ✓当你想知道为什么 AI 使用费用一直很高时。
  • ✓当你想在不降低质量的前提下减少 AI 开支时。
  • ✓当你希望根据最近的会话获得有证据支持的建议时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-advise/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-advise/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为什么我的 AI 编程账单这么高?该怎样降低?”

每周 5 个新技能,1 分钟读完。

工作原理

你的 AI 会对最近几天的本地使用日志运行一个脚本,列出各项发现,例如已保存上下文的复用率低,或简单辅助任务使用了昂贵的模型,并附上可能节省的金额。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Cost Advise

node ${CLAUDE_PLUGIN_ROOT}/scripts/advise.mjs --since 7d

Rules for presenting findings

  • Savings are what-if repricings of the same tokens at another rate. They say nothing about quality; tell the user to spot-check before switching a model.
  • A finding with saving n/a has no defensible number (no measured delta exists). Do not invent one.
  • Do not change settings, models or CLAUDE.md on the user's behalf; present the action and let them choose.
  • Prefer the largest controllable lever first: cache discipline, then model tier for sub-agents, then reasoning effort, then context size.
  • Pair with cost-ledger for the totals and cost-session to drill into one expensive session.
常见问题

它会替我更改设置吗?

不会。它只展示建议的操作,由你决定。它不会代你更改模型、设置或项目记忆文件。

节省的金额有保证吗?

没有。它们是按另一费率对同样的令牌重新计价得出的估算,因此在切换模型之前,请先检查质量。

它读取哪些工具的日志?

它读取你电脑上 Claude Code 和 Codex 写入的日志。

详情

作者的原始描述

Optimisation findings from your own Claude Code and Codex logs — low cache hit ratio, 1-hour cache writes that did not pay back, sub-agents on a top-tier model, Codex reasoning share, bloated sessions — each with evidence and a what-if saving. Use when asked how to cut spend or why it is high.

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1590
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能