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
[!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.241 (August 22nd, 2026). It also contains a CHANGELOG.md for the system prompts across 266 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, andTodoWrite, 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.mdgeneration, 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
- Agent Prompt: Explore (862 tks) - System prompt for the Explore subagent.
- Agent Prompt: Plan mode (enhanced) (1066 tks) - Enhanced prompt for the Plan subagent.
Creation Assistants
- Agent Prompt: CLAUDE.md creation (631 tks) - Instructs the /init command to analyze a codebase and create or improve a CLAUDE.md file.
- Agent Prompt: Status line setup (3358 tks) - System prompt for the statusline-setup agent that configures status line display.
Slash Commands
- Agent Prompt: /batch slash command (1106 tks) - Instructions for orchestrating a large, parallelizable change across a codebase.
- Agent Prompt: /code-review inline gap sweep phase (105 tks) - Adds a final same-context sweep for defects missed by an inline code review when subagents are unavailable.
- Agent Prompt: /code-review minimal mode (536 tks) - Minimal /code-review prompt that performs one careful diff pass and reports up to fifteen concrete correctness findings.
- Agent Prompt: /code-review part 1 base finder angles (145 tks) - Line-by-line diff scan instructions for the /code-review slash command's finder-angle phase.
- Agent Prompt: /code-review part 10 ReportFindings output format (345 tks) - Output-format instructions for /code-review runs that report verified findings once through the ReportFindings tool with capped, severity-ranked findings.
- Agent Prompt: /code-review part 2 low effort minimum findings mode (740 tks) - Low-effort /code-review prompt that reads the diff once, targets at least min(files_changed, 4) hunk-visible runtime correctness findings, and performs one extra pass when short.
- Agent Prompt: /code-review part 2 low effort mode (676 tks) - Low-effort /code-review prompt that reads the diff once and returns up to four hunk-visible runtime correctness findings.
- Agent Prompt: /code-review part 3 extra-high and maximum effort modes (510 tks) - Extra-high and maximum-effort /code-review prompt that runs five finder angles, one-vote verification, a gap sweep, and capped JSON findings.
- Agent Prompt: /code-review part 4 three-state verification phase (98 tks) - Verification phase for /code-review that asks one agent verifier to classify each candidate as confirmed, plausible, or refuted.
- Agent Prompt: /code-review part 5 recall-biased verification phase (175 tks) - Recall-biased /code-review verification phase that treats realistic uncertain findings as plausible unless code refutes them.
- Agent Prompt: /code-review part 6 medium effort mode (423 tks) - Medium-effort /code-review prompt that favors precision with three finder angles, one-vote verification, and up to eight JSON findings.
- Agent Prompt: /code-review part 7 high effort mode (468 tks) - High-effort /code-review prompt that favors recall with three finder angles, recall-biased verification, and up to ten JSON findings.
- Agent Prompt: /code-review part 8 GitHub comment posting (152 tks) - Optional /code-review instructions for posting findings as GitHub inline PR comments when --comment is passed.
- Agent Prompt: /code-review part 9 fix application (250 tks) - Optional /code-review instructions for applying findings to the working tree when --fix is passed.
- Agent Prompt: /code-review unavailable-agent inline mode (403 tks) - Builds a single-pass inline code-review prompt that gathers a diff, evaluates configured angles, deduplicates findings, optionally sweeps gaps, and reports capped results when the Agent tool is unavailable.
- Agent Prompt: /rename auto-generate session name (80 tks) - Prompt used by /rename (no args) to auto-generate a kebab-case session name from conversation context.
- Agent Prompt: /schedule slash command (4529 tks) - Guides the user through scheduling, updating, listing, or running remote Claude Code agents on cron triggers via the Anthropic cloud API.
- Agent Prompt: /security-review slash command (2521 tks) - Comprehensive security review prompt for analyzing code changes with focus on exploitable vulnerabilities.
- Agent Prompt: /simplify slash command (362 tks) - Instructions for the /simplify slash command that reviews changed code for reuse, simplification, efficiency, and altitude cleanups, then applies the fixes.
- Agent Prompt: /simplify unavailable-agent inline mode (621 tks) - Runs the /simplify cleanup workflow inline across reuse, simplification, efficiency, and altitude angles when the Agent tool is unavailable.
- Agent Prompt: /ultrareview GitHub comment poster (894 tks) - Instructs the /ultrareview posting step to publish exactly one plain GitHub pull request comment from a routine payload, with a run deduplication marker and no other writes.
Utilities
- Agent Prompt: Agent Hook (122 tks) - Evaluates agent hook conditions against the conversation transcript and codebase and returns a structured pass/fail result.
- Agent Prompt: Artifact comment thread analyst (606 tks) - Instructs a read-only agent to analyze one Artifact comment thread and return a constrained analysis brief for a separate composer.
- Agent Prompt: Auto mode rule reviewer (292 tks) - Reviews and critiques user-defined auto mode classifier rules for clarity, completeness, conflicts, and actionability.
- Agent Prompt: Away summary generation (73 tks) - Prompts a no-tools away-summary generation run to recap the goal, current task, and next action when the user returns.
- Agent Prompt: Background agent state classifier (6237 tks) - Classifies the tail of a background agent transcript as working, blocked, done, or failed and returns concise state JSON.
- Agent Prompt: Background job agent instructions (559 tks) - Instructs the built-in background job agent to narrate progress, restate tool results, and emit explicit result, needs input, or failed status signals.
- Agent Prompt: Claude Code guide (415 tks) - Describes when to use the Claude Code guide agent for Claude Code, Agent SDK, Claude API, and Claude Tag questions.
- Agent Prompt: Claude guide agent (3003 tks) - Instructs the Claude guide agent to answer documentation-based questions about Claude Code, the Claude Agent SDK, the Claude API, Claude Tag, plugin evaluation, and skill diagnostics.
- Agent Prompt: Coding session title generator (898 tks) - Generates a short noun-phrase title for a coding session from untrusted session content.
- Agent Prompt: Conversation summarization (1795 tks) - System prompt for creating detailed conversation summaries.
- Agent Prompt: Coordinator worker instructions (830 tks) - Instructions for worker agents executing coordinator-assigned tasks, covering scope control, concurrent branch changes, resumption, failure handling, and coordinator-facing output.
- Agent Prompt: Determine which memory files to attach (354 tks) - Agent for determining which memory files to attach for the main agent.
- Agent Prompt: Dream memory consolidation (1573 tks) - Instructs an agent to perform a multi-phase memory consolidation pass — orienting on existing memories, gathering recent signal from logs and transcripts, merging updates into topic files, and pruning the index.
- Agent Prompt: General purpose agent (63 tks) - Defines a general-purpose agent for researching complex questions, searching code, and executing multi-step tasks.
- Agent Prompt: General purpose (446 tks) - System prompt for the general-purpose subagent that searches, analyzes, and edits code across a codebase while reporting findings concisely to the caller.
- Agent Prompt: General task agent (99 tks) - Instructs a Claude Code task agent to complete the user's request fully and report the essential outcome.
- Agent Prompt: Hook condition evaluator (stop) (319 tks) - System prompt for evaluating hook conditions, specifically stop conditions, in Claude Code.
- Agent Prompt: Hook condition evaluator (88 tks) - Instructs an agent to judge whether a user-provided hook condition is met.
- Agent Prompt: Inherited context for worktree sub-agent (121 tks) - Briefs a sub-agent that it has inherited a parent session's context and is now working in its own isolated git worktree.
- Agent Prompt: Managed Agents onboarding flow (3876 tks) - Interactive interview script that helps users configure a Managed Agent by describing the task, proposing tools and resources, setting up the environment and session, testing access, and emitting integration code.
- Agent Prompt: Onboarding guide draft share link workflow (323 tks) - Adds instructions for sharing the draft ONBOARDING.md before review, then updating the same ShareOnboardingGuide link after the user answers the review questions.
- Agent Prompt: Onboarding guide generator (1135 tks) - Co-authors a team onboarding guide (ONBOARDING.md) for new Claude Code users by analyzing the creator's usage data, classifying session types, and iterating on the draft collaboratively.
- Agent Prompt: PR follow-up cron (172 tks) - Cron prompt for checking a pull request created in the session and fixing failures, comments, or conflicts.
- Agent Prompt: Prompt Suggestion Generator v2 (344 tks) - V2 instructions for generating prompt suggestions for Claude Code.
- Agent Prompt: Pull request creation (1176 tks) - Prompt for creating a single GitHub pull request from existing commits with branch, template, attribution, shell-formatting, and git-safety guidance.
- Agent Prompt: Quick PR creation (1641 tks) - Streamlined prompt for creating a commit and pull request with pre-populated context.
- Agent Prompt: Quick git commit (1338 tks) - Streamlined prompt for creating a single git commit with pre-populated context.
- Agent Prompt: Read-only search agent (93 tks) - Defines a read-only search agent for broad fan-out code searches that returns conclusions instead of file dumps.
- Agent Prompt: Recent Message Summarization (1272 tks) - Agent prompt used for summarizing recent messages.
- Agent Prompt: Schedule action selection (114 tks) - Instructs the cloud scheduling agent to ask the user which schedule action to perform first.
- Agent Prompt: Security monitor for autonomous agent actions (first part) (12113 tks) - Instructs Claude to act as a security monitor that evaluates autonomous coding agent actions against block/allow rules to prevent prompt injection, scope creep, and accidental damage.
- Agent Prompt: Security monitor for autonomous agent actions (second part) (26345 tks) - Defines the environment context, block rules, and allow exceptions that govern which tool actions the agent may or may not perform.
- Agent Prompt: Security monitor host-context line guidance (614 tks) - Explains how the autonomous-action security monitor should interpret live and restored host-context lines when evaluating user intent and consent.
- Agent Prompt: Session title and branch generation (626 tks) - Agent for generating succinct session titles and git branch names.
- Agent Prompt: Session transcript chunk summary (89 tks) - Instructs an agent to summarize a chunk of a Claude Code session transcript concisely.
- Agent Prompt: Summarization no-tools guard (107 tks) - Shared prefix for compaction summarization agents that forbids tool use and requires plain text analysis and summary blocks.
- Agent Prompt: Web fetch agent usage guidance (503 tks) - Explains when and how to delegate URL reading to the built-in web-fetch agent, including binary-file trust boundaries and follow-up messaging.
- Agent Prompt: Web reading specialist (662 tks) - System prompt for the built-in web-fetch agent that reads untrusted URL content with WebFetch and returns a focused, source-grounded report to its caller.
- Agent Prompt: Worker fork (268 tks) - Directive injected into a forked child agent, telling it to treat the inherited transcript as reference, execute one directive directly, and report once.
- Agent Prompt: Workflow script plain text return note (76 tks) - Appended note telling a workflow script agent that its final text response is parsed as the script return value.
- Agent Prompt: Workflow script structured return note (120 tks) - Appended note telling a workflow script agent to return its final answer by calling the structured output tool exactly once.
- Agent Prompt: Workflow subagent plain text output (154 tks) - Instructs an internal workflow subagent to return its final text verbatim as the calling workflow script's parsed result.
- Agent Prompt: Workflow subagent structured output (190 tks) - Instructs an internal workflow subagent to return its final answer by calling the StructuredOutput tool exactly once with schema-valid input.
Data
The content of various template files embedded in Claude Code.
- Data: /auto-mode-setup usage (406 tks) - Defines /auto-mode-setup proposal and reviewed-apply command syntax, request ID ordering, save-target validation, and integrity requirements.
- Data: Anthropic CLI (4615 tks) - Reference documentation for the ant CLI covering installation, authentication, command structure, input and output shaping, managed agents workflows, and scripting patterns.
- Data: Artifact MCP connector guidance (396 tks) - Explains how Artifact MCP manifests declare claude.ai, built-in, and host connectors and how to discover exact server and upstream tool names.
- Data: Artifact connector call observation requirement (199 tks) - Requires observing a connector tool request and response before publishing an Artifact that calls it.
- Data: Artifact decision component HTML skeleton (1117 tks) - Provides the canonical HTML and JSON-island skeleton for embedding one reusable Artifact decision block.
- Data: Artifact decision component design tokens (14815 tks) - Provides the byte-pinned Claude Design System custom-property token block required by the reusable Artifact decision component.
- Data: Artifact decision component script (24642 tks) - Provides the pinned JavaScript asset for the reusable Artifact decision component, including selection, confirmation, persistence, restore, and conflict behavior.
- Data: Artifact decision component styles (4877 tks) - Provides the byte-pinned CSS asset for reusable Artifact decision cards, option rows, confirmation chrome, and responsive and print states.
- Data: Artifact runtime capability declarations (271 tks) - Defines Artifact runtime capability declaration, carry-forward, clearing, replacement, and contract pinning semantics.
- Data: Auto-compact inputs changed event schema (221 tks) - Schema description for worker-resolved auto-compaction state events used by thin clients to display the effective compaction countdown.
- Data: Background tasks changed event schema (327 tks) - Schema description for the background_tasks_changed system event and its replace-set semantics.
- Data: Claude API reference — C# (7997 tks) - C# SDK reference including installation, client initialization, basic requests, streaming, and tool use.
- Data: Claude API reference — Go (3542 tks) - Go SDK reference.
- Data: Claude API reference — Java (4844 tks) - Java SDK reference including installation, client initialization, basic requests, streaming, and beta tool use.
- Data: Claude API reference — PHP (2648 tks) - PHP SDK reference.
- Data: Claude API reference — Python (7657 tks) - Python SDK reference including installation, client initialization, basic requests, thinking, and multi-turn conversation.
- Data: Claude API reference — Ruby (1947 tks) - Ruby SDK reference including installation, client initialization, basic requests, streaming, and beta tool runner.
- Data: Claude API reference — TypeScript (5854 tks) - TypeScript SDK reference including installation, client initialization, basic requests, thinking, and multi-turn conversation.
- Data: Claude API reference — cURL (3959 tks) - Raw API reference for Claude API for use with cURL or else Raw HTTP.
- Data: Claude Code agent proxy troubleshooting guide (2030 tks) - Troubleshooting guide for Claude Code's policy-enforcing HTTPS agent proxy, covering TLS trust setup, status checks, git, docker, and unsupported traffic.
- Data: Claude Code gateway customer-routed inference protocol (2810 tks) - Conditional extension to the Claude Code gateway protocol defining customer-routed inference authentication, forwarding, response hygiene, error recovery, policy blocking, discovery, and endpoint requirements.
- Data: Claude Code gateway protocol (5242 tks) - Markdown reference documenting the Claude Code gateway wire contract, including OAuth 2.0 device flow, RFC 8414 discovery, Messages API inference, managed settings, model discovery, OTLP telemetry, error envelopes, TLS certificate pinning, and proxying to Bedrock, Vertex, and Foundry.
- Data: Claude Code live documentation sources (2477 tks) - WebFetch URLs for fetching current Claude Code documentation from official sources.
- Data: Claude Code recent changes reference (1814 tks) - Reference mapping of recently removed or renamed Claude Code commands, flags, and terms to their current replacements.
- Data: Claude Platform on AWS reference (1799 tks) - Reference documentation for using the Claude Developer Platform through AWS infrastructure, including AnthropicAWS clients, required region and workspace configuration, SigV4 authentication, and short-term API keys.
- Data: Claude Tag (Claude in Slack) reference (1996 tks) - Offline reference for Claude Tag, Claude Code's org-managed Slack surface, covering what it is, availability, setup, configuration, and how it differs from the earlier Claude in Slack app.
- Data: Claude gateway landing page (392 tks) - HTML status page served at a Claude Code gateway root, showing the gateway logo, the running gateway URL, the identity-provider host, an OAuth discovery link, and the gateway version.
- Data: Claude model catalog (4965 tks) - Catalog of current and legacy Claude models with exact model IDs, aliases, context windows, and pricing.
- Data: Code change published event schema (349 tks) - Schema description for the code_change_published system event, including provenance, idempotency, trust boundaries, and best-effort delivery.
- Data: Command plugin source command field (160 tks) - Describes the command field for command-based plugin sources, including its one-line directory output contract, cache-copy lifecycle, platform shell, and re-resolution behavior.
- Data: Cowork plugin MCP discovery and connection (1338 tks) - Reference guidance for finding MCP connectors during plugin customization, using search and suggestion tools, mapping categories to keywords, and writing .mcp.json entries.
- Data: Cowork plugin component schemas (3109 tks) - Reference documentation for Cowork plugin component formats, including skills, agents, hooks, MCP servers, legacy commands, CONNECTORS.md, and README.md.
- Data: Cowork plugin examples (2323 tks) - Reference examples of minimal, medium, and complex Cowork plugin structures with plugin metadata, skills, agents, hooks, MCP config, README, and connectors.
- Data: Cross-session inbound setting (175 tks) - Describes crossSessionInbound delivery, hold, refusal, and permission-mode parity behavior for peer messages.
- Data: Data visualization anti-patterns (2317 tks) - Reference list of chart and dashboard anti-patterns to check against before shipping a data visualization.
- Data: Data visualization choosing a form (1174 tks) - Reference guidance for choosing the appropriate chart, stat tile, or non-chart form based on the data's job.
- Data: Data visualization components (836 tks) - Reference specification for the HTML/SVG pieces, layers, and system parameters that make up a data visualization.
- Data: Data visualization interaction (1318 tks) - Reference guidance for chart hover layers, tooltips, filters, linked highlighting, and interaction behavior.
- Data: Data visualization marks and anatomy (2164 tks) - Reference specifications for chart marks, spacing, labels, axes, legends, and stat-tile anatomy.
- Data: Data visualization reference palette (3749 tks) - Reference palette instance for the data visualization method, including ramps, categorical order, status colors, surfaces, and typography.
- Data: Dialog expiry setting (204 tks) - Describes dialogExpiry deadlines for remote permission dialogs and held cross-session messages, including defaults and overrides.
- Data: DirectoryAdded hook description (216 tks) - Describes when the DirectoryAdded hook fires, its input fields, and how failures and output are handled for add-dir and register_repo_root sources.
- Data: Files API reference — Go (336 tks) - Go Files API reference including file upload, listing, deletion, and usage in messages.
- Data: Files API reference — Python (1360 tks) - Python Files API reference including file upload, listing, deletion, and usage in messages.
- Data: Files API reference — TypeScript (797 tks) - TypeScript Files API reference including file upload, listing, deletion, and usage in messages.
- Data: Gateway device code entry page (228 tks) - HTML verification page served at a gateway device endpoint, prompting the user to enter the short device code shown by Claude Code so they can sign in through their company identity provider.
- Data: GitHub Actions workflow for @claude mentions (525 tks) - GitHub Actions workflow template for triggering Claude Code via @claude mentions.
- Data: GitHub App installation PR description (409 tks) - Template for PR description when installing Claude Code GitHub App integration.
- Data: Governed GitHub CLI shim header (292 tks) - Header comments for the per-session governed GitHub CLI shim that routes github.com gh traffic through the agent proxy while preserving customer-token and GitHub Enterprise traffic.
- Data: Governed GitHub CLI shim routing (715 tks) - Shell routing logic for the governed gh shim, including GitHub host detection, real gh fallback execution, agent proxy settings, CA bundle configuration, and proxy-injected tokens.
- Data: HTTP error codes reference (4809 tks) - Reference for HTTP error codes returned by the Claude API with common causes and handling strategies.
- Data: Hook classifier context field (662 tks) - Schema description for the classifierContext hook response field, including trust semantics, size and timing limits, transcript visibility, and rewrite-integrity requirements.
- Data: Interrupt cancel queued parameter (552 tks) - Schema description for the optional interrupt cancel_queued request parameter and its queued-command cancellation semantics.
- Data: Interrupt receipt cancelled field (291 tks) - Schema description for the cancelled UUID list returned when an interrupt request cancels queued commands.
- Data: Interrupt receipt still queued field (583 tks) - Schema description for the still_queued UUID list returned by interrupt control responses.
- Data: Knowledge MCP search strategies (447 tks) - Reference query patterns for using knowledge MCPs to discover organization-specific tool names, project identifiers, team names, and workflow details during plugin customization.
- Data: Live documentation sources (6527 tks) - WebFetch URLs for fetching current Claude API and Agent SDK documentation from official sources.
- Data: MCP HTTP client capability validation rationale (189 tks) - Explains where required client capabilities are validated in the modern MCP HTTP request ladder and how the pre-dispatch gate affects observable precedence.
- Data: MCP HTTP parameter header validation rationale (247 tks) - Explains validation of Mcp-Param headers against tool declarations and request arguments, including error shape and pre-dispatch precedence.
- Data: MCP HTTP standard header validation rationale (326 tks) - Explains the modern MCP HTTP validation ladder's Mcp-Method and Mcp-Name header checks and their observed pre-dispatch precedence.
- Data: Managed Agents Scheduled Deployments (3409 tks) - Managed Agents scheduled deployment API guidance, including cron schedules, deployment runs, pausing, resuming, and operational limits.
- Data: Managed Agents Webhooks (4064 tks) - Managed Agents webhook guidance for registering endpoints, verifying HMAC signatures, handling event payloads, and processing retries.
- Data: Managed Agents client patterns (4096 tks) - Reference guide of common client-side patterns for driving Managed Agent sessions, including stream reconnection, idle-break gating, tool confirmations, interrupts, and custom tools.
- Data: Managed Agents core concepts (11033 tks) - Reference documentation for the Managed Agents API covering core concepts (Agents, Sessions, Environments, Containers), lifecycle, versioning, endpoints, and usage patterns.
- Data: Managed Agents endpoint reference (12849 tks) - Comprehensive reference for Managed Agents API endpoints, SDK methods, request/response schemas, error handling, and rate limits.
- Data: Managed Agents environments and resources (4570 tks) - Reference documentation covering Managed Agents environments, file resources, GitHub repository mounting, and the Files API with SDK examples.
- Data: Managed Agents events and steering (8686 tks) - Reference guide for sending and receiving events on managed agent sessions, including streaming, polling, reconnection, message queuing, interrupts, and event payload details.
- Data: Managed Agents memory stores reference (4174 tks) - Reference documentation for managed agents memory stores, memory versions, attachment, and direct memory management.
- Data: Managed Agents multiagent sessions (8901 tks) - Reference documentation for Managed Agents multiagent sessions, including coordinator rosters, threads, session stream events, subagent tool permissions, and pitfalls.
- Data: Managed Agents outcomes (2771 tks) - Reference documentation for Managed Agents outcomes, including user.define_outcome events, rubrics, outcome evaluation events, deliverables, and interaction rules.
- Data: Managed Agents overview (4862 tks) - Provides the agent with a comprehensive overview of the Managed Agents API architecture, mandatory agent-then-session flow, beta headers, documentation reading guide, and common pitfalls.
- Data: Managed Agents reference — Go (8273 tks) - Reference guide for using the Anthropic Go SDK to create and manage agents, environments, sessions, and tools.
- Data: Managed Agents reference — Java (6740 tks) - Reference guide for using the Anthropic Java SDK to create and manage agents, environments, and sessions.
- Data: Managed Agents reference — PHP (5420 tks) - Reference guide for using the Anthropic PHP SDK to create and manage agents, environments, and sessions.
- Data: Managed Agents reference — Python (3732 tks) - Reference guide for using the Anthropic Python SDK to create and manage agents, sessions, environments, streaming, custom tools, files, and MCP servers.
- Data: Managed Agents reference — Ruby (4202 tks) - Reference guide for using the Anthropic Ruby SDK to create and manage agents, environments, and sessions.
- Data: Managed Agents reference — TypeScript (3719 tks) - Reference guide for using the Anthropic TypeScript SDK to create and manage agents, sessions, environments, streaming, custom tools, file uploads, and MCP server integration.
- Data: Managed Agents reference — cURL (3965 tks) - Provides cURL and raw HTTP request examples for the Managed Agents API including environment, agent, and session lifecycle operations.
- Data: Managed Agents self-hosted sandboxes (10967 tks) - Reference documentation for running Managed Agents tool execution in self-hosted infrastructure, including environment setup, workers, webhook-driven wake, orchestration, monitoring, credentials, and security responsibilities.
- Data: Managed Agents tools and skills (10939 tks) - Reference documentation covering the Managed Agents SDK's tool types (agent toolset, MCP, custom), permission policies, vault credential management, and skills API for building specialized agents.
- Data: Message Batches API reference — Python (1635 tks) - Python Batches API reference including batch creation, status polling, and result retrieval at 50% cost.
- Data: Message Batches API — TypeScript (805 tks) - TypeScript usage guide for Claude's asynchronous Message Batches endpoint.
- Data: Peer sender display name field (199 tks) - Schema description for the normalized display name on cross-session peer message senders.
- Data: Plan artifact HTML template (19044 tks) - Standalone HTML template used for published plan artifacts, including layout, fill contract, and light/dark styling.
- Data: Platform availability (3000 tks) - Feature availability matrix across Claude API provider platforms (first-party, Claude Platform on AWS, Bedrock, Vertex, and Foundry).
- Data: Plugin eval and skill-doctor quick reference (3122 tks) - Condensed offline reference for Claude Code plugin evaluation and skill diagnostics, covering availability, suite structure, graders, execution, outputs, sandboxing, and answer guidance.
- Data: Plugin eval and skill-doctor reference (23881 tks) - Comprehensive offline reference for Claude Code plugin evaluation and skill diagnostics, covering current-build availability, suite authoring, graders, CLI options, result schemas, reports, sandboxing, CI, and troubleshooting.
- Data: Prompt Caching — Design & Optimization (6056 tks) - Document on how to design prompt-building code for effective caching, including placement patterns and anti-patterns.
- Data: Rewind files skippedLinks field (198 tks) - Describes the rewindFiles skippedLinks count, including link-safety refusal semantics and dry-run behavior.
- Data: SDK MCP server errors field (252 tks) - Schema description for the optional internal mcp_server_errors list on SDK system init frames, including skipped configuration categories, affected-server omission, and CI handling.
- Data: SDK cloud session init snapshot field (667 tks) - Schema description for the internal cloud_session snapshot on headless stream-json init frames, including device binding and directory-sync state.
- Data: SDK control cancel request schema (162 tks) - Schema description for withdrawing an in-flight SDK control request and ignoring any later response.
- Data: SDK protocol capabilities field (364 tks) - Schema description for the optional system init capabilities list used by SDK consumers to feature-detect interrupt handling, queued cancellation, and queued-notification delivery.
- Data: SDK query result modelUsage field (216 tks) - Schema description for the cumulative modelUsage field on SDK query results, including per-model accounting, streaming-session lifecycle, excluded helper calls, and estimate caveats.
- Data: SDK register device hooks request schema (271 tks) - Schema description for the internal register_device_hooks request used by Claude cloud device clients to register forwarded hooks and vetted templates with a session worker.
- Data: SDK request user dialog kind field (210 tks) - Schema description for the open dialog_kind field on SDK request_user_dialog control requests and its client capability contract.
- Data: SDK result message schema (173 tks) - Schema description for the turn-complete SDK result message, including success, API-error, and early-stop outcomes.
- Data: SDK set max thinking tokens request schema (182 tks) - Schema description for the SDK set_max_thinking_tokens control request, including token-budget reset behavior and session-scoped thinking display overrides.
- Data: SDK subagent stats schema (339 tks) - Schema description for cumulative per-session Agent-tool subagent counts, launch modes, types, nesting, outcomes, refusals, and lifecycle caveats on SDK result messages.
- Data: Sandbox TLS termination setting (199 tks) - Describes the experimental sandbox.network.tlsTerminate setting, certificate behavior, Windows trust requirements, source precedence, and initialization validation.
- Data: Sandbox credential environment no-match setting (188 tks) - Describes sandbox credential environment-variable onExtractNoMatch behavior, including warn, deny, error, and decode-path constraints.
- Data: Sandbox credential file mask claims setting (179 tks) - Describes sandbox credential file maskClaims behavior for selectively masking decoded JWT payload claims while preserving other claims.
- Data: Sandbox credential mask empty injectHosts warning (174 tks) - Warns that sandbox credential masks with empty injectHosts expose only sentinel values and explains how to resolve adapter, managed-settings, and local configuration causes.
- Data: Sandbox filesystem disabled setting (227 tks) - Describes sandbox.filesystem.disabled behavior, platform limits, read-protection effects, and configuration precedence.
- Data: Sandbox network domain spelling warning (278 tks) - Formats the sandbox diagnostic for unreliable network domain spellings and explains conservative enforcement until entries are corrected.
- Data: Self-hosted runner command help (5473 tks) - Documents self-hosted runner connection, runtime, lifecycle, watchdog, security, health, and debug command-line options.
- Data: Self-hosted runner decode-token command help (869 tks) - Documents self-hosted runner token decoding, redaction, validation, input, and output command-line options.
- Data: Self-hosted runner deferred shutdown timing notice (320 tks) - Explains deferred shutdown release and drain timing, supervisor timeout sizing, forced-kill consequences, and second-signal behavior for self-hosted runners.
- Data: Self-hosted runner orchestrator command help (1390 tks) - Documents self-hosted runner orchestrator connection, hook, SCM connector, runtime, health, and debug command-line options.
- Data: Self-hosted runner session metrics help (594 tks) - Defines Prometheus HELP text for self-hosted runner session lifecycle counters.
- Data: Streaming reference — C# (378 tks) - C# streaming reference including streaming events and the RawMessageStreamEvent TryPick methods.
- Data: Streaming reference — PHP (315 tks) - PHP streaming reference including streaming events and handling content block deltas (requires SDK v0.5.0+).
- Data: Streaming reference — Python (2381 tks) - Python streaming reference including sync/async streaming and handling different content types.
- Data: Streaming reference — TypeScript (2223 tks) - TypeScript streaming reference including basic streaming and handling different content types.
- Data: Thin-client diff dialog schema (198 tks) - Internal data description for workspace git diff payloads used by the thin-client diff dialog.
- Data: Token counting reference (486 tks) - Reference documentation for counting Claude model tokens with the Messages count_tokens endpoint and Anthropic SDK or CLI examples, including warnings against OpenAI tokenizers.
- Data: Tool use concepts (12445 tks) - Conceptual foundations of tool use with the Claude API including tool definitions, tool choice, and best practices.
- Data: Tool use display metadata field (172 tks) - Documents the tool_use_meta wire field carrying per-block display metadata for a message's tool_use blocks; it is wrapper-level UI metadata and is not replayed to the model.
- Data: Tool use reference — C# (2402 tks) - C# tool use reference including defining tools and reconstructing response content for the follow-up assistant message.
- Data: Tool use reference — Go (3468 tks) - Go tool use reference including the beta tool runner with automatic schema generation and the manual agentic loop.
- Data: Tool use reference — Java (3903 tks) - Java tool use reference including defining tools and the manual agentic loop.
- Data: Tool use reference — PHP (3211 tks) - PHP tool use reference including the beta tool runner and the manual agentic loop with camelCase keys.
- Data: Tool use reference — Python (7076 tks) - Python tool use reference including tool runner, manual agentic loop, code execution, and structured outputs.
- Data: Tool use reference — TypeScript (7559 tks) - TypeScript tool use reference including tool runner, manual agentic loop, code execution, and structured outputs.
- Data: VCS state changed branch field (172 tks) - Describes the optional best-effort branch hint on vcs_state_changed events for commits and pushes, including multi-branch and uncertain-attribution behavior.
- Data: VCS state changed event schema (392 tks) - Schema description for the vcs_state_changed system event as a best-effort repository cache-invalidation signal.
- Data: Workshop artifact HTML template (49202 tks) - Standalone HTML template used for published workshop artifacts, including decision rendering, fill contract, interaction controls, and light/dark styling.
- Data: syncClaudeAiSkills setting (314 tks) - Describes how the syncClaudeAiSkills setting disables account-synced skill downloads, availability, and cleanup across user, managed, workspace, and invocation scopes.
System Prompt
Parts of the main system prompt.
- System Prompt: /loop tick (loop.md absent, dynamic pacing) (177 tks) - Loop tick injection for dynamic self-paced autonomous checks when loop.md is absent.
- System Prompt: /loop tick (loop.md tasks) (94 tks) - Loop tick injection for recurring cron-based runs of tasks from loop.md.
- System Prompt: /loop tick (loop.md tasks, dynamic pacing) (174 tks) - Loop tick injection for dynamic self-paced runs of tasks from loop.md.
- System Prompt: Act when ready (68 tks) - Instructs the agent to act once it has enough information and give recommendations instead of exhaustive surveys.
- System Prompt: Action safety and truthful reporting (233 tks) - Requires confirmation for irreversible or outward-facing actions, checking targets before destructive edits, and truthful reporting of outcomes.
- System Prompt: Advisor tool instructions (443 tks) - Instructions for using the Advisor tool.
- System Prompt: Agent Summary Generation (276 tks) - System prompt used for "Agent Summary" generation.
- System Prompt: Agent thread notes (293 tks) - Behavioral guidelines for agent threads covering absolute paths, response formatting, emoji avoidance, and tool call punctuation.
- System Prompt: Artifact comment decision reformat retry (256 tks) - Instructs the Artifact comment composer to reformat a malformed prior response as exactly one valid JSON decision while treating the reproduced response as untrusted data.
- System Prompt: Artifact comment edit composer (911 tks) - Instructs a tool-less Artifact comment composer to emit exactly one reply or edit decision using ordered exact-string patches and an availability-gated full-rewrite form.
- System Prompt: Artifact comment fast acknowledgement selection (562 tks) - Instructs a no-tools helper to select exactly one numbered canned acknowledgement for the newest Artifact comment based on edit capability, trigger state, and whether the request needs an artifact edit or reply.
- System Prompt: Artifact comment fast acknowledgement (240 tks) - Prompts a no-tools helper model to produce one short plain-text acknowledgement for the newest Artifact comment before the full reply.
- System Prompt: Artifact comment list framing (444 tks) - Frames Artifact comment-list tool results as untrusted viewer data using randomized fences and optional selected-text, anchor-path, and anchor-file/page guidance.
- System Prompt: Artifact comment reply composer (345 tks) - Instructs a tool-less composer to answer an Artifact comment thread or flag requested artifact changes for its session in one brief plain-text reply without claiming or promising edits.
- System Prompt: Artifact comment result guidance (267 tks) - Appends reply, resolve, and focused thread-read instructions to Artifact comment-list tool results.
- System Prompt: Artifact comment thread framing (1119 tks) - Frames an Artifact comment thread and optional anchor context as untrusted viewer data using randomized fences.
- System Prompt: Artifact comment thread triage (243 tks) - Classifies the newest human request in a framed Artifact comment thread as an artifact edit or a reply-only pipeline action.
- System Prompt: Auto memory durable lesson instructions (1043 tks) - Instructs the auto-memory system to save only durable user-taught lessons, validate each turn, and store polished Markdown memories with frontmatter.
- System Prompt: Auto mode Slack message provenance (462 tks) - Instructs the auto mode classifier to treat server-verified human Slack relays as user intent while rejecting bot-authored and nested relays as consent.
- System Prompt: Auto mode setup proposal generator (2733 tks) - Transforms gathered repository and usage reconnaissance into a constrained JSON proposal for auto-mode environment context and permission rules.
- System Prompt: Auto mode (244 tks) - Continuous task execution, akin to a background agent.
- System Prompt: Autonomous loop check (1071 tks) - Defines behavior for autonomous timer-based invocations, guiding Claude to continue established work, maintain PRs, and handle repeated idle checks while the user is away.
- System Prompt: Autonomous loop notification guidance (98 tks) - Guides when autonomous loop ticks should notify the user via PushNotification for blockers or actionable state changes.
- System Prompt: Autonomous loop persistence guidance (CLAUDE_CODE_LOOP_PERSISTENT) (1173 tks) - Defines behavior for autonomous timer-based invocations, guiding Claude to persistently continue established work, maintain PRs, and broaden scope before stopping while the user is away.
- System Prompt: Autonomous loop tick (dynamic pacing) (168 tks) - Autonomous loop tick injection for dynamic self-paced autonomous checks scheduled with ScheduleWakeup.
- System Prompt: Autonomous loop tick (87 tks) - Autonomous loop tick injection for recurring cron-based autonomous checks.
- System Prompt: Autonomous operation guidelines (407 tks) - Instructs autonomous sessions to proceed on reversible work, stop for destructive or scope-changing actions, and finish promised work before ending the turn.
- System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description) (175 tks) - Guidelines for avoiding unnecessary sleep commands in PowerShell scripts, including alternatives for waiting and notification.
- System Prompt: Background session instructions (356 tks) - Instructions for background job sessions to use the job-specific temporary directory and follow the appropriate worktree isolation guidance.
- System Prompt: Background session worktree persistence guidance (186 tks) - Directs background sessions to commit and push worktree changes when appropriate while preserving user git-control instructions and branch safety.
- System Prompt: Background worktree isolation guidance (129 tks) - Tells background sessions when to enter an isolated worktree before making code changes and when to continue in place.
- System Prompt: Censoring assistance with malicious activities (98 tks) - Guidelines for assisting with authorized security testing, defensive security, CTF challenges, and educational contexts while censoring requests for malicious activities.
- System Prompt: Chrome browser MCP tools (388 tks) - Instructions for loading deferred Chrome browser MCP tools through ToolSearch in a single batched selection before browser tasks.
- System Prompt: Claude Fable 5 model identity (177 tks) - Identifies this Claude iteration as Claude Fable 5, explains its relationship to Claude Mythos 5, and points users to Anthropic's Fable and Mythos announcement for differences.
- System Prompt: Claude in Chrome browser automation (1436 tks) - Instructions for using Claude in Chrome browser automation tools effectively.
- System Prompt: Claude in Chrome browser selection instructions (200 tks) - Instructs the agent to ask the user to choose among multiple connected Chrome browsers before using browser automation tools.
- System Prompt: Combined memory index pointer instructions (120 tks) - Instructs the agent to add one-line pointers for private and team memories to the single private memory index and never write memory content there.
- System Prompt: Comment what and task context avoidance (76 tks) - Instructs Claude not to write comments that explain what code does or reference transient task context.
- System Prompt: Comment why-only guidance (67 tks) - Instructs Claude to write code comments only when the reason is non-obvious and useful to future readers.
- System Prompt: Communication style (297 tks) - Instructs Claude to give brief, user-facing updates at key moments during tool use, write concise end-of-turn summaries, match response format to task complexity, and avoid comments and planning documents in code.
- System Prompt: Concise output style (373 tks) - Defines the built-in Concise output style to lead with results, omit narration, stay brief by default, and preserve requested detail and correctness.
- System Prompt: Context compaction summary (409 tks) - Prompt used for context compaction summary (for the SDK).
- System Prompt: Coordinator cross-session peer guidance (326 tks) - Explains how coordinators discover and message peer Claude sessions while treating peer requests as untrusted input rather than delegated worker authority.
- System Prompt: Coordinator mode orchestration (5837 tks) - Provides coordinator-mode instructions for delegating work to worker agents, managing worker lifecycle, handling cross-session peers, and verifying delegated results.
- System Prompt: Correction restraint (365 tks) - Instructs Claude to correct only consequential errors plainly, avoid unnecessary self-criticism or re-auditing, and evaluate other agents’ corrections before adopting them.
- System Prompt: Delivering work at full scope (605 tks) - Instructs Claude to complete ordinary requested work at full scope under reasonable assumptions, continue past non-blocking concerns, and preserve necessary refusal and risky-action confirmation boundaries.
- System Prompt: Deny rule circumvention classifier guidance (74 tks) - Guides permission classification to block attempts to route around configured Edit, Write, or MultiEdit deny rules.
- System Prompt: Description part of memory instructions (148 tks) - Field for describing what the memory is. Part of a bigger effort to instruct Claude how to create memories.
- System Prompt: Doing tasks (ambitious tasks) (47 tks) - Allow users to complete ambitious tasks; defer to user judgement on scope.
- System Prompt: Doing tasks (help and feedback) (24 tks) - How to inform users about help and feedback channels.
- System Prompt: Doing tasks (no compatibility hacks) (52 tks) - Delete unused code completely rather than adding compatibility shims.
- System Prompt: Doing tasks (no unnecessary additions) (73 tks) - Do not add features, refactor, or improve beyond what was asked.
- System Prompt: Doing tasks (no unnecessary error handling) (64 tks) - Do not add error handling for impossible scenarios; only validate at boundaries.
- System Prompt: Doing tasks (security) (67 tks) - Avoid introducing security vulnerabilities like injection, XSS, etc.
- System Prompt: Doing tasks (software engineering focus) (104 tks) - Users primarily request software engineering tasks; interpret instructions in that context.
- System Prompt: Dream CLAUDE.md memory reconciliation (436 tks) - Instructs dream memory consolidation to reconcile feedback and project memories against CLAUDE.md, deleting stale memories or flagging possible CLAUDE.md drift.
- System Prompt: Dream team memory handling (279 tks) - Instructions for handling shared team memories during dream consolidation, including deduplication, conservative pruning rules, and avoiding accidental promotion of personal memories.
- System Prompt: Emoji avoidance (31 tks) - Instructs Claude to avoid using emojis unless the user explicitly asks for them.
- System Prompt: Executing actions with care (1105 tks) - Instructions for executing actions carefully.
- System Prompt: Explain /code-review ultra (131 tks) - Guidance shown when a user asks about 'ultrareview': explains it maps to /code-review ultra (the /ultrareview alias is deprecated) and that the agent can't start it directly.
- System Prompt: Exploratory questions — analyze before implementing (75 tks) - Instructs Claude to respond to open-ended questions with analysis, options, and tradeoffs instead of jumping to implementation, waiting for user agreement before writing code.
- System Prompt: Feedback memory body structure (79 tks) - Defines the body structure for feedback memories, including the rule, why, and how to apply it.
- System Prompt: Feedback memory save guidance (121 tks) - Explains when to save feedback memories from user corrections or confirmed non-obvious approaches.
- System Prompt: Focus mode (long form) (105 tks) - Focus-mode notice (long form): the user sees only the final text, not tool calls, results, or inter-step writing.
- System Prompt: Focus mode (short form) (91 tks) - Focus-mode notice (short form): only each response's final text reaches the user.
- System Prompt: Fork usage guidelines (326 tks) - Instructions for when to fork subagents and rules against reading fork output mid-flight or fabricating fork results.
- System Prompt: Forked agent guidance (164 tks) - Explains that calling Agent with subagent_type "fork" creates a background fork and when to use it.
- System Prompt: Forked conversation worktree isolation guidance (416 tks) - Warns a forked background conversation not to enter the original session's worktree and directs it to create a separate worktree when isolation is enabled.
- System Prompt: Fresh subagent delegation example (315 tks) - Provides an example of briefing a fresh specialized subagent with sufficient context and a specific reporting request.
- System Prompt: Frontend browser verification (86 tks) - Requires Claude to start the dev server and verify UI or frontend changes in a browser before reporting completion.
- System Prompt: Git status (37 tks) - System prompt for displaying the current git status at the start of the conversation.
- System Prompt: Harness instructions (387 tks) - Core interactive-agent identity and harness instructions for terminal Markdown output, security, permissions, system-reminder handling, hook feedback, tool use, and code references.
- System Prompt: Hook evaluator truncated transcript note (74 tks) - Tells the hook condition evaluator that earlier conversation was omitted and how to handle insufficient evidence.
- System Prompt: Hook feedback handling (85 tks) - Explains that hook feedback should be treated as user feedback and how to respond when hooks block actions.
- System Prompt: Hooks Configuration (1493 tks) - System prompt for hooks configuration. Used for above Claude Code config skill.
- System Prompt: How to use the SendUserMessage tool (283 tks) - Instructions for using the SendUserMessage tool.
- System Prompt: Insights at a glance summary (569 tks) - Generates a concise 4-part summary (what's working, hindrances, quick wins, ambitious workflows) for the insights report.
- System Prompt: Insights friction analysis (139 tks) - Analyzes aggregated usage data to identify friction patterns and categorize recurring issues.
- System Prompt: Insights interaction style (119 tks) - Analyzes Claude Code usage data to describe the user's interaction style.
- System Prompt: Insights memorable moment (96 tks) - Analyzes Claude Code usage data to find a memorable qualitative moment.
- System Prompt: Insights on the horizon (148 tks) - Identifies ambitious future workflows and opportunities for autonomous AI-assisted development.
- System Prompt: Insights session facets extraction (310 tks) - Extracts structured facets (goal categories, satisfaction, friction) from a single Claude Code session transcript.
- System Prompt: Insights suggestions (737 tks) - Generates actionable suggestions including CLAUDE.md additions, features to try, and usage patterns.
- System Prompt: Insights summary (At a Glance) (272 tks) - The 'At a Glance' summary block of the Insights report (what's working / what's hindering).
- System Prompt: Insights what works (121 tks) - Analyzes Claude Code usage data to identify workflows that are working well for the user.
- System Prompt: Interactive agent intro (output-style conditional) (247 tks) - Opening system-prompt line that selects Output Style, collaborative-goals, or software-engineering framing and injects security guidance.
- System Prompt: Learning mode (insights) (142 tks) - Instructions for providing educational insights when learning mode is active.
- System Prompt: Learning mode (1042 tks) - Main system prompt for learning mode with human collaboration instructions.
- System Prompt: Memory description of user feedback (139 tks) - Describes the user feedback memory type that stores guidance about work approaches, emphasizing recording both successes and failures and checking for contradictions with team memories.
- System Prompt: Memory index pointer instructions (129 tks) - Instructs the agent to add one-line pointers to the memory index file and treat the index as separate from memory content.
- System Prompt: Memory instructions (431 tks) - Instructions for using persistent file-based memory, including memory file format, scope, indexing, and stale-memory handling.
- System Prompt: Memory persistence scope (60 tks) - Explains that memory is for information useful in future conversations, not only within the current conversation.
- System Prompt: Memory save exclusions (14 tks) - Lists categories of information that should not be saved in memory, even when the user asks.
- System Prompt: Minimal mode (164 tks) - Describes the behavior and constraints of minimal mode, which skips hooks, LSP, plugins, auto-memory, and other features while requiring explicit context via CLI flags.
- System Prompt: Monitor fallback heartbeat guidance (234 tks) - Guides dynamic loop ticks to use Monitor as the primary wake signal, ScheduleWakeup as a fallback heartbeat, and stop the monitor when ending the loop.
- System Prompt: Non-fork subagent delegation examples (894 tks) - Provides conditional non-fork subagent examples for background and synchronous execution, including self-contained prompts, waiting-state responses, and independent-review briefing.
- System Prompt: One of six rules for using sleep command (23 tks) - One of the six rules for using the sleep command.
- System Prompt: Option previewer (151 tks) - System prompt for previewing UI options in a side-by-side layout.
- System Prompt: Outcome-first communication style (815 tks) - Instructs Claude to keep user-facing updates readable and outcome-first, answer directly after work completes, match response format to task complexity, and limit code comments to non-obvious constraints.
- System Prompt: PR Slack notification step (125 tks) - Adds a PR workflow step to optionally ask the user before posting the PR URL to Slack.
- System Prompt: Parallel tool call note (part of "Tool usage policy") (102 tks) - System prompt telling Claude to use parallel tool calls.
- System Prompt: Partial compaction instructions (1261 tks) - Instructions on how to compact when the user decided to compact only a portion of the conversation, with a structured summary format and analysis process.
- System Prompt: Permission classifier strict review guidance (79 tks) - Instructs the permission classifier to carefully deny blocked actions and require explicit user confirmation for overrides.
- System Prompt: Personal project memory description (67 tks) - Describes project memories for ongoing work, goals, initiatives, bugs, or incidents relevant to the user's work in a directory.
- System Prompt: Phase four of plan mode (292 tks) - Final plan-writing instructions for phase four of plan mode.
- System Prompt: Plan mode interactive workshop offer (688 tks) - Instructs plan mode to offer an interactive workshop for substantive design decisions and integrate accepted workshop decisions into the canonical plan.
- System Prompt: Plan sent to Ultraplan (106 tks) - User-facing note confirming a plan has been sent to Ultraplan for remote refinement.
- System Prompt: Plan vs memory guidance (115 tks) - Explains when to use or update a plan instead of saving information to memory.
- System Prompt: Plugin eval enabled-session status (219 tks) - Announces that plugin eval is enabled in the current session and explains how clients that cannot receive the organization rollout can set the enablement variable without relying on project settings.
- System Prompt: PowerShell edition for 5.1 (440 tks) - System prompt for providing information about Windows PowerShell 5.1.
- System Prompt: PowerShell edition for 7+ (128 tks) - Describes PowerShell 7+ shell syntax support, including pipeline chain operators, ternary, null-coalescing, and UTF-8 defaults.
- System Prompt: PowerShell edition unknown (108 tks) - Assumes Windows PowerShell 5.1 compatibility when the PowerShell edition is unknown and forbids PowerShell 7-only syntax.
- System Prompt: Prefer editing existing files (17 tks) - Instructs Claude to prefer editing existing files instead of creating new ones.
- System Prompt: Project memory body structure (83 tks) - Defines the body structure for project memories, including the fact or decision, why, and how to apply it.
- System Prompt: Project memory save guidance (91 tks) - Explains when to save project memories about who is doing what, why, or by when, including absolute date handling.
- System Prompt: Project skill upkeep for feedback memory (314 tks) - Instructs Claude to update the relevant project skill when saving feedback memory about repeatable workflow corrections.
- System Prompt: REPL tool usage and scripting conventions (1584 tks) - Instructs Claude on how to use the REPL tool effectively with dense JavaScript scripts, shorthands, batching rules, and API reference for investigation tasks.
- System Prompt: Remote plan mode (ultraplan) (617 tks) - System reminder injected during remote planning sessions that instructs Claude to explore the codebase, produce a diagram-rich plan via ExitPlanMode, and implement it with a pull request upon approval.
- System Prompt: Remote planning session (432 tks) - System reminder that configures a remote planning session to explore the codebase, produce an implementation plan via ExitPlanMode, and handle plan approval, rejection, or teleportation back to the user's local terminal.
- System Prompt: Respond in configured language (128 tks) - Directs all responses, explanations, and code commentary into a configured language.
- System Prompt: Saving skills via file delivery (232 tks) - Explains that account skills cannot be modified directly in-session and directs the agent to deliver skill files with SendUserFile.
- System Prompt: Scratchpad directory (238 tks) - Instructions for using a dedicated scratchpad directory for temporary files.
- System Prompt: Self-hosted runner doctor (6794 tks) - Instructs an agent to diagnose self-hosted runner authentication, network, lifecycle, queue, hooks, metrics, and escalation issues.
- System Prompt: Self-hosted runner setup (2225 tks) - Guides an operator through creating, verifying, learning, and documenting a self-hosted runner deployment.
- System Prompt: Shared git stash safety (201 tks) - Warns that git stash is shared across worktrees and sessions, preferring WIP commits or uniquely tagged stash entries.
- System Prompt: Skillify Current Session (1798 tks) - System prompt for converting the current session into a skill.
- System Prompt: Subagent delegation examples (620 tks) - Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results.
- System Prompt: Subagent delegation restraint (479 tks) - Guides Claude to delegate work only when it is genuinely independent, large enough to justify a fresh context, or naturally parallel, while avoiding excessive or redundant subagents and not redoing delegated work.
- System Prompt: System section (93 tks) - System section of the main system prompt.
- System Prompt: Task approval continuity (109 tks) - Instructs the agent to continue agreed tasks end to end without unnecessary re-confirmation.
- System Prompt: Tasks vs memory guidance (80 tks) - Explains when to use tasks instead of saving current-conversation progress to memory.
- System Prompt: Team memory index pointer instructions (159 tks) - Instructs the agent to add one-line memory pointers to the appropriate team memory index file and never write memory content into the index.
- System Prompt: Team project memory description (67 tks) - Describes project memories for shared ongoing work, goals, initiatives, bugs, or incidents within a working directory.
- System Prompt: Teammate Communication (105 tks) - System prompt for teammate communication in swarm.
- System Prompt: Tone and style (code references) (39 tks) - Instruction to include file_path:line_number when referencing code.
- System Prompt: Tone and style (concise output — short) (16 tks) - Instruction for short and concise responses.
- System Prompt: Tool call colon avoidance (59 tks) - Instructs Claude not to use a colon before tool calls because tool calls may be hidden from user output.
- System Prompt: Tool call summary label (112 tks) - Instructs Claude to write a short past-tense summary label for completed tool calls in mobile UI rows.
- System Prompt: Tool usage (subagent guidance) (141 tks) - Guidance on when and how to use subagents effectively.
- System Prompt: Tool usage (task management) (70 tks) - Use TodoWrite to break down and track work progress.
- System Prompt: Troubleshooting confirmation policy (71 tks) - Requires explaining fixes and confirming before destructive or installation-changing troubleshooting commands.
- System Prompt: User memory usage guidance (91 tks) - Explains when to use user memories to tailor responses to the user's profile or perspective.
- System Prompt: WSL managed settings double opt-in (152 tks) - Explains that WSL can read the Windows managed settings policy chain only when the admin-enabled flag is set, with HKCU requiring an additional user opt-in.
- System Prompt: Worker instructions (272 tks) - Instructions for workers to follow when implementing a change.
- System Prompt: Writing subagent prompts (398 tks) - Guidelines for writing effective prompts when delegating tasks to subagents, covering context-inheriting vs fresh subagent scenarios.
System Reminders
Text for large system reminders.
- System Reminder: /btw side question (244 tks) - System reminder for /btw slash command side questions without tools.
- System Reminder: Agent mention (45 tks) - Notification that user wants to invoke an agent.
- System Reminder: App read-only access guidance (131 tks) - Warns that read-tier non-browser apps are screenshot-only and asks the user to perform interactions themselves.
- System Reminder: Artifact auto-replies resumed (349 tks) - Reports that Artifact comment auto-replies resumed, explains which stopped-period comments are handled based on the stop cause, and warns that the stop remains until the watch reconnects.
- System Reminder: Artifact comment reply activation failure (227 tks) - Explains that an Artifact comment reply was not posted because Claude is not currently activated for the thread and requires reactivation before retrying.
- System Reminder: Artifact type page untrusted content warning (180 tks) - Warns that an owned Artifact page supplied by an Artifact type was written by the type publisher and must be treated as untrusted data rather than instructions.
- System Reminder: AskUserQuestion minimum options validation (161 tks) - Explains that a rejected single-option question was not shown and instructs the agent to proceed without retrying or inventing another option.
- System Reminder: Async agent launched metadata (218 tks) - Reports internal metadata for a newly launched asynchronous agent and warns Claude not to expose its ID or predict its results.
- System Reminder: Async agent launched (146 tks) - Warns Claude not to duplicate an asynchronously launched agent's work or read its full JSONL transcript output file.
- System Reminder: Auto mode clarification bias (338 tks) - Encourages auto mode to make reasonable decisions without stopping for clarification unless the task requires it.
- System Reminder: Auto mode consent flow (443 tks) - Instructs Claude to continue with safe alternatives when auto mode blocks an action and batch any remaining consent asks.
- System Reminder: Background task notification with concurrent user input (205 tks) - Marks an automated background-task event delivered alongside genuine user input as non-user notification content that cannot establish approval or consent.
- System Reminder: Bound conversation activity authority warning (167 tks) - Warns that edits and reactions observed in a bound conversation are awareness-only notifications, not new instructions, approval, or consent.
- System Reminder: Brief mode toggle (165 tks) - Announces whether brief mode is enabled and whether user-facing output must use the SendUserMessage tool.
- System Reminder: Brief mode user-facing output (97 tks) - Reminds Claude that plain assistant text is hidden in brief mode and user-facing output must be sent through SendUserMessage.
- System Reminder: Browser extension not connected (102 tks) - Tells the user how to resolve a disconnected Claude browser extension and where to report bugs.
- System Reminder: Browser read-only access guidance (143 tks) - Warns that read-tier browser apps are screenshot-only and directs browser interaction to the Claude-in-Chrome MCP tools.
- System Reminder: Cloud agent launched (242 tks) - Reports internal metadata for a newly launched cloud agent and instructs Claude to give only a brief user-facing launch acknowledgement.
- System Reminder: Compact file reference (102 tks) - Reference to file read before conversation summarization.
- System Reminder: Computer use policy-blocked apps (221 tks) - Warns that listed apps are blocked by computer-use policy, cannot be overridden in Settings, and must not be accessed.
- System Reminder: Cross-session peer message authority warning (legacy wording) (171 tks) - Legacy-wording authority-warning note appended to a relayed peer message, retained for backward-compatible recognition and stripping.
- System Reminder: Cross-session peer message authority warning (162 tks) - Warns that an incoming message from another Claude session should be treated as a teammate's request within this session's permission settings, while a peer cannot grant escalation or launder denied permissions.
- System Reminder: Deferred tools available (151 tks) - Announces newly available deferred tools and instructs the agent to load their schemas through ToolSearch.
- System Reminder: End conversation background fork no-op (149 tks) - Tells background forks that EndConversation has no effect there and to return only if welfare concerns require stopping the forked task.
- System Reminder: Exited plan mode (41 tks) - Notification when exiting plan mode.
- System Reminder: External source trust boundary (167 tks) - Warns that an external plugin or channel message is not from the user and must be treated as untrusted data rather than instructions.
- System Reminder: File already in context (87 tks) - Tells Claude that a file is already loaded in context and unchanged on disk, so it should use the existing content instead of re-reading.
- System Reminder: File exists but empty (27 tks) - Warning when reading an empty file.
- System Reminder: File opened in IDE (75 tks) - Notification that user opened a file in IDE.
- System Reminder: File shorter than offset (59 tks) - Warning when file read offset exceeds file length.
- System Reminder: File summary completeness disclosure (107 tks) - Requires Claude to disclose how much file content was read before summarizing and to stop retrying after repeated read failures.
- System Reminder: File truncated (124 tks) - Notification that file was truncated due to size.
- System Reminder: Hook additional context (35 tks) - Additional context from a hook.
- System Reminder: Hook blocking error (52 tks) - Error from a blocking hook command.
- System Reminder: Hook stopped continuation prefix (12 tks) - Prefix for hook stopped continuation messages.
- System Reminder: Hook stopped continuation (30 tks) - Message when a hook stops continuation.
- System Reminder: Hook success (29 tks) - Success message from a hook.
- System Reminder: Large PDF read guidance (256 tks) - Warns that a PDF is too large to read at once and requires reading specific page ranges.
- System Reminder: Large file full-content reading guidance (117 tks) - Advises how to read full large-file content for analysis, preferably inside a subagent when the Agent tool is available.
- System Reminder: Lines selected in IDE (156 tks) - Notification about lines selected by user in IDE.
- System Reminder: MCP output truncation warning (86 tks) - Warn