Install the skill above, then run this in your AI tool:
/token-budget-advisor <your description>
About
Intercept the response flow to offer the user a choice about response depth **before** Claude answers.
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
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 answ...
Skill instructions
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.
If the user set a level earlier in the session, maintain it silently for subsequent responses unless they change it.
Precision note
This skill uses heuristic estimation — no real tokenizer. Accuracy ~85-90%, variance ±15%. Always show the disclaimer.
Examples
Triggers
"Give me the short version first."
"How many tokens will your answer use?"
"Respond at 50% depth."
"I want the exhaustive answer, not the summary."
"Dame la version corta y luego la detallada."
Does Not Trigger
"What is a JWT token?"
"The checkout flow uses a payment token."
"Is this normal?"
"Complete the refactor."
Follow-up questions after the user already chose a depth for the session
Source
Standalone skill from TBA — Token Budget Advisor for Claude Code.
Original project also ships a Python estimator script, but this repository keeps the skill self-contained and heuristic-only.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/affaan-m/token-budget-advisor/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@affaan-m/token-budget-advisor@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: 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 answ...
Preview a UI component mockup in a local browser canvas where the human directly edits it (move, resize, edit text, delete, restyle), switches mobile/desktop/custom viewports, tests it, chats with you, and clicks Save and Finish. You the...
Run aipm add @affaan-m/token-budget-advisor@1.0.0 in a project that has AIPM initialized.
Supported tools
@affaan-m/token-budget-advisor@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.