context-budget
БесплатноБез исполняемых скриптовНе проверенAudit token costs of the .claude/ setup — skills, agents, hooks, and AGENTS.md. Shows what's always loaded vs on-demand, flags bloat, and suggests cuts.
от nabondance★ 49 звёзд на GitHubОб этом скилле
Context Budget Audit
Run the audit script and report findings:
Execute from the repository root: bash scripts/agent/context-budget.sh
Then analyze the output:
Classify each item
- Always loaded: hook outputs (SessionStart), AGENTS.md
- On invocation: skill SKILL.md files (when
/skillcalled) - On Agent spawn: full agent .md body
Flag if over budget
- AGENTS.md > 500 tokens → summarize or split
- Any single skill > 200 tokens → trim
- Agent description line > 50 tokens → shorten
- SessionStart output > 100 tokens → slim hook script
Report format
ALWAYS LOADED AGENTS.md ~XXX tokens SessionStart.sh ~XX tokens (estimated output) ON INVOCATION (skills) /build ~XX tokens /format ~XX tokens ... ON AGENT SPAWN graphql-explorer ~XXX tokens TOTAL LOADED AT REST: ~XXX tokens RECOMMENDATIONS: ...
Установить context-budget в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл context-budget?
Audit token costs of the .claude/ setup — skills, agents, hooks, and AGENTS.md. Shows what's always loaded vs on-demand, flags bloat, and suggests cuts.
Как установить скилл context-budget?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context-budget запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic