tellmefrankie/ai-investment-skills/context-budget
Claude Code and agent skill by tellmefrankie/ai-investment-skills
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install tellmefrankie/ai-investment-skills/context-budgetSKILL.md
The same SKILL.md was published earlier as tellmefrankie/news-engine/context-budget.
Context Budget Tracker
Know how much context window you have left before Claude loses memory mid-task. Stop getting surprised by truncation on long coding sessions.
The problem
You are 90 minutes into a refactor. Claude has read 15 files, written 400 lines, discussed 3 design decisions. Then it starts forgetting things from the beginning of the conversation. You did not know you were near the limit. Now you are.
This skill tracks your context budget and warns you before it runs out.
What it does
- Estimates tokens used so far in the current session
- Shows remaining budget as a percentage
- Recommends when to checkpoint (summarize + start fresh)
- Identifies which parts of context are most expensive (large file reads, long outputs)
- Suggests what to prune if you need to extend the session
Usage
Example Output
Checkpoint mode
When you are near the limit, this skill can generate a CHECKPOINT.md:
Output:
Paste this at the start of your next session and pick up exactly where you left off.
Budget tiers
| Usage | Status | Recommendation | |
|---|---|---|---|
| 0-50% | GREEN | No action needed | |
| 50-70% | YELLOW | Start planning checkpoint | |
| 70-85% | ORANGE | Checkpoint recommended | |
| 85-95% | RED | Checkpoint now, fresh session for next task | |
| 95%+ | CRITICAL | Summarize immediately |
Why this matters
Claude Code sessions fail gracefully — the model does not crash. But degraded context means:
- Forgetting early decisions → contradicting itself later
- Losing track of file structure already read
- Repeating tool calls for files already in context
- Subtle bugs from incomplete information
A checkpoint every 60-70% of budget prevents all of these.
Requirements
- Works with any Claude model (context window varies: Haiku 200k, Sonnet 200k, Opus 200k / 1M)
- No API keys needed — estimates based on conversation structure
- Token estimates are approximate (±15%) — treat as guidance, not precision
Free
Fully free and open source.
→ https://github.com/tellmefrankie/news-engine
Author
Built after losing 45 minutes of work when Claude forgot the first half of a refactor session. The checkpoint system saved 3 sessions in the first week of use.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcontext-budget/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tellmefrankie/ai-investment-skills/context-budget)