token-budget-advisor
Offer a choice of response depth (25%/50%/75%/100%) with token estimates before answering, then answer at that level. Use when the user asks to control response length or token budget, such as 'token budget', 'short version', 'brief answer', 'respuesta corta vs larga', 'cuántos tokens', 'ahorrar tokens', 'responde al 50%', 'dame la versión corta', 'quiero controlar cuánto usas'. Skip if depth is already set this session or 'token' means an auth/payment token.
原文 · 译文未通过检查适用对象:商业服务。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看原文
原文涵盖的主题
- Token Budget Advisor (TBA)
- When to Use
- How It Works
- Step 1 — Estimate input tokens
- Step 2 — Estimate response size by complexity
- Step 3 — Present depth options
- Step 4 — Respond at the chosen level
- Shortcuts — skip the question
Intercept the response flow to offer the user a choice about response depth before Claude answers. User wants to control how long or detailed a response is User mentions tokens, budget, depth, or response length User says "short version", "tldr", "brief", "al 25%", "exhaustive", etc. Any time the user wants to choose depth/detail level upfront Do not trigger when: user already set a level this session (maintain it silently), or the answer is trivially one line. Use the repository's canonical context-budget heuristics to estimate the prompt's token count mentally. Use the same calibration guidance as context-budget: prose: words × 1.3 code-heavy or mixed/code blocks: chars / 4 For mixed content, use the dominant content type and keep the estimate heuristic. Classify the prompt, then apply the multiplier range to get the full response window: | Complexity | Multiplier range | Example prompts | |--------------|------------------|------------------------------------------------------| | Simple | 3× – 8× | "What is X?", yes/no, single fact | | Medium | 8× – 20× | "How does X work?" | | Medium-High | 10× – 25× | Code request with context | | Complex | 15× – 40× | Multi-part analysis, com
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- skills/token-budget-advisor/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T16:01:00.647Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。