
Token Budget Advisor
Intercepts Claude's response flow to let you pick how deep an answer you want before it starts writing. Triggers when you mention token budget, response length, or ask for a "short version" versus "exhaustive answer." Uses heuristic token estimation (no real tokenizer, roughly 85-90% accurate) to show you four depth levels with projected token counts, then responds accordingly. The 25% level gives you 2-4 sentences max, 100% holds nothing back. Honestly useful if you're token-conscious or just want control over verbosity without rephrasing your question. Maintains your choice across follow-ups in the same session. Supports Spanish variants too.
- skills.sh installs
- 5.7K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill token-budget-advisor --agent claude-codeInstalls into .claude/skills of the current project.
Files
Token Budget Advisor (TBA)
Intercept the response flow to offer the user a choice about response depth before Claude answers.
When to Use
- 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.
How It Works
Step 1 — Estimate input tokens
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.
Step 2 — Estimate response size by complexity
Classify the prompt, then apply the multiplier range to get the full response window:
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Backend & APIs, Release Management, Office & Documents, Finance & Trading
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Investor Materials5.7K
- Agent Introspection Debugging5.7K
- Laravel Verification5.7K
- Marketing Campaign5.7K
- Motion Foundations5.7K
- Kotlin Testing5.7K
- Ai Regression Testing5.7K
- Dart Flutter Patterns5.7K
- Mysql Patterns5.7K
- Production Audit5.7K
- Documentation Lookup5.7K
- Make Interfaces Feel Better5.7K
- Windows Desktop E2e5.7K
- Motion Advanced5.6K
- Cost Aware Llm Pipeline5.6K
- Mcp Server Patterns5.6K
- Council5.6K
- Fal Ai Media5.6K
- Jpa Patterns5.6K
- Mle Workflow5.6K
- Compose Multiplatform Patterns5.6K
- Llm Trading Agent Security5.6K
- Swiftui Patterns5.6K
- Github Ops5.6K