claude-code-system-prompts
Reverse-engineered internal system prompts from every Claude Code version.
Reverse-engineered internal system prompts from every Claude Code version.
What it is
Reverse-engineered collection of every internal Claude Code system prompt โ 110+ prompts across 142 versions, with changelog and diffs. You see exactly how Claude Code works under the hood and can tune your CLAUDE.md around it.
Install / Setup
No install โ it's a reference repo to read through.
Link: github.com/Piebald-AI/claude-code-system-prompts
Prompt version โ when you want to learn something specific:
Look at https://github.com/Piebald-AI/claude-code-system-prompts and pull the 5 most important things I should know from the current system prompts to write a better CLAUDE.md. Specifically: which patterns/rules does Anthropic use that I should steal?
What you'll find
- Every system prompt from every Claude Code version
- Changelog with diffs between versions
- Tool definitions and internal logic
Liking this?
Inside the community I show you how I run all of this day-to-day โ live sessions, direct feedback on your setup, and my full configs.
Use cases
- Tune your CLAUDE.md โ See which rule patterns Anthropic uses internally and copy the approach.
- Debug why Claude did that โ Behavior looks weird? Read it in the system prompt.
- Learn prompt engineering โ Anthropic's own prompts are a free textbook.
- Track version diffs โ New Claude Code version, behavior changed? The diff tells you why.
Pro tip
Don't just copy-paste. The internal prompts are built for the agent loop โ your CLAUDE.md is additive on top. Pick individual patterns (how they describe tool usage, how they phrase a "refuse") and steal the style, not the content.
๐ Installing skills is step one. Knowing which ones to use when โ that's the real edge. In the community I show you my full skill setup and how I use it every day. โ Join the Claude Code Mastery Community
Updated regularly โ follow @vine.codes for more.
Want more?