All parts of Claude Code's system prompt, 24 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.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
{
"mcpServers": {
"claude-code-system-prompts": {
"command": "node",
"args": ["/path/to/claude-code-system-prompts/dist/index.js"]
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows).<placeholder> values with your API keys or paths.Resumen de Awesome Lists
<div> <div align="right"> <a href="https://piebald.ai"><img width="200" top="20" align="right" src="https://github.com/Piebald-AI/.github/raw/main/Wordmark.svg"></a> </div> <div align="left"> ### Check 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.**](#claude-code-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 [](https://github.com/hesreallyhim/awesome-claude-code) > [!important] > **NEW (January 23, 2026): We've added all of Claude Code's ~40 system reminders to this list—see [System Reminders](#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.120](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.120) (April 24th, 2026).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 162 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.**](https://piebald.ai/) **This repository is updated within minutes of each Claude Code release. See the [changelog](./CHANGELOG.md), and follow [@PiebaldAI](https://x.com/PiebaldAI) on X for a summary of the system prompt changes in each release.** > [!note] > ⭐ **Star** this repository to get notified about new Claude Code versions. For each new Claude Code version, we create a release on GitHub, which will notify all users who've starred the repository. --- 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`, and `TodoWrite`, 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.md` generation, 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://github.com/Piebald-AI/tweakcc).** It— > - lets you customize the the individual pieces of the system prompt as markdown files, and then > - patches your npm-based or native (binary) Claude Code installation with them, and also > - provides diffing and conflict management for when both you and Anthropic have conflicting modifications to the same prompt file. ## Extraction This repository contains the system prompts extracted using a script from the latest npm version of Claude Code. As they're extracted directly from Claude Code's compiled source code, they're guaranteed to be exactly what Claude Code uses. If you use [tweakcc](https://github.com/Piebald-AI/tweakcc) to customize the system prompts, it works in a similar way—it patches the exact same strings in your local installation as are extracted into this repository. ## Prompts Note that some prompts contain interpolated bits such as builtin tool name references, lists of available sub agents, and various other context-specific variables, so the actual counts in a particular Claude Code session will differ slightly—likely not beyond ±20 tokens, however. ### Agent Prompts Sub-agents and utilities. #### Sub-agents - [Agent Prompt: Explore](./system-prompts/agent-prompt-explore.md) (**575** tks) - System prompt for the Explore subagent. - [Agent Prompt: Plan mode (enhanced)](./system-prompts/agent-prompt-plan-mode-enhanced.md) (**715** tks) - Enhanced prompt for the Plan subagent. #### Creation Assistants - [Agent Prompt: Agent creation architect](./system-prompts/agent-prompt-agent-creation-architect.md) (**1110** tks) - System prompt for creating custom AI agents with detailed specifications. - [Agent Prompt: CLAUDE.md creation](./system-prompts/agent-prompt-claudemd-creation.md) (**384** tks) - System prompt for analyzing codebases and creating CLAUDE.md documentation files. - [Agent Prompt: Status line setup](./system-prompts/agent-prompt-status-line-setup.md) (**2120** tks) - System prompt for the statusline-setup agent that configures status line display. #### Slash Commands - [Agent Prompt: /batch slash command](./system-prompts/agent-prompt-batch-slash-command.md) (**1106** tks) - Instructions for orchestrating a large, parallelizable change across a codebase. - [Agent Prompt: /rename auto-generate session name](./system-prompts/agent-prompt-rename-auto-generate-session-name.md) (**80** tks) - Prompt used by /rename (no args) to auto-generate a kebab-case session name from conversation context. - [Agent Prompt: /review-pr slash command](./system-prompts/agent-prompt-review-pr-slash-command.md) (**211** tks) - System prompt for reviewing GitHub pull requests with code analysis. - [Agent Prompt: /schedule slash command](./system-prompts/agent-prompt-schedule-slash-command.md) (**3130** tks) - Guides the user through scheduling, updating, listing, or running remote Claude Code agents on cron triggers via the Anthropic cloud API. - [Agent Prompt: /security-review slash command](./system-prompts/agent-prompt-security-review-slash-command.md) (**2521** tks) - Comprehensive security review prompt for analyzing code changes with focus on exploitable vulnerabilities. #### Utilities - [Agent Prompt: Auto mode rule reviewer](./system-prompts/agent-prompt-auto-mode-rule-reviewer.md) (**257** tks) - Reviews and critiques user-defined auto mode classifier rules for clarity, completeness, conflicts, and actionability. - [Agent Prompt: Background agent state classifier](./system-prompts/agent-prompt-background-agent-state-classifier.md) (**848** tks) - Classifies the tail of a background agent transcript as working, blocked, done, or failed and returns concise state JSON. - [Agent Prompt: Bash command description writer](./system-prompts/agent-prompt-bash-command-description-writer.md) (**207** tks) - Instructions for generating clear, concise command descriptions in active voice for bash commands. - [Agent Prompt: Bash command prefix detection](./system-prompts/agent-prompt-bash-command-prefix-detection.md) (**823** tks) - System prompt for detecting command prefixes and command injection. - [Agent Prompt: Claude guide agent](./system-prompts/agent-prompt-claude-guide-agent.md) (**734** tks) - System prompt for the claude-guide agent that helps users understand and use Claude Code, the Claude Agent SDK and the Claude API effectively. - [Agent Prompt: Coding session title generator](./system-prompts/agent-prompt-coding-session-title-generator.md) (**181** tks) - Generates a title for the coding session. - [Agent Prompt: Conversation summarization](./system-prompts/agent-prompt-conversation-summarization.md) (**1121** tks) - System prompt for creating detailed conversation summaries. - [Agent Prompt: Determine which memory files to attach](./system-prompts/agent-prompt-determine-which-memory-files-to-attach.md) (**265** tks) - Agent for determining which memory files to attach for the main agent. - [Agent Prompt: Dream memory consolidation](./system-prompts/agent-prompt-dream-memory-consolidation.md) (**859** tks) - Instructs an agent to perform a multi-phase memory consolidation pass — orienting on existing memories, gathering recent signal from logs and transcripts, merging updates into topic files, and pruning the index. - [Agent Prompt: Dream memory pruning](./system-prompts/agent-prompt-dream-memory-pruning.md) (**456** tks) - Instructs an agent to perform a memory pruning pass by deleting stale or invalidated memory files and collapsing duplicates in the memory directory. - [Agent Prompt: General purpose](./system-prompts/agent-prompt-general-purpose.md) (**285** tks) - System prompt for the general-purpose subagent that searches, analyzes, and edits code across a codebase while reporting findings concisely to the caller. - [Agent Prompt: Hook condition evaluator (stop)](./system-prompts/agent-prompt-hook-condition-evaluator-stop.md) (**145** tks) - System prompt for evaluating hook conditions, specifically stop conditions, in Claude Code. - [Agent Prompt: Managed Agents onboarding flow](./system-prompts/agent-prompt-managed-agents-onboarding-flow.md) (**2525** tks) - Interactive interview script that walks users through configuring a Managed Agent from scratch — selecting tools, skills, files, environment settings — and emits setup and runtime code. - [Agent Prompt: Memory synthesis](./system-prompts/agent-prompt-memory-synthesis.md) (**443** tks) - Subagent that reads persistent memory files and returns a JSON synthesis of only the information relevant to each query, with cited filenames. - [Agent Prompt: Onboarding guide generator](./system-prompts/agent-prompt-onboarding-guide-generator.md) (**1135** tks) - Co-authors a team onboarding guide (ONBOARDING.md) for new Claud
Lo que la gente pregunta sobre claude-code-system-prompts
¿Qué es Piebald-AI/claude-code-system-prompts?
+
Piebald-AI/claude-code-system-prompts es awesome lists para el ecosistema de Claude AI. All parts of Claude Code's system prompt, 24 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. Tiene 9.6k estrellas en GitHub y se actualizó por última vez 2d ago.
¿Cómo se instala claude-code-system-prompts?
+
Puedes instalar claude-code-system-prompts clonando el repositorio (https://github.com/Piebald-AI/claude-code-system-prompts) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar Piebald-AI/claude-code-system-prompts?
+
Nuestro agente de seguridad ha analizado Piebald-AI/claude-code-system-prompts y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene Piebald-AI/claude-code-system-prompts?
+
Piebald-AI/claude-code-system-prompts es mantenido por Piebald-AI. La última actividad registrada en GitHub es de 2d ago, con 3 issues abiertos.
¿Hay alternativas a claude-code-system-prompts?
+
Sí. En ClaudeWave puedes explorar awesome lists similares en /categories/awesome, ordenados por popularidad o actividad reciente.
Despliega claude-code-system-prompts en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/piebald-ai-claude-code-system-prompts)<a href="https://claudewave.com/repo/piebald-ai-claude-code-system-prompts"><img src="https://claudewave.com/api/badge/piebald-ai-claude-code-system-prompts" alt="Featured on ClaudeWave — Piebald-AI/claude-code-system-prompts" width="320" height="64" /></a>Más Awesome Lists
Your ultimate Go microservices framework for the cloud-native era.
A collection of projects showcasing RAG, agents, workflows, and other AI use cases
List of free GPTs that doesn't require plus subscription
A curated list of Claude Skills.
🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.
This repo includes Claude prompt curation to use Claude better.