Token Budget Advisor
Offers a depth menu with token estimates before answering, then responds at the chosen level.
- CCM score
- 67 of 100
- skills.sh installs
- 11.3K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a four-level depth choice (25%, 50%, 75%, 100%), each with an estimated response token range shown before the answer
- Estimates input tokens with prose and code heuristics (
words × 1.3orchars / 4) and scales by a complexity multiplier table - Skips the prompt when a depth is already set this session or the user names a level, such as "short version" or "100% depth"
- Designed for users who want to control response length and cost, and excludes auth or payment "token" references
Install
$ npx -y skills add affaan-m/ecc --skill token-budget-advisor -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/affaan-m/ecc
- Category
- Memory & Context
- First seen
- Jul 14, 2026
Questions
What does the token-budget-advisor skill do?
It offers a choice of response depth at 25%, 50%, 75% or 100%, with estimated token counts, before answering. Once the user picks a level, the agent answers at that depth.
How do I control response length or token budget with this skill?
Ask for a short version, a brief answer, or a set depth such as 50% depth. The skill then shows token estimates and answers at the chosen level, and it keeps that level for the rest of the session.
How do I install the token-budget-advisor skill?
Run npx -y skills add affaan-m/ecc --skill token-budget-advisor -y in your project. The agent then gains the ability to offer depth choices before each answer.
Where does token-budget-advisor rank in the Memory & Context category?
It ranks in the top 50 of the Memory & Context category on Claude Marketplaces. It sits alongside handoff and the caveman skills, which it does not replace.
More from affaan-m/ecc
All 257- Rules Distill11.3K
- Skill Comply11.3K
- Click Path Audit11.3K
- Council11.2K
- Healthcare Phi Compliance11.2K
- Dashboard Builder11.2K
- Dart Flutter Patterns11.2K
- Santa Method11.2K
- Benchmark11.1K
- Healthcare Emr Patterns11.1K
- Safety Guard11K
- Claude Devfleet11K
- Product Lens11K
- Repo Scan11K
- Laravel Plugin Discovery11K
- Agent Introspection Debugging11K
- Agent Payment X40210.9K
- Ck10.9K
- Canary Watch10.9K
- Healthcare Cdss Patterns10.9K
- Security Bounty Hunter10.9K
- Dotnet Patterns10.9K
- Healthcare Eval Harness10.9K
- Llm Trading Agent Security10.8K
Similar to Token Budget Advisor
More Memory & Contextcost-aware-llm-pipelineSkillaffaan-m/ecc12.7K installsComposable LLM cost controls combining model routing, budget tracking, narrow retries, and prompt caching.
llm-cost-optimizerPluginalirezarezvani/claude-skills30.7K starsCut LLM API spend via model routing, prompt caching, prompt compression, and per-feature cost observability. Use when AI costs are too high, choosing between mo
Token Optimizer McpMCP serverooples595 starsToken-cost savings and cache controls for MCP clients, backed by a prompt-compression proxy and usage billing.
prompt-optimizerSkillaffaan-m/ecc14.5K installsTurns a rough prompt into a ready-to-paste optimized version, matching it to ECC commands, skills, and agents without executing the task itself.
caveman-token-optimizerSkillreason-machines/trending-skills768 installsTerse, token-cutting response style that keeps code and technical terms exact for Claude Code and Codex.
context-window-managementSkillsickn33/agentic-awesome-skills1.6K installsStrategies for managing LLM context windows through tiered selection, summarization, trimming, and position-aware prompt layout.