claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Integrations & Connectors

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, statusli…

// Integrations & Connectors[ cli ][ api ][ desktop ][ web ][ mobile ][ claude ]#claude#claude-code#claude-code-system-prompts#system-prompts#integrationsMIT$open-sourceupdated 15 days ago
Actively maintained
100/100
last commit 2 days ago
last release 2 days ago
releases 177
open issues 4
// install
git clone https://github.com/Piebald-AI/claude-code-system-prompts
claude-code-system-prompts

Check out Piebald

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

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

hero

Claude Code System Prompts

[!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.186 (June 22nd, 2026). It also contains a CHANGELOG.md for the system prompts across 216 versions since v2.0.14. From the team behind claude-code-system-prompts 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:

  • 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—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

Data

The content of various template files embedded in Claude Code.

System Prompt

Parts of the main system prompt.

view the full README on GitHub.

// compatibility

Platformscli, api, desktop, web, mobile
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageJavaScript

// faq

What is 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, statusline, magic docs, WebFetch, Bash cmd, security review, agent creation). Updated for each Claude Code version.. It is open-source on GitHub.

Is claude-code-system-prompts free to use?

claude-code-system-prompts is open-source under the MIT license, so it is free to use.

What category does claude-code-system-prompts belong to?

claude-code-system-prompts is listed under automation in the Claudeers registry of Claude-compatible tools.

1 views
11,624 stars
unclaimed
updated 15 days ago

// embed badge

claude-code-system-prompts on Claudeers
[![Claudeers](https://claudeers.com/api/badge/claude-code-system-prompts.svg)](https://claudeers.com/claude-code-system-prompts)

// retro hit counter

claude-code-system-prompts hit counter
[![Hits](https://claudeers.com/api/counter/claude-code-system-prompts.svg)](https://claudeers.com/claude-code-system-prompts)

// reviews

// guestbook

0/500

// related in Integrations & Connectors

🔓

Use claude code and codex for free in the terminal, VSCode extension, and discord like OpenClaw (voice supported)

// integrationsAlishahryar1/Python39,205MIT[ claude ]
🔓

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat…

// integrationschenhg5/Go13,605[ claude ]
🔓

Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig

// integrationsnullclaw/Zig7,737MIT[ claude ]
🔓

Klavis AI: MCP integration platforms that let AI agents use tools reliably at any scale

// integrationsKlavis-AI/Python5,763Apache-2.0[ claude ]

// built by

→ see how claude-code-system-prompts connects across the ecosystem