Piebald-AI/claude-code-system-prompts

All parts of Claude Code's system prompt, 27 builtin tool descriptions, sub agent prompts (Plan/Explore/Task), utility prompts (CLAUDE.md, compact,...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 37 minutes ago
Added to GitGenius on April 23rd, 2026
Created on November 18th, 2025
Open Issues & Pull Requests: 8 (+0)
GitHub issues: Enabled
Number of forks: 2,043
Total Stargazers: 12,591 (+0)
Total Subscribers: 132 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.0 hours
Mean response time: 11.2 days
90th percentile: 32.2 days
Tracked items: 16

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 16% of issues opened in the past year have been closed. Three people close 92% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 135 days
Stale 30+ days: 4
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Claude Code System Prompts is a repository that documents and tracks all system prompts used by Claude Code, an AI-powered development tool.

The repository addresses the challenge of understanding how Claude Code operates internally. Rather than using a single monolithic system prompt, Claude Code employs over five hundred distinct prompt strings distributed across multiple contexts: conditional prompts that activate based on environment and configuration, descriptions for built-in tools like Write and Bash, separate prompts for sub-agents such as Explore and Plan, and utility prompts for functions like conversation compaction and session title generation. This repository extracts and catalogs all these prompts from Claude Code's minified JavaScript distribution, making them human-readable and trackable across versions.

Developers should adopt this repository if they want to understand Claude Code's behavior, study how Anthropic structures complex agentic systems, or maintain awareness of how the tool's instructions evolve. It suits researchers, prompt engineers, and developers building similar systems who benefit from seeing real-world examples of multi-faceted prompt architecture. The repository also serves those who need to customize Claude Code's behavior; it pairs with a companion tool that enables patching individual prompt components into local installations while managing conflicts with upstream changes.

The project maintains a detailed changelog tracking system prompt changes across versions, with updates published within minutes of each Claude Code release. The repository includes token counts for each prompt component, enabling developers to understand resource consumption. Notifications are available through GitHub releases for users who star the repository, and the maintainers actively communicate prompt changes through social media.