when-managing-token-budget-use-token-budget-advisor

Solid

Proactive token budget management tool for assessing usage, analyzing task complexity, generating chunking strategies, and creating execution plans that stay within budget limits

AI & Automation 335 stars 29 forks Updated today

Install

View on GitHub

Quality Score: 85/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
0
Description 5%
100

Skill Content

# Token Budget Advisor **Purpose:** Proactively manage token budgets by analyzing current usage, estimating task complexity, generating intelligent chunking strategies, prioritizing work, and creating step-by-step execution plans that stay within budget limits. ## When to Use This Skill - Before starting large or complex tasks - When approaching token budget limits - During multi-phase project planning - When tasks fail due to token exhaustion - For optimizing resource allocation - When coordinating multiple agents ## Analysis Dimensions ### 1. Budget Assessment - Current token usage vs. limits - Remaining budget calculation - Historical usage patterns - Projected usage for pending tasks - Buffer allocation for safety ### 2. Task Complexity Analysis - Token estimation by task type - Agent requirements and costs - Integration complexity - Testing overhead - Documentation needs ### 3. Chunking Strategy - Logical task boundaries - Dependency analysis - Chunk size optimization - Inter-chunk communication - State management between chunks ### 4. Priority Optimization - Critical path identification - Value vs. cost analysis - Risk assessment - Quick wins identification - Deferrable work detection ### 5. Execution Planning - Step-by-step task sequence - Budget tracking per step - Checkpoint planning - Rollback strategies - Progress monitoring ## Execution Process ### Phase 1: Budget Assessment ```bash # Initialize budget analysis npx claude-flow@alpha hooks pre-task --de...

Details

Author
aiskillstore
Repository
aiskillstore/marketplace
Created
5 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

token-budget-advisor

Proactive token budget assessment and task chunking strategy. Use this skill when queries involve multiple large file uploads, requests for comprehensive multi-document analysis, complex multi-step workflows with heavy research (10+ tool calls), phrases like "complete analysis", "full audit", "thorough review", "deep dive", or tasks combining extensive research with large output artifacts. This skill helps assess token consumption risk early and recommend chunking strategies before beginning work.

8 Updated today
freitasp1
AI & Automation Listed

token-budget-tracker

Track AI model usage, token costs, and optimize spend across agents

2 Updated 5 days ago
Silex-Research
AI & Automation Listed

token-budget-gate

Estimates token cost before a multi-step task and outputs a Green/Yellow/Red gate verdict. Tracks actual vs. estimated after completion for calibration. Triggers on "token budget", "how much will this cost", "will this be expensive", "estimate tokens", before long multi-agent tasks.

2 Updated today
chrono-meta
AI & Automation Listed

cost-tracker

Track session costs, set budget alerts, and optimize token spend. Use to check costs mid-session or set spending limits.

2,259 Updated 4 days ago
rohitg00
AI & Automation Solid

token-budget-advisor

Offers the user an informed choice about how much response depth to consume before answering. Use this skill when the user explicitly wants to control response length, depth, or token budget. TRIGGER when: "token budget", "token count", "token usage", "token limit", "response length", "answer depth", "short version", "brief answer", "detailed answer", "exhaustive answer", "respuesta corta vs larga", "cuántos tokens", "ahorrar tokens", "responde al 50%", "dame la versión corta", "quiero controlar cuánto usas", or clear variants where the user is explicitly asking to control answer size or depth. DO NOT TRIGGER when: user has already specified a level in the current session (maintain it), the request is clearly a one-word answer, or "token" refers to auth/session/payment tokens rather than response size.

201,447 Updated yesterday
affaan-m