Skip to content
Back to skills

Token Budget Planning

ASecurity

Plan token budgets for LLM features and agent sessions: context allocation, output limits, caching and cost per request.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agents

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill token-budget-planning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Budget Planning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Token Budget Planning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-token-budget-planning/badge)](https://www.skillsdirectory.com/skills/karthikrshet-token-budget-planning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.