From m2ai-skills-pack
Monitor and alert when Claude Code session startup overhead (plugins, skills, MCP servers, CLAUDE.md chain) exceeds a configurable token threshold. Prevents the silent context bloat that eats your working memory before you type a single prompt.
How this skill is triggered — by the user, by Claude, or both
Slash command
/m2ai-skills-pack:boot-tax-monitorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Checks your Claude Code environment's startup token cost and warns when it exceeds a safe threshold. Designed to run periodically or on-demand to catch creeping bloat.
Checks your Claude Code environment's startup token cost and warns when it exceeds a safe threshold. Designed to run periodically or on-demand to catch creeping bloat.
Use when the user says "boot tax", "startup overhead", "check my boot cost", "how heavy is my setup", "session startup cost", or wants to know how much context is consumed before they even start working.
Calculate the total token cost of everything that loads when a new Claude Code session starts:
Measure global CLAUDE.md, project-level CLAUDE.md, project .claude/CLAUDE.md, and all MEMORY.md files.
All skill description fields from SKILL.md frontmatter load into the system prompt. Count total skills and estimate combined description token weight.
Each MCP server registers tool schemas that consume tokens. Count servers and estimate ~500 tokens per tool per server (conservative).
Count total hooks across all event types.
Default thresholds (adjustable):
| Level | Token Range | Status |
|---|---|---|
| Lean | <30K | All good -- plenty of working memory |
| Normal | 30K-60K | Acceptable for power users |
| Heavy | 60K-90K | Warning -- consider trimming |
| Critical | >90K | Alert -- significant context waste |
Calculate: available_working_memory = context_limit - boot_tax
For a 200K context window:
Output a single compact report:
Boot Tax Report
===============
CLAUDE.md chain: XXK tokens
Skill descriptions: XXK tokens (N skills)
MCP tool schemas: ~XXK tokens (N servers)
Hooks: XXK tokens (N hooks)
Memory files: XXK tokens
-------------------------------
Total boot tax: XXK tokens
Context limit: 200K tokens
Working memory: XXK tokens (XX%)
Status: [LEAN / NORMAL / HEAVY / CRITICAL]
If HEAVY or CRITICAL, append the top 3 reduction opportunities with estimated savings.
If the user runs this regularly, store results to show trends:
echo "$(date -I),BOOT_TAX_TOKENS" >> ~/.claude/boot-tax-log.csv
On subsequent runs, show: Last check: YYYY-MM-DD (XXK tokens) -> Today: XXK tokens (delta)
token-burn-auditor for deep-dive analysis/loop or /schedule for periodic checkscompensating-complexity-auditor when evaluating whether skill/hook overhead is justifiedTechnique derived from Nate's Newsletter (2026-04-02): "You're Loading 66,000 Tokens of Plugins Before You Even Type" -- the "66K token" problem of invisible startup overhead.
npx claudepluginhub m2ai-mcp-servers/claude-skills --plugin m2ai-skills-packGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.