Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/myagent:costThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
控制 LLM Agent 运行成本:选择模型、管理预算、优化缓存、及时停止。
控制 LLM Agent 运行成本:选择模型、管理预算、优化缓存、及时停止。
snippets/cost/tiered-pricing.ts — 定价层级 + 成本追踪 + 快速模式 + 预算硬限制snippets/loop/token-budget.ts — Token 预算 + 收益递减检测snippets/streaming/cache-stability.ts — Cache 经济学 + TTL 选择| 错误 | 后果 | 正确做法 |
|---|---|---|
| 无预算上限 | 失控烧钱 | --max-budget-usd |
| 子代理用旗舰 | 成本爆炸 | Flag 路由便宜模型 |
| Cache 不稳定 | 浪费写入费 | 固定排序 + 锁定 |
| 无收益递减 | 低效循环 | 3次 × <500 停止 |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub dongliutony/myagent-skill --plugin myagent