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.