技能 效率工具 AI 编程成本顾问

AI 编程成本顾问

v20261022
cost-advise
分析 Claude Code 与 Codex 使用日志,定位缓存命中率低、缓存写入未回本、子代理使用顶级模型、推理占比过高、会话臃肿等成本问题,并给出证据与假设节省金额,帮助降低 AI 编程开销。
获取技能
217 次下载
概览

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.
信息
分类 效率工具
名称 cost-advise
版本 v20261022
大小 1.15KB
更新时间 2026-10-23
语言