claude-code-system-prompts README

The project's README from github.com/Piebald-AI/claude-code-system-prompts. As one markdown file: README.md.

Check out Piebald

We've released Piebald, the ultimate agentic AI developer experience.
Download it and try it out for free! https://piebald.ai/

Join our Discord X

Scroll down for Claude Code's system prompts. :point_down:

hero

Claude Code System Prompts

Mentioned in Awesome Claude Code

[!tip] NEW (June 12, 2026): We've greatly expanded this list with many more of Claude Code's prompts—from 350 to 515 (+165)—our most complete coverage yet.

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.267 (September 9th, 2026). It also contains a CHANGELOG.md for the system prompts across 284 versions since v2.0.14. From the team behind 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.

[!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:

The result—500+ strings that are constantly changing and moving within a very large minified JS file.

[!important] Want to modify a particular piece of the system prompt in your own Claude Code installation? Use tweakcc. It—

  • lets you customize 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 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

Creation Assistants

Slash Commands

Utilities

claude-code-system-prompts (Piebald-AI/claude-code-system-prompts)

Searching Database…

Что это такое?Это репозиторий, который извлекает и публикует все части системного промпта Claude Code: его основные инструкции, описания 27 встроенных инструментов, промпты субагентов (Explore, Plan, Task) и служебные промпты (генерация CLAUDE.md, сжатие беседы, настройка statusline, WebFetch, команды Bash, проверка безопасности, создание агентов и многое другое).
Это инструмент, который я запускаю, или просто справочный список?Это справочный список и документация, а не исполняемый инструмент. Промпты извлекаются скриптом из последней версии Claude Code в npm и публикуются в виде файлов markdown с количеством токенов.
Как этим пользоваться?Просто просмотрите файлы и README репозитория, чтобы прочитать промпты и количество их токенов; ничего устанавливать или запускать самостоятельно не нужно.
Нужно ли установить Claude Code, чтобы пользоваться этим?Нет, Claude Code устанавливать не нужно; этот репозиторий лишь документирует его промпты для чтения и справки.
Будут ли промпты, которые я вижу здесь, точно совпадать с тем, что работает в моей сессии?В основном да, но некоторые промпты содержат подставляемые переменные, например имена инструментов или списки субагентов, поэтому фактическое количество токенов в сессии может отличаться примерно на ±20 токенов.
Кому это полезно?Разработчикам и исследователям, которые хотят понять, проверить или настроить внутреннюю работу промптов Claude Code.
Как организован список промптов?Он разделён на категории: Промпты агентов (субагенты вроде Explore и Plan), Помощники по созданию (CLAUDE.md, настройка statusline), слэш-команды (например, /code-review, /security-review, /simplify) и Утилиты (хуки, суммаризация, консолидация памяти). У каждого промпта есть количество токенов и краткое описание.
Как часто это обновляется?Обновление выходит в течение нескольких минут после каждого нового релиза Claude Code. Также есть файл CHANGELOG.md с историей изменений промптов по 284 версиям, начиная с v2.0.14.
Можно ли с помощью этого настроить промпты моего Claude Code?Да, связанный инструмент 'tweakcc' позволяет редактировать эти промпты как файлы markdown и внедрять их в установку Claude Code через npm или в нативную установку, при этом есть сравнение (diff) для выявления конфликтов.
Почему здесь так много отдельных системных промптов, а не один?Claude Code собирает из множества условных фрагментов промптов, описаний встроенных инструментов, промптов субагентов и служебных промптов на основе ИИ (например, сжатие беседы и генерация заголовка сессии) один большой минифицированный JS-бандл, что даёт более 500 различных, постоянно меняющихся строк.
Creator
Piebald-AI
Size
5.8 MB
Stars
12.9K
Age
11mo
Commits · 90 Days