Claude Code System Prompts

August 12, 2026 · View 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/

Join our Discord X

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

hero

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.229 (August 12th, 2026). It also contains a CHANGELOG.md for the system prompts across 255 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.

  • Skill: /code-review efficiency dimension (106 tks) - Code-review pass that surfaces wasted effort the diff adds — duplicate computation or I/O, avoidable serialization, large scopes held by closures — and points to the cheaper option.
  • Skill: /design-sync package source shape (16174 tks) - Shape-specific /design-sync instructions for syncing a React design system from a built package without Storybook.
  • Skill: /doctor slash command description (357 tks) - Trigger description for the /doctor slash command covering setup health, unused extensions, memory cleanup, hooks, updates, and permission prompts.
  • Skill: /doctor slash command (15359 tks) - Diagnostic workflow for auditing and fixing Claude Code installation health, unused context, local memory duplication, hooks, version currency, and permission prompts.
  • Skill: /explain-usage slash command (449 tks) - Analyzes the current session transcript into cost-weighted token usage groups, charts the results, and explains them in plain language.
  • Skill: /init CLAUDE.md and skill setup (new version) (7828 tks) - A comprehensive onboarding flow for setting up CLAUDE.md and related skills/hooks in the current repository, including codebase exploration, user interviews, and iterative proposal refinement.
  • Skill: /insights report output (182 tks) - Formats and displays the insights usage report results after the user runs the /insights slash command.
  • Skill: /loop cloud-first scheduling offer (510 tks) - Decision tree for offering cloud-based scheduling before falling back to local session loops in the /loop command.
  • Skill: /loop local runtime note (96 tks) - Conditional /loop confirmation note explaining that local loops run only until the current session closes.
  • Skill: /loop self-pacing mode (1141 tks) - Instructs Claude how to self-pace a recurring loop by arming event monitors as primary wake signals and scheduling fallback heartbeat delays between iterations.
  • Skill: /loop slash command (dynamic mode) (951 tks) - Parses user input into an interval and prompt for scheduling recurring or dynamically self-paced loop executions.
  • Skill: /loop slash command (969 tks) - Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task.
  • Skill: /stuck (background-daemon diagnostics) (181 tks) - The background-daemon troubleshooting section of the /stuck skill.
  • Skill: /stuck slash command (964 tks) - Diagnoses frozen or slow Claude Code sessions.
  • Skill: Agent Design Patterns (2901 tks) - Reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls.
  • Skill: Artifact PR review (composed publish flow) (10912 tks) - Skill instructions for gathering a GitHub pull request, authoring a structured review briefing payload, and publishing it through the Artifact tool pr_review input.
  • Skill: Artifact PR review description (composed publish flow) (178 tks) - Trigger description for the composed PR review briefing Artifact flow with republish-only updates.
  • Skill: Artifact PR review (14867 tks) - Skill instructions for gathering a GitHub pull request, authoring a structured review briefing, optionally wiring a live staleness signal, filling the bundled HTML template, and publishing it as an Artifact.
  • Skill: Artifact dashboard (2057 tks) - Instructions for creating dashboard artifacts with KPI tiles, chart specifications, and breakdown tables from the built-in template.
  • Skill: Artifact data table (2016 tks) - Skill instructions for creating interactive data-table artifacts with sortable, filterable tabular data, safe JSON embedding, theming, and template-preservation requirements.
  • Skill: Artifact design (3584 tks) - Design guidance skill for producing distinctive, polished artifacts by calibrating visual treatment, applying design fundamentals, planning color/type/layout, and avoiding templated AI-generated defaults.
  • Skill: Artifact diagramming (1352 tks) - Provides Artifact diagramming guidance, including when diagrams add value and how to build legible theme-aware inline SVG.
  • Skill: Artifact document (1785 tks) - Skill instructions for creating live editable document artifacts with structured prose, status metadata, commenting, and template-preservation requirements.
  • Skill: Artifact explainer (2024 tks) - Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template.
  • Skill: Artifact report (1716 tks) - Instructions for creating long-form report artifacts with a masthead, table of contents, structured sections, and optional appendix from the built-in template.
  • Skill: Artifact slides (2406 tks) - Skill instructions for creating live editable slide-deck Artifacts with slide-editor navigation, presentation mode, notes, comments, and template-preservation requirements.
  • Skill: Artifact spreadsheet (2588 tks) - Skill instructions for creating live editable spreadsheet artifacts with persistable rows, formulas, sorting, comments, and template-preservation requirements.
  • Skill: Artifact whiteboard when-to-use guidance (182 tks) - When-to-use guidance for proactively offering a whiteboard during architecture, multi-component planning, or repeated clarification while limiting the offer to once per session.
  • Skill: Build with Claude API (reference guide) (1112 tks) - Template for presenting language-specific reference documentation with quick task navigation.
  • Skill: Building LLM-powered applications with Claude (28635 tks) - Guides Claude in building LLM-powered applications using the Anthropic SDK, covering language detection, API surface selection (Claude API vs Managed Agents), model defaults, thinking/effort configuration, and language-specific documentation reading.
  • Skill: Claude Code configuration guide (1865 tks) - Skill instructions for answering Claude Code configuration questions by checking the running build, bundled references, and current documentation.
  • Skill: Code Review (Angle B — removed-behavior auditor) (94 tks) - Code-review finder angle that, for each deleted or rewritten line, names the behavior it guaranteed and confirms the new code still guarantees it.
  • Skill: Code Review (Angle C — cross-file tracer) (88 tks) - Code-review finder angle that follows each changed function out to its callers, checking the diff hasn't broken a call-site contract.
  • Skill: Code Review (Angle D — language-pitfall specialist) (101 tks) - Code-review finder angle that hunts for the well-known traps of the diff's language or framework.
  • Skill: Code Review (Angle E — wrapper/proxy correctness) (126 tks) - Code-review finder angle for wrapping types (caches, proxies, decorators), checking every method forwards faithfully to the wrapped object.
  • Skill: Code Review (Output — findings JSON array) (241 tks) - Defines the code-review skill's result shape: a JSON array of findings carrying file, line, summary, and failure_scenario.
  • Skill: Code Review (Phase 0 — gather the diff) (135 tks) - Opening step of the code-review skill: assemble the unified diff to review with git diff.
  • Skill: Code Review (Phase 2 — verify, 3-state) (125 tks) - Precision-tier verification step: run one verifier per candidate finding, each voting CONFIRMED, PLAUSIBLE, or REFUTED.
  • Skill: Code Review (Phase 2 — verify, recall-biased) (137 tks) - Recall-tier verification step: one verifier per candidate finding, biased toward keeping anything plausible.
  • Skill: Code Review (Phase 3 — sweep for gaps) (131 tks) - Final code-review sweep: a clean-slate reviewer re-reads the diff to catch defects the earlier passes missed.
  • Skill: Code Review (altitude dimension) (61 tks) - Code-review dimension: check whether each change is implemented at the right depth rather than as a fragile special case.
  • Skill: Code Review (conventions dimension) (0 tks) - Code-review dimension: flag diff lines that break a rule stated in an applicable CLAUDE.md (user, repo-root, or ancestor-directory), quoting the exact rule and offending line, and emit nothing when no CLAUDE.md governs the change.
  • Skill: Code Review correctness finder angles (414 tks) - Shared /code-review finder-angle block covering line-by-line diff scanning, removed-behavior auditing, and cross-file tracing.
  • Skill: Code Review inline medium/high template (592 tks) - Template for medium and high inline code-review prompts that run eight finder angles, deduplicate without verification, and enforce a minimum findings target.
  • Skill: Code Review inline xhigh mode (1189 tks) - Extra-high inline /code-review prompt that runs ten finder angles, deduplicates without verification, sweeps for gaps, and returns up to fifteen findings.
  • Skill: Code Review low effort expanded-findings mode (646 tks) - Low-effort /code-review prompt that reads the diff once, returns up to eight hunk-visible findings, and targets at least min(files_changed, 4) genuine findings.
  • Skill: Computer Use MCP (1206 tks) - Instructions for using computer-use MCP tools including tool selection tiers, app access tiers, link safety, and financial action restrictions.
  • Skill: Cowork plugin authoring (4791 tks) - Skill instructions for creating or customizing Cowork plugins, including mode selection, research, implementation, packaging, connector replacement, and plugin delivery.
  • Skill: Data Visualization description (403 tks) - Trigger description for the Data Visualization skill covering charts, graphs, dashboards, palettes, stat tiles, and related visualization requests.
  • Skill: Data Visualization (2904 tks) - Skill instructions for producing accessible, brand-neutral charts, graphs, dashboards, and data visualizations using a validated method.
  • Skill: Debugging (417 tks) - Instructions for debugging an issue that the user is encountering in the Claude Code session.
  • Skill: Design description (352 tks) - Trigger description for the Design skill, covering editable multi-artboard canvas Artifacts for interfaces, marketing graphics, and print layouts.
  • Skill: Design sync Storybook source shape (25255 tks) - Design sync sub-skill instructions for using a repo's Storybook as the fidelity oracle when building, validating, matching, uploading, and re-syncing component previews.
  • Skill: Design sync (9610 tks) - Skill for syncing a React design system to claude.ai/design by configuring the target project, running the converter, verifying previews, and uploading verified artifacts.
  • Skill: Design (18857 tks) - Skill instructions for creating and publishing multi-artboard Claude Design canvas Artifacts with editable layouts and source-grounded visual recreation rules.
  • Skill: Dynamic pacing loop execution (1068 tks) - Step-by-step instructions for executing a dynamic pacing loop that runs tasks, arms persistent monitors for event-gated waits, schedules fallback heartbeat ticks, and handles task notifications.
  • Skill: Generate permission allowlist from transcripts (2408 tks) - Analyzes session transcripts to extract frequently used read-only tool-call patterns and adds them to the project's .claude/settings.json permission allowlist to reduce permission prompts.
  • Skill: Import to Claude Code (418 tks) - Generated SKILL.md instructing Claude to finish importing leftover foreign-agent config that claude import could not map automatically.
  • Skill: Model migration guide (64306 tks) - Step-by-step instructions for migrating existing code to newer Claude models, covering breaking changes, deprecated parameters, per-SDK syntax, prompt-behavior shifts, and migration checklists.
  • Skill: Plan Artifact (790 tks) - Skill instructions for creating or customizing shareable plan artifacts from implementation plans, design docs, or RFCs.
  • Skill: Plugin eval authoring interview (3003 tks) - Guided interview for creating Claude plugin eval suites under evals/ with gated inputs, graders, calibration, and cost checks.
  • Skill: Prompt audit (10988 tks) - Audits prompts, skills, tool descriptions, and request configuration for obsolete model-specific patterns and produces a report plus proposed diff.
  • Skill: Prototype description (151 tks) - Trigger description for the Prototype skill, covering working proof-of-concept Artifacts and optional in-place feature demonstrations.
  • Skill: Prototype runtime capabilities guidance (242 tks) - Explains when prototype Artifacts should use user-granted runtime capabilities and requires loading the artifact-capabilities skill before relying on live data or actions.
  • Skill: Prototype (2643 tks) - Turns a product or UI idea—including an explicitly requested feature shown in an existing app—into a working proof-of-concept Artifact through intake, assumption setting, publication, and feedback iteration.
  • Skill: Run CLI tool example (499 tks) - Example file for the Run app skill showing how to document building, invoking, and testing a CLI tool.
  • Skill: Run Electron desktop GUI app example (4625 tks) - Example file for the Run app skill showing how to launch an Electron desktop app under xvfb and drive it through a Playwright REPL driver.
  • Skill: Run TUI interactive terminal app example (1004 tks) - Example file for the Run app skill showing how to drive an interactive terminal app with tmux, readiness polling, pane capture, key references, and cleanup.
  • Skill: Run app (999 tks) - Skill for launching and driving the current project's app through its real runtime surface using project-specific run skills or fallback patterns.
  • Skill: Run browser-driven web app example (1408 tks) - Example file for the Run app skill showing how to start a web dev server, drive it with chromium-cli, capture screenshots, and document app-specific gotchas.
  • Skill: Run library SDK example (653 tks) - Example file for the Run app skill showing how to document building, testing, and smoke-checking a library or SDK at its public package boundary.
  • Skill: Run skill generator (4681 tks) - Skill for authoring or improving a project-specific run skill that documents verified build, launch, runtime driving, and troubleshooting steps.
  • Skill: Run skill template (1216 tks) - Template file for the Run skill generator showing the frontmatter and section structure for a project-specific run skill.
  • Skill: Run web server API example (1362 tks) - Example file for the Run app skill showing how to document a server or API lifecycle with background launch, readiness checks, curl verification, and shutdown.
  • Skill: Schedule recurring cron and run immediately (271 tks) - Converts an interval to a cron expression, schedules a recurring task via the cron creation tool, confirms to the user, and immediately executes the task without waiting for the first cron fire.
  • Skill: Setup Cowork role selection (475 tks) - First step of the setup-cowork skill that explains Cowork, asks for the user's role, calls ShowOnboardingRolePicker, or falls back to a plain-text role list.
  • Skill: Setup Cowork (3315 tks) - Guided Cowork setup flow that helps the user pick a role, install matching plugins, connect tools, try a skill, configure writing voice, and wrap up.
  • Skill: Team onboarding guide (521 tks) - Template for onboarding a new teammate to a team's Claude Code setup, walking them through usage stats, setup checklists, MCP servers, skills, and team tips in a warm conversational style.
  • Skill: Update Claude Code Config (1195 tks) - Skill for modifying Claude Code configuration file (settings.json).
  • Skill: Update config description (170 tks) - Update-config skill description (settings.json hooks, perms, env).
  • Skill: Update config settings file locations (1104 tks) - Where Claude Code stores settings.json across scopes.
  • Skill: Verify CLI changes (example for Verify skill) (565 tks) - Example workflow for verifying a CLI change, as part of the Verify skill.
  • Skill: Verify server/API changes (example for Verify skill) (612 tks) - Example workflow for verifying a server/API change, as part of the Verify skill.
  • Skill: Verify skill (4354 tks) - Skill for opinionated verification workflow for validating code changes.
  • Skill: Whiteboard (4533 tks) - Creates a whiteboard Artifact for architecture sketches and planning feedback using a freehand canvas.
  • Skill: update-config (7-step verification flow) (1160 tks) - A skill that guides Claude through a 7-step process to construct and verify hooks for Claude Code, ensuring they work correctly in the user's specific project environment.