Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Token Budget Planning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-token-budget-planning)
---
name: token-budget-planning
description: "Plan token budgets for LLM features and agent sessions: context allocation, output limits, caching and cost per request."
tags: [ai-agents, context]
---
# Token Budget Planning
## When to use
- Designing LLM features
- Agent sessions hitting limits or costs
## Procedure
1. Estimate tokens for system prompt, context, history and output
2. Reserve headroom for tools and retries
3. Cache stable prefixes
4. Summarise or retrieve instead of stuffing history
5. Set max tokens and alerts on spend
## Checklist
- [ ] Cost per request known
- [ ] Limits enforced
## Anti-patterns
- Sending entire documents when retrieval would do