Skip to main content
ClaudeWave
EN, English
Piebald-AI / Awesome Lists

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.

  • 13k stars
  • 2k forks
  • 9 open issues
  • Language: JavaScript
  • License: MIT
  • updated

Install

Terminal
git clone https://github.com/Piebald-AI/claude-code-system-prompts
  1. Browse the curated list on GitHub or clone it locally.
  2. Star it to keep new additions on your radar.

Editor's note

This repository collects and maintains the complete set of system prompts extracted directly from Claude Code's compiled JavaScript source, updated within minutes of each new Claude Code release. It covers over 110 distinct prompt strings, including descriptions for 27 built-in tools such as Write, Bash, and TodoWrite, system prompts for sub-agents like Explore, Plan, and Task, utility prompts for features like CLAUDE.md generation, conversation compaction, WebFetch, security review, and agent creation, and roughly 40 system reminders added in January 2026. The extraction script pulls strings directly from the npm package, guaranteeing the content matches exactly what Claude Code uses in sessions. A changelog tracks prompt evolution across 204 Claude Code versions since v2.0.14. Developers reverse-engineering Claude Code behavior, researchers studying agentic prompt design, and users who want to customize their installation via the companion tool tweakcc are the primary audience. Token counts are provided for each prompt, with the status-line setup agent prompt running 2,433 tokens as one notable example.

README

Awesome Lists overview

Full README on GitHub

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:

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.308 (October 21st, 2026). It also contains a CHANGELOG.md for the system prompts across 322 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:

  • 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
Topics
claude-codeclaude-code-system-promptssystem-prompts
Frequently asked

What people ask about claude-code-system-prompts

What is Piebald-AI/claude-code-system-prompts?

Piebald-AI/claude-code-system-prompts is awesome lists for the Claude AI ecosystem. 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 has 13k GitHub stars and its last recorded update is dated 2026-10-22.

How do I install claude-code-system-prompts?

You can install claude-code-system-prompts by cloning the repository (https://github.com/Piebald-AI/claude-code-system-prompts) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is Piebald-AI/claude-code-system-prompts safe to use?

Our security agent has analyzed Piebald-AI/claude-code-system-prompts and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains Piebald-AI/claude-code-system-prompts?

Piebald-AI/claude-code-system-prompts is maintained by Piebald-AI. The last recorded GitHub activity is dated 2026-10-22, with 9 open issues.

Are there alternatives to claude-code-system-prompts?

Yes. On ClaudeWave you can browse similar awesome lists at /categories/awesome, sorted by popularity or recent activity.

Maintain this repo? Show its Trust Score in your README

The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.

ClaudeWave Trust Score for Piebald-AI/claude-code-system-prompts
Markdown (README)
[![ClaudeWave Trust Score for Piebald-AI/claude-code-system-prompts](https://claudewave.com/api/badge/piebald-ai-claude-code-system-prompts)](https://claudewave.com/en/repo/piebald-ai-claude-code-system-prompts)
HTML
<a href="https://claudewave.com/en/repo/piebald-ai-claude-code-system-prompts"><img src="https://claudewave.com/api/badge/piebald-ai-claude-code-system-prompts" alt="ClaudeWave Trust Score for Piebald-AI/claude-code-system-prompts" width="320" height="64"></a>

What the badge means and how the score is computed

Alternatives