Piebald-AI/claude-code-system-prompts

Description: 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 ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on April 23rd, 2026
Created on November 18th, 2025
Open Issues & Pull Requests: 8 (+0)
Number of forks: 2,015
Total Stargazers: 11,962 (+0)
Total Subscribers: 128 (+0)

Issue Activity (beta)

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

Recent activity

Opened in 7 days: 1
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.

Repository Insights (GitGenius)

Median issue/PR response: 37.7 hours
Mean response time: 16.2 days
90th percentile: 77.6 days
Tracked items: 8

Most active contributors

Detailed Description

The Claude Code System Prompts repository contains a comprehensive collection of system prompts used by Claude Code, an AI-powered development tool. This repository serves as a definitive reference for all the various prompts that power Claude Code's functionality, extracted directly from the compiled source code of the latest npm version. The repository is maintained by the team behind Piebald, an agentic AI developer experience platform, and is updated within minutes of each Claude Code release.

Claude Code does not rely on a single monolithic system prompt. Instead, it uses over 500 distinct prompt strings that are conditionally applied based on environment configuration, user context, and specific features being used. These prompts include large conditional sections, descriptions for builtin tools like Write and Bash, separate system prompts for subagents such as Explore and Plan, and numerous utility function prompts for features like conversation compaction and CLAUDE.md generation. This modular approach allows for fine-grained control over Claude Code's behavior across different scenarios and use cases.

The repository documents prompts across multiple categories. Agent prompts include subagents like Explore and Plan mode, creation assistants for generating CLAUDE.md documentation and configuring status line displays, and slash command implementations including batch operations, code review with multiple effort levels, pull request review, security analysis, and session scheduling. Each prompt entry includes token counts to help developers understand the computational cost of different features. The repository notes that actual token counts in live sessions may vary slightly due to interpolated context-specific variables, typically within a range of plus or minus twenty tokens.

According to GitGenius activity tracking, the repository has shown engagement from contributors including mike1858, Huaian666, and WEIFENG2333. The median response latency for issues and pull requests across tracked items is approximately 37.7 hours, though the mean extends to 633.6 hours, indicating variable response times. The repository is linked to related projects through overlapping contributors, including alirezarezvani/claude-skills, firecrawl/firecrawl-mcp-server, and jeffallan/claude-skills, suggesting an ecosystem of Claude-related development tools.

The repository includes a comprehensive changelog tracking system prompt changes across 227 versions since v2.0.14, with a notable expansion in June 2026 that increased documented prompts from 350 to 515 entries. This expansion reflects the growing complexity and feature set of Claude Code itself. For developers who want to customize specific pieces of the system prompt in their own installations, the repository recommends using tweakcc, a companion tool that enables markdown-based customization and patching of individual prompt components while managing conflicts with upstream Anthropic modifications.

The repository is classified across multiple domains including Claude AI, System Prompts, Code Generation, Prompt Engineering, AI Development, LLM Prompts, Software Engineering, AI Coding, and Developer Tools. The primary language is JavaScript, reflecting the npm-based distribution of Claude Code. The repository encourages users to star it for notifications about new Claude Code versions, which trigger GitHub releases that notify all watchers of system prompt changes.

claude-code-system-prompts
by
Piebald-AIPiebald-AI/claude-code-system-prompts

Repository Details

Fetching additional details & charts...