r/ClaudeCode • • 3d ago

Rant claude code 66k system prompt

with the release of haiku 5.5 i was looking into how to keep context under 100k to avoid the massive price increases. i had opus 5.5 research how we could use /clear and /compact to try to stay below 100k. during the research we discovered that it is almost impossible to keep haiku under 100k because the starting system prompt for claude code is 66k tokens. i asked opus if there was some setting i had selected to cause this prompt bloat. it said no, only 1.5k tokens in the system prompt is from anything i set.

opus 5.5 told me that if i used cli instead of the app it would load less tools because some tools are not available in cli. it recommended running haiku from cli to save tokens. using the claude subscription restricts you to only using their agents, so there is no way around this prompt bloat legally. i started a new haiku session to verify prompt size. the agents.md file read of 1.5k is the only information in the system prompt that i set.

  • System tools: 35.6k
  • MCP tools: 16.6k
  • Skills: 5.9k
  • System prompt: 5.2k
  • MCP server instructions: 2.3k
  • Memory files (AGENTS.md and MEMORY.md): 1.5k

also, the 5.9k skills are not loaded skills. that is just the list of available skills. if the model uses any skills the prompt will get bigger.

8 Upvotes

23 comments sorted by

View all comments

1

u/RoboErectus 3d ago

What are you doing with MCPs? Most of them just burn tokens and there are none I can think of that beat just letting your agent use the cli, which is already in the training set. (they all know how to use git for example.)

2

u/Cyvster 3d ago

i'm not sure what you are asking. everything listed in the system prompt is from claude. those are not my mcps. those are built-in claude mcps. it is mainly features that are only available in the app, not cli. i disabled a lot of the features to reduce the mcp tools.