Token Budget Advisor
by @djc00p
Offer users informed choice about response depth before answering. Control token usage, response length, and answer depth. Trigger phrases: token budget, tok...
clawhub install token-budget-advisorπ About This Skill
name: token-budget-advisor description: "Offer users informed choice about response depth before answering. Control token usage, response length, and answer depth. Trigger phrases: token budget, token count, token usage, response length, short version, brief answer, detailed answer, exhaustive, save tokens. Adapted from everything-claude-code by @affaan-m (MIT)" metadata: {"clawdbot":{"emoji":"π°","requires":{"bins":[],"env":[]},"os":["linux","darwin","win32"]}}
Token Budget Advisor
Intercept response flow to let users choose depth before answering.
When to Use
Do not trigger when: user already set depth this session, or answer is trivially one line.
Depth Options
Present before answering:
Input: ~[N] tokens | Type: [type] | Complexity: [level][1] Essential (25%) -> ~[tokens] Direct answer only
[2] Moderate (50%) -> ~[tokens] Answer + context + example
[3] Detailed (75%) -> ~[tokens] Multiple examples + alternatives
[4] Exhaustive (100%) -> ~[tokens] Everything
Level Guide
| Level | Length | Include | Omit | |-------|--------|---------|------| | 25% | 2-4 sent | Direct answer, conclusion | Context, examples | | 50% | 1-3 para | Answer + context + 1 example | Deep analysis, edge cases | | 75% | Structured | Examples, pros/cons, alternatives | Extreme cases | | 100% | No limit | Everything | Nothing |
Shortcuts
If user signals depth, respond at that level immediately:
Maintain user's chosen level for rest of session unless changed.
Estimation
Heuristic-based (no real tokenizer):