claude-code-system-prompts
by Piebald-AI
All parts of Claude Code's system prompt, 18 builtin tool descriptions, sub agent prompts (Plan/Explore/Task), utility prompts (CLAUDE.md, compact, statusline, magic docs, WebFetch, Bash cmd, security review, agent creation). Updated for each Claude Code version.
# Add to your Claude Code skills
git clone https://github.com/Piebald-AI/claude-code-system-promptsCheck out Piebald
We've released Piebald, the ultimate agentic AI developer experience.
Download it and try it out for free! https://piebald.ai/
<a href="https://piebald.ai/discord"><img src="https://img.shields.io/badge/Join%20our%20Discord-5865F2?style=flat&logo=discord&logoColor=white" alt="Join our Discord"></a> <a href="https://x.com/PiebaldAI"><img src="https://img.shields.io/badge/Follow%20%40PiebaldAI-000000?style=flat&logo=x&logoColor=white" alt="X"></a>
<sub>Scroll down for Claude Code's system prompts. :point_down:</sub>
</div> </div> <div align="left"> <a href="https://piebald.ai"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://piebald.ai/screenshot-dark.png"> <source media="(prefers-color-scheme: light)" srcset="https://piebald.ai/screenshot-light.png"> <img alt="hero" width="800" src="https://piebald.ai/screenshot-light.png"> </picture> </a> </div>Claude Code System Prompts
[!important] NEW (January 23, 2026): We've added all of Claude Code's ~40 system reminders to this list—see System Reminders.
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of Claude Code v2.1.29 (January 31st, 2026). It also contains a CHANGELOG.md for the system prompts across 86 versions since v2.0.14. From the team behind <img src="https://github.com/Piebald-AI/piebald/raw/main/assets/logo.svg" width="15"> Piebald.
This repository is updated within minutes of each Claude Code release. See the changelog, and follow @PiebaldAI on X for a summary of the system prompt changes in each release.
Why multiple "system prompts?"
Claude Code doesn't just have one single string for its system prompt.
Instead, there are:
- Large portions conditionally added depending on the environment and various configs.
- Descriptions for builtin tools like
Write,Bash, andTodoWrite, and some are fairly large. - Separate system prompts for builtin agents like Explore and Plan.
- Numerous AI-powered utility functions, such as conversation compaction,
CLAUDE.mdgeneration, session title generation, etc. featuring their own systems prompts.
The result—110+ strings that are constantly changing and moving within a very large minified JS file.
[!TIP] Want to modify a particular piece of the system prompt in your own Claude Code installation? **Use [tweakcc](https:/...