PromptsMar 29, 2026·2 min read

Claude Code System Prompts — Full Extraction

Complete extraction of all Claude Code system prompts, 18 tool descriptions, sub-agent prompts, and utility prompts. Tracked across 135+ versions.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

  1. Visit the repository
  2. Browse by category: agent prompts, system prompts, tool descriptions, system reminders
  3. Check CHANGELOG.md for version-by-version changes

To customize Claude Code's prompts locally, use tweakcc.


Intro

A complete reverse-engineering of Claude Code's internal prompts — not one monolithic prompt, but 110+ dynamic strings that change based on environment and configuration. Extracted directly from compiled source code across 135+ versions (v2.0.14 to v2.1.86+). Essential reference for anyone building Claude Code skills, custom agents, or understanding how Anthropic instructs Claude Code. 6,900+ stars.


What's Included

Agent Prompts

Sub-agent system prompts for:

  • Explore — Fast codebase exploration agent
  • Plan — Software architecture planning agent
  • Slash commands: /batch, /pr-comments, /review-pr, /schedule, /security-review
  • Utility agents: memory consolidation, security monitoring, verification

System Prompts

Core behavioral instructions covering:

  • Auto/learning/minimal/plan modes
  • Tool usage policies and priorities
  • Task execution principles
  • Code safety and security guidelines
  • Delegation and agent spawning patterns

Builtin Tool Descriptions

Complete documentation for 18+ tools:

  • Read, Edit, Write — File operations
  • Bash — Shell execution with sandbox policies
  • Grep, Glob — Code search
  • Agent — Sub-agent spawning
  • WebFetch, WebSearch — Web access
  • TodoWrite, TaskCreate — Task management
  • Computer — Browser automation

System Reminders

~40 runtime context injections:

  • File modification notifications
  • IDE interaction context
  • Hook feedback handling
  • Plan mode activation
  • Token/budget tracking
  • Memory contents injection

Data Templates

Reference materials embedded in Claude Code:

  • Agent SDK patterns (Python/TypeScript)
  • Claude API references (C#, Go, Java, PHP, Python, Ruby, TypeScript)
  • GitHub Actions workflow templates
  • Prompt caching design patterns

Version Tracking

Every Claude Code release is tracked with a detailed changelog showing exactly what system prompt strings were added, modified, or removed. Star the repo to get notified of new versions.


Source & Thanks

Author: Piebald-AI Repository: claude-code-system-prompts — ⭐ 6,900+ License: MIT

Thanks to the Piebald AI team for meticulously extracting and tracking Claude Code's internal prompt architecture.

Related Assets