context-budget
Count what a session loads before adding another skill or MCP server. Use when the default prompt is heavy, a new server is about to be enabled, or a skill…
by frankxai★ 51 GitHub stars
Install context-budget in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Context budget for this estate
A skill that sits in the default prompt costs tokens on every turn. A skill that loads only when its description matches does not. Measure the default prompt before you add anything.
Caps already in force
- Turn-0 skill listing stays near 8,000 tokens. A listing near 18,000 is over budget.
- Skill Foundry on 2026-10-09 counted 402 Claude skills and 380 with no invocation in 30 days. Retirement of those skills is Frank's decision. Until then, new skills stay cold.
- A new skill enters the default prompt only after it has a saved eval.
- Enabled MCP servers stay under 10. Tool count stays under 80. A server that only wraps
gh,vercel, ornpxshould be a CLI call. - Keep a docs tool such as Context7. Leave Higgsfield disabled.
- The continuous-learning observer stays off until the unused skills are retired. An observer that promotes new skills into the prompt makes the budget worse.
What to report
- Servers enabled, and the tool count.
- Skills in the default prompt, and skills that have an eval.
- The one removal that frees the most tools.
- Whether the thing you wanted to add already exists under
starlight/repos.
Do not install a token-proxy product as part of this audit.
Where this came from
The inventory idea follows affaan-m/ECC skills/context-budget at 4eb71d92a39cab44ad40ac9d8a6a5ccb4029d6c2 (MIT). The caps, the Foundry counts, and the cold-skill rule are estate measurements.
Built on SIP.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- PROVENANCE.json
FAQ
What does the context-budget skill do?
Count what a session loads before adding another skill or MCP server. Use when the default prompt is heavy, a new server is about to be enabled, or a skill has never been invoked.
How do I install the context-budget skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the context-budget skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…