# Startup tax

> Startup tax is the tokens loaded before your first prompt - system prompt, CLAUDE.md, MCP tools, skills, auto memory - paid each session and every turn.

URL: https://bartlomiejkrupa.dev/notes/startup-tax/
Category: concept | Updated: 2026-10-07
Summary: Startup tax is the tokens loaded before your first prompt - system prompt, CLAUDE.md, MCP tools, skills, auto memory - paid each session and every turn.

**Startup tax** is everything Claude Code loads before you type: the cost of a fresh session that you pay again every time you start one.

| Surface | When loaded | Notes |
| --- | --- | --- |
| System prompt | Session start | Core behavior, tool-use instructions |
| Project-root `CLAUDE.md` | Session start | Re-injected from disk after compaction |
| [Auto memory](/notes/auto-memory) (`MEMORY.md`) | Session start | First 200 lines or 25KB, whichever smaller |
| MCP tool names | Session start | Full schemas deferred by default |
| Skill descriptions | Session start | One-line index; bodies load on invocation |
| Output style / `--append-system-prompt` | Session start | Both enter the system prompt |

## How to keep it lean

The tax is continuous because `CLAUDE.md` competes with your task on every turn of the [agentic loop](/notes/agentic-loop). Keep it [universal-only](/notes/claude-md-universal-only): Anthropic's docs target under 200 lines; this site's own production file stays under 60. Include only what the agent cannot infer.

- Set `disable-model-invocation: true` on skills you invoke manually so descriptions stay out of the startup index until you run `/skill-name`.
- Disconnect unused MCP servers instead of leaving their names in startup context.
- Run `/context` for the live breakdown; `/memory` to see which files loaded at startup.

Full map: [How Claude Code's agentic loop fills your context window](/articles/claude-code-agentic-loop-context).

Sources:
- How Claude remembers your project: https://code.claude.com/docs/en/memory
- Explore the context window: https://code.claude.com/docs/en/context-window
- Best practices for Claude Code: https://code.claude.com/docs/en/best-practices
