Skip to content
プロジェクト

Piebald-AI/claude-code-system-prompts

GitHubで見る

概要

Claude Codeのシステムプロンプト、組み込みツールの説明、サブエージェント用プロンプト(Plan/Explore/Task)、ユーティリティ用プロンプトをすべて収録。Claude Codeの各バージョンに合わせて更新。

開発ツール

この数値の測り方

計測したスター増加

24時間
+1
7日間
+34
15日間
+74
1か月
+189

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

[!tip] NEW! :tada: Real Claude Code Changelog

Claude Code's release notes only describe what Anthropic chooses to announce, not everything they actually change. Bug fixes sometimes ship in one version but get announced in another, and even significant features can go unmentioned entirely.

Read the changelog →

Check out Piebald

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

Join our Discord X

Scroll down for Claude Code's system prompts. 👇

Claude Code System Prompts

Mentioned in Awesome Claude Code

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.333 (November 30th, 2026). It also contains a CHANGELOG.md for the system prompts across 345 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

Utilities

Data

The content of various template files embedded in Claude Code.

System Prompt

Parts of the main system prompt.

System Reminders

Text for large system reminders.

Builtin Tool Descriptions

Additional notes for some Tool Descriptions

Skills

Built-in skill prompts for specialized tasks.

関連プロジェクトを探す

読み込み中…