context-budget
Skill1 starsChanged 5 months agoMITView on GitHub
Audit token consumption across all loaded components — skills, agents, MCP tools, rules, hooks
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 46 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run these in parallel:
- Distinctive: line 65
Keep MCP servers under 10 enabled / under 80 total tools
- Distinctive: line 67
Consider disabling MCP servers you use < once/week
- Distinctive: line 68
Check if any plugins overlap in functionality
“Common” is measured: kept by at least 6 in 10 of the 46 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context Budget Audit
Estimate how much of your context window is consumed by the agent harness infrastructure vs actual work.
When to Use
- Context feels heavy or compacting frequently
- Adding new skills/MCPs and want to know the cost
- Optimizing which components stay loaded
Process
1. Inventory All Loaded Components
Run these in parallel:
MCP Tools:
# Count MCP tools (each tool ≈ 500 tokens for schema)
cat ~/.claude/settings.json | python3 -c "
import json, sys
d = json.load(sys.stdin)
# Count enabled plugins
plugins = {k:v for k,v in d.get('enabledPlugins',{}).items() if v}
print(f'Enabled plugins: {len(plugins)}')
for p in plugins: print(f' - {p}')
"Skills loaded in CLAUDE.md: Count skill references in CLAUDE.md capability routing table. Each skill listing in the system prompt ≈ 100-200 tokens.
Agent definitions:
Each agent defined in ~/.claude/agents/ ≈ 300-800 tokens when loaded.
Hook definitions: Each hook in settings.json ≈ 50-100 tokens.
2. Estimate Token Budget
| Component | Per-Unit Estimate | Count | Total |
| MCP tool schema | ~500 tokens | ? | ? |
| Skill listing (system prompt) | ~150 tokens | ? | ? |
| Agent definition | ~500 tokens | ? | ? |
| Hook definition | ~75 tokens | ? | ? |
| CLAUDE.md | measure directly | 1 | ? |
| MEMORY.md | measure directly | 1 | ? |
Key insight from ECC: "Your 200k context window before compacting might only be 70k with too many tools enabled."
3. Classify Components
For each component, classify:
- Always: Core workflow, used every session
- Sometimes: Domain-specific, used in certain projects
- Rarely: Niche, could be loaded on-demand
4. Recommendations
- Keep MCP servers under 10 enabled / under 80 total tools
- Move "Rarely" skills to on-demand invocation
- Consider disabling MCP servers you use < once/week
- Check if any plugins overlap in functionality
Output Format
CONTEXT BUDGET AUDIT — {date}
═══════════════════════════════
Estimated infrastructure overhead: ~{N}k tokens
Estimated available for work: ~{M}k tokens ({P}% of 200k)
TOP CONSUMERS:
1. {component} — ~{N} tokens
2. {component} — ~{N} tokens
...
RECOMMENDATIONS:
- {action}Other versions50 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 50
- misskey-dev/misskey★ 11ksame name
- poshan0126/dotclaude★ 871same name
- coco-research/coco★ 797same name
- OneWave-AI/claude-skills★ 378same name
- loulanyue/awesome-claude-notes★ 272same name
- Fmarzochi/EGC★ 61same name
- felvieira/claude-skills-fv★ 27same name
- Fadi88/one-man-startup★ 16same name
- tellmefrankie/ai-investment-skills★ 14same name
- woxiangyangzhimao/skills★ 14same name
40 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use agent-payment-x402, nuxt4-patterns and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
TironFoxSkillagent-payment-x402
Add x402 payment execution to AI agents — per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents need to pay for APIs, services, or other agents.
Also in 5 projects that use this
loulanyueSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 8 projects that use this
Exploration-labsSkilltoken-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.
Also in 10 projects that use this
loulanyueSkillsanta-method
Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.
Also in 7 projects that use this
TironFoxSkillopenclaw-persona-forge
为 OpenClaw AI Agent 锻造完整的龙虾灵魂方案。根据用户偏好或随机抽卡, 输出身份定位、灵魂描述(SOUL.md)、角色化底线规则、名字和头像生图提示词。 如当前环境提供已审核的生图 skill,可自动生成统一风格头像图片。 当用户需要创建、设计或定制 OpenClaw 龙虾灵魂时使用。 不适用于:微调已有 SOUL.md、非 OpenClaw 平台的角色设计、纯工具型无性格 Agent。 触发词:龙虾灵魂、虾魂、OpenClaw 灵魂、养虾灵魂、龙虾角色、龙虾定位、 龙虾剧本杀角色、龙虾游戏角色、龙虾 NPC、龙虾性格、龙虾背景故事、 lobster soul、lobster character、抽卡、随机龙虾、龙虾 SOUL、gacha。
Also in 4 projects that use this
renepfSkillmotion-advanced
Advanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loaders, and the full API decision tree. Requires motion-foundations.
Also in 4 projects that use this
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/deep-recon/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- algorithmic-artSkill
- api-integrationSkill
- breakdownSkill
- c4-architectSkill
- canvas-designSkill
- coding-agentsSkill
- compound-engineeringSkill
- counterfactualSkill
- critiqueSkill
- d3js-visualizationSkill
- data-analyst-agentSkill
- database-migrationsSkill
- deep-reconSkill
- design-tasteSkill
- doc-coauthoringSkill
- e2b-sandboxSkill
- ecosystem-auditSkill
- excalidraw-diagramSkill
- executing-plansSkill
- frontend-designSkill
- fullstack-agentSkill
- grillSkill
- kickoffSkill
- mcp-builderSkill
- model-migrationSkill
- naming-the-machineSkill
- full-output-enforcementSkill
- package-researchSkill
- pdf-generationSkill
- pp2pSkill
- pp3pSkill
- prompt-engineerSkill
- prompt-groundingSkill
- redesignSkill
- requesting-code-reviewSkill
- reverse-engineer-to-learnSkill
- review-changesSkill
- scratchpadSkill
- shipSkill
- slack-gif-creatorSkill
- sprint-architectSkill
- techdebtSkill
- test-and-fixSkill
- threat-modelSkill
- verification-before-completionSkill
- visual-verdictSkill
- webapp-testingSkill
- web-asset-generatorSkill
- whatdidimissSkill
- writing-plansSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

