diff --git a/README.md b/README.md index f2d5c21..52d9308 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Download it and try it out for free! **https://piebald.ai/** > [!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.252](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.252) (August 31st, 2026).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 275 versions since v2.0.14. From the team behind [ **Piebald.**](https://piebald.ai/) +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.257](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.257) (September 1st, 2026).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 276 versions since v2.0.14. From the team behind [ **Piebald.**](https://piebald.ai/) **This repository is updated within minutes of each Claude Code release. See the [changelog](./CHANGELOG.md), and follow [@PiebaldAI](https://x.com/PiebaldAI) on X for a summary of the system prompt changes in each release.** @@ -86,6 +86,7 @@ Sub-agents and utilities. #### Slash Commands - [Agent Prompt: /batch slash command](./system-prompts/agent-prompt-batch-slash-command.md) (**1106** tks) - Instructions for orchestrating a large, parallelizable change across a codebase. +- [Agent Prompt: /code-review GitLab comment posting](./system-prompts/agent-prompt-code-review-gitlab-comment-posting.md) (**312** tks) - Directs code review findings to a general GitLab merge request note when the comment flag is enabled. - [Agent Prompt: /code-review inline gap sweep phase](./system-prompts/agent-prompt-code-review-inline-gap-sweep-phase.md) (**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](./system-prompts/agent-prompt-code-review-minimal-mode.md) (**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](./system-prompts/agent-prompt-code-review-part-1-base-finder-angles.md) (**145** tks) - Line-by-line diff scan instructions for the /code-review slash command's finder-angle phase. @@ -101,7 +102,7 @@ Sub-agents and utilities. - [Agent Prompt: /code-review part 9 fix application](./system-prompts/agent-prompt-code-review-part-9-fix-application.md) (**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](./system-prompts/agent-prompt-code-review-unavailable-agent-inline-mode.md) (**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](./system-prompts/agent-prompt-rename-auto-generate-session-name.md) (**80** tks) - Prompt used by /rename (no args) to auto-generate a kebab-case session name from conversation context. -- [Agent Prompt: /schedule slash command](./system-prompts/agent-prompt-schedule-slash-command.md) (**4440** tks) - Guides the user through scheduling, updating, listing, or running remote Claude Code agents on cron triggers via the Anthropic cloud API. +- [Agent Prompt: /schedule slash command](./system-prompts/agent-prompt-schedule-slash-command.md) (**4497** 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](./system-prompts/agent-prompt-security-review-slash-command.md) (**2521** tks) - Comprehensive security review prompt for analyzing code changes with focus on exploitable vulnerabilities. - [Agent Prompt: /simplify slash command](./system-prompts/agent-prompt-simplify-slash-command.md) (**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](./system-prompts/agent-prompt-simplify-unavailable-agent-inline-mode.md) (**621** tks) - Runs the /simplify cleanup workflow inline across reuse, simplification, efficiency, and altitude angles when the Agent tool is unavailable. @@ -110,7 +111,7 @@ Sub-agents and utilities. #### Utilities - [Agent Prompt: Agent Hook](./system-prompts/agent-prompt-agent-hook.md) (**234** tks) - Evaluates agent hook conditions against the codebase and, when available, the conversation transcript, then returns a structured pass/fail result. -- [Agent Prompt: Artifact comment thread analyst](./system-prompts/agent-prompt-artifact-comment-thread-analyst.md) (**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: Artifact comment thread analyst](./system-prompts/agent-prompt-artifact-comment-thread-analyst.md) (**750** tks) - Instructs a read-only agent to analyze one Artifact comment thread and return a constrained analysis brief for a separate composer. - [Agent Prompt: Artifact editor thread follow-up](./system-prompts/agent-prompt-artifact-editor-thread-follow-up.md) (**328** tks) - Delivers a tagged Artifact thread message to the active editor worker, requiring page-scoped edits and republishing for relevant requests and no changes for unrelated ones. - [Agent Prompt: Auto mode rule reviewer](./system-prompts/agent-prompt-auto-mode-rule-reviewer.md) (**292** tks) - Reviews and critiques user-defined auto mode classifier rules for clarity, completeness, conflicts, and actionability. - [Agent Prompt: Away summary generation](./system-prompts/agent-prompt-away-summary-generation.md) (**73** tks) - Prompts a no-tools away-summary generation run to recap the goal, current task, and next action when the user returns. @@ -171,7 +172,7 @@ The content of various template files embedded in Claude Code. - [Data: Claude API reference — Ruby](./system-prompts/data-claude-api-reference-ruby.md) (**1949** tks) - Ruby SDK reference including installation, client initialization, basic requests, streaming, and beta tool runner. - [Data: Claude Code agent proxy troubleshooting guide](./system-prompts/data-claude-code-agent-proxy-troubleshooting-guide.md) (**2176** 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](./system-prompts/data-claude-code-gateway-customer-routed-inference-protocol.md) (**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](./system-prompts/data-claude-code-gateway-protocol.md) (**5420** 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 gateway protocol](./system-prompts/data-claude-code-gateway-protocol.md) (**5452** 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](./system-prompts/data-claude-code-live-documentation-sources.md) (**2477** tks) - WebFetch URLs for fetching current Claude Code documentation from official sources. - [Data: Claude Code recent changes reference](./system-prompts/data-claude-code-recent-changes-reference.md) (**1821** tks) - Reference mapping of recently removed or renamed Claude Code commands, flags, and terms to their current replacements. - [Data: Claude Platform on AWS reference](./system-prompts/data-claude-platform-on-aws-reference.md) (**1805** 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. @@ -213,7 +214,9 @@ The content of various template files embedded in Claude Code. - [Data: Message Batches API reference — Python](./system-prompts/data-message-batches-api-reference-python.md) (**2038** tks) - Python Batches API reference including batch creation, status polling, and result retrieval at 50% cost. - [Data: Message Batches API — TypeScript](./system-prompts/data-message-batches-api-typescript.md) (**1022** tks) - TypeScript usage guide for Claude's asynchronous Message Batches endpoint. - [Data: Peer sender display name field](./system-prompts/data-peer-sender-display-name-field.md) (**199** tks) - Schema description for the normalized display name on cross-session peer message senders. -- [Data: Platform availability](./system-prompts/data-platform-availability.md) (**2982** tks) - Feature availability matrix across Claude API provider platforms (first-party, Claude Platform on AWS, Bedrock, Vertex, and Foundry). +- [Data: Platform availability](./system-prompts/data-platform-availability.md) (**3652** tks) - Feature availability matrix across Claude API provider platforms (first-party, Claude Platform on AWS, Bedrock, Vertex, and Foundry). +- [Data: Plugin JSX runtime shim](./system-prompts/data-plugin-jsx-runtime-shim.md) (**1386** tks) - Provides the JSX runtime used by plugin render hooks to construct supported UI elements and button press handlers. +- [Data: Published model catalog seed guidance](./system-prompts/data-published-model-catalog-seed-guidance.md) (**203** tks) - Documents the compiled model catalog seed's role, provenance, refresh process, and minimum accepted version. - [Data: Query result pending command count](./system-prompts/data-query-result-pending-command-count.md) (**167** tks) - Describes the query result field that counts queued user sends still awaiting turns and clarifies when it is absent or zero. - [Data: Rate limit unified windows](./system-prompts/data-rate-limit-unified-windows.md) (**325** tks) - Describes per-window subscription rate-limit utilization and reset data derived from unified rate-limit response headers. - [Data: Review upload excluded changes error](./system-prompts/data-review-upload-excluded-changes-error.md) (**303** tks) - Error shown when a review upload has no new commits or uploadable changes because every uncommitted file was excluded from the git bundle. @@ -221,7 +224,7 @@ The content of various template files embedded in Claude Code. - [Data: SDK MCP server errors field](./system-prompts/data-sdk-mcp-server-errors-field.md) (**318** 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 Remote Control availability field](./system-prompts/data-sdk-remote-control-availability-field.md) (**194** tks) - Schema description for the optional internal remote_control_available initialize-response field, including stable deployment gates, IDE behavior, and the older-CLI default. - [Data: SDK assistant user message UUID field](./system-prompts/data-sdk-assistant-user-message-uuid-field.md) (**252** tks) - Schema description for the optional user_message_uuid join key on the first SDK assistant reply frame, including partial-stream placement, exclusions, and backward compatibility. -- [Data: SDK cloud session init snapshot field](./system-prompts/data-sdk-cloud-session-init-snapshot-field.md) (**1240** tks) - Schema description for the internal cloud_session snapshot on headless stream-json init frames, including device binding and directory-sync state. +- [Data: SDK cloud session init snapshot field](./system-prompts/data-sdk-cloud-session-init-snapshot-field.md) (**1930** 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](./system-prompts/data-sdk-control-cancel-request-schema.md) (**162** tks) - Schema description for withdrawing an in-flight SDK control request and ignoring any later response. - [Data: SDK error result user message UUID field](./system-prompts/data-sdk-error-result-user-message-uuid-field.md) (**201** tks) - Schema description for the optional user_message_uuid join key on SDK error results, including delivery-failure queue keys, exclusions, and backward compatibility. - [Data: SDK footer indicator schema](./system-prompts/data-sdk-footer-indicator-schema.md) (**198** tks) - Schema description for the server-configured SDK footer indicator carried on system/init and initialize responses so host UIs can render the terminal status pill. @@ -281,14 +284,14 @@ Parts of the main system prompt. - [System Prompt: Artifact comment edit composer](./system-prompts/system-prompt-artifact-comment-edit-composer.md) (**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](./system-prompts/system-prompt-artifact-comment-fast-acknowledgement-selection.md) (**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](./system-prompts/system-prompt-artifact-comment-fast-acknowledgement.md) (**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](./system-prompts/system-prompt-artifact-comment-list-framing.md) (**549** 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 list framing](./system-prompts/system-prompt-artifact-comment-list-framing.md) (**681** 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](./system-prompts/system-prompt-artifact-comment-reply-composer.md) (**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](./system-prompts/system-prompt-artifact-comment-result-guidance.md) (**307** tks) - Appends reply, resolve, and focused thread-read instructions to Artifact comment-list tool results. -- [System Prompt: Artifact comment thread framing](./system-prompts/system-prompt-artifact-comment-thread-framing.md) (**1347** tks) - Frames an Artifact comment thread and optional anchor context as untrusted viewer data using randomized fences. +- [System Prompt: Artifact comment thread framing](./system-prompts/system-prompt-artifact-comment-thread-framing.md) (**2006** tks) - Frames an Artifact comment thread and optional anchor context as untrusted viewer data using randomized fences. - [System Prompt: Artifact comment thread triage](./system-prompts/system-prompt-artifact-comment-thread-triage.md) (**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](./system-prompts/system-prompt-auto-memory-durable-lesson-instructions.md) (**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](./system-prompts/system-prompt-auto-mode-slack-message-provenance.md) (**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](./system-prompts/system-prompt-auto-mode-setup-proposal-generator.md) (**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 setup proposal generator](./system-prompts/system-prompt-auto-mode-setup-proposal-generator.md) (**2740** tks) - Transforms gathered repository and usage reconnaissance into a constrained JSON proposal for auto-mode environment context and permission rules. - [System Prompt: Auto mode](./system-prompts/system-prompt-auto-mode.md) (**244** tks) - Continuous task execution, akin to a background agent. - [System Prompt: Autonomous loop check](./system-prompts/system-prompt-autonomous-loop-check.md) (**1484** 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](./system-prompts/system-prompt-autonomous-loop-notification-guidance.md) (**98** tks) - Guides when autonomous loop ticks should notify the user via PushNotification for blockers or actionable state changes. @@ -302,7 +305,8 @@ Parts of the main system prompt. - [System Prompt: Background worktree isolation guidance](./system-prompts/system-prompt-background-worktree-isolation-guidance.md) (**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](./system-prompts/system-prompt-censoring-assistance-with-malicious-activities.md) (**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](./system-prompts/system-prompt-chrome-browser-mcp-tools.md) (**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](./system-prompts/system-prompt-claude-fable-5-model-identity.md) (**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 Fable 5 model identity](./system-prompts/system-prompt-claude-fable-5-model-identity.md) (**202** tks) - Identifies this Claude iteration as Claude Fable 5, explains its relationship to Claude Mythos 5, and links to Anthropic's comparison announcement. +- [System Prompt: Claude Fable 5.1 model identity](./system-prompts/system-prompt-claude-fable-5-1-model-identity.md) (**235** tks) - Identifies this Claude iteration as Claude Fable 5.1, explains its relationship to Claude Mythos 5.1, and points users to Anthropic's Fable and Mythos announcement for differences. - [System Prompt: Claude in Chrome browser automation](./system-prompts/system-prompt-claude-in-chrome-browser-automation.md) (**1436** tks) - Instructions for using Claude in Chrome browser automation tools effectively. - [System Prompt: Claude in Chrome browser selection instructions](./system-prompts/system-prompt-claude-in-chrome-browser-selection-instructions.md) (**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](./system-prompts/system-prompt-combined-memory-index-pointer-instructions.md) (**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. @@ -388,12 +392,13 @@ Parts of the main system prompt. - [System Prompt: Project memory save guidance](./system-prompts/system-prompt-project-memory-save-guidance.md) (**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](./system-prompts/system-prompt-project-skill-upkeep-for-feedback-memory.md) (**314** tks) - Instructs Claude to update the relevant project skill when saving feedback memory about repeatable workflow corrections. - [System Prompt: Project timeline user message provenance](./system-prompts/system-prompt-project-timeline-user-message-provenance.md) (**1208** tks) - Defines how project timeline messages from the verified owner become user turns while other relayed or fetched project content remains untrusted external data. +- [System Prompt: Publish audience-facing deliverables](./system-prompts/system-prompt-publish-audience-facing-deliverables.md) (**353** tks) - Requires finished deliverables intended for an audience to be published through an artifact or first-party document connector. - [System Prompt: REPL tool usage and scripting conventions](./system-prompts/system-prompt-repl-tool-usage-and-scripting-conventions.md) (**1710** 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)](./system-prompts/system-prompt-remote-plan-mode-ultraplan.md) (**868** 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](./system-prompts/system-prompt-remote-planning-session.md) (**610** 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: Reporting outcomes](./system-prompts/system-prompt-reporting-outcomes.md) (**261** tks) - Requires reports to distinguish observed outcomes from intentions, lead with failures or incomplete work, and avoid overstating unverified completion. - [System Prompt: Respond in configured language](./system-prompts/system-prompt-respond-in-configured-language.md) (**128** tks) - Directs all responses, explanations, and code commentary into a configured language. -- [System Prompt: Saving skills via file delivery](./system-prompts/system-prompt-saving-skills-via-file-delivery.md) (**232** tks) - Explains that account skills cannot be modified directly in-session and directs the agent to deliver skill files with SendUserFile. +- [System Prompt: Saving skills via file delivery](./system-prompts/system-prompt-saving-skills-via-file-delivery.md) (**274** tks) - Explains that account skills are not modified by filesystem writes and directs the agent to deliver complete skill files with the file-sending tool. - [System Prompt: Scratchpad directory](./system-prompts/system-prompt-scratchpad-directory.md) (**238** tks) - Instructions for using a dedicated scratchpad directory for temporary files. - [System Prompt: Self-hosted runner doctor](./system-prompts/system-prompt-self-hosted-runner-doctor.md) (**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](./system-prompts/system-prompt-self-hosted-runner-setup.md) (**2225** tks) - Guides an operator through creating, verifying, learning, and documenting a self-hosted runner deployment. @@ -426,8 +431,8 @@ Text for large system reminders. - [System Reminder: /btw side question](./system-prompts/system-reminder-btw-side-question.md) (**244** tks) - System reminder for /btw slash command side questions without tools. - [System Reminder: Agent mention](./system-prompts/system-reminder-agent-mention.md) (**45** tks) - Notification that user wants to invoke an agent. -- [System Reminder: App read-only access guidance](./system-prompts/system-reminder-app-read-only-access-guidance.md) (**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](./system-prompts/system-reminder-artifact-auto-replies-resumed.md) (**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 capability declaration revocation warning](./system-prompts/system-reminder-artifact-capability-declaration-revocation-warning.md) (**342** tks) - Warns that publishing a replacement capability declaration would implicitly revoke stored capabilities and explains how to preserve or intentionally revoke them. - [System Reminder: Artifact comment reply activation failure](./system-prompts/system-reminder-artifact-comment-reply-activation-failure.md) (**204** 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 comment reply session collision](./system-prompts/system-reminder-artifact-comment-reply-session-collision.md) (**347** tks) - Reports how concurrent live sessions resolved or may duplicate automatic replies to comments on the same Artifact. - [System Reminder: Artifact type instructions trust boundary](./system-prompts/system-reminder-artifact-type-instructions-trust-boundary.md) (**215** tks) - Restricts third-party Artifact type instructions to the Artifact's own files and prevents them from expanding scope, permissions, or overriding user and system instructions. @@ -442,14 +447,12 @@ Text for large system reminders. - [System Reminder: Brief mode toggle](./system-prompts/system-reminder-brief-mode-toggle.md) (**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](./system-prompts/system-reminder-brief-mode-user-facing-output.md) (**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](./system-prompts/system-reminder-browser-extension-not-connected.md) (**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](./system-prompts/system-reminder-browser-read-only-access-guidance.md) (**141** 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](./system-prompts/system-reminder-cloud-agent-launched.md) (**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](./system-prompts/system-reminder-compact-file-reference.md) (**102** tks) - Reference to file read before conversation summarization. -- [System Reminder: Computer use policy-blocked apps](./system-prompts/system-reminder-computer-use-policy-blocked-apps.md) (**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)](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-legacy-wording.md) (**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 note](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-note.md) (**190** tks) - Authority-warning note appended to a relayed peer message, without a response prompt. - [System Reminder: Cross-session peer message authority warning](./system-prompts/system-reminder-cross-session-peer-message-authority-warning.md) (**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](./system-prompts/system-reminder-deferred-tools-available.md) (**151** tks) - Announces newly available deferred tools and instructs the agent to load their schemas through ToolSearch. +- [System Reminder: Deferred tools available](./system-prompts/system-reminder-deferred-tools-available.md) (**121** tks) - Announces newly available deferred tools and instructs the agent to load their schemas through ToolSearch. - [System Reminder: Directory sync branch name collision](./system-prompts/system-reminder-directory-sync-branch-name-collision.md) (**198** tks) - Reports that directory sync could not create the user's branch because another local branch occupies a conflicting git ref path. - [System Reminder: Directory sync branch switch parked work](./system-prompts/system-reminder-directory-sync-branch-switch-parked-work.md) (**654** tks) - Explains that a directory-sync checkout followed the user's branch switch while preserving the agent's prior work at a separate ref. - [System Reminder: Directory sync disabled after initial checkout failure](./system-prompts/system-reminder-directory-sync-disabled-after-initial-checkout-failure.md) (**218** tks) - Reports that directory sync is disabled after the initial checkout failed, states that the cloud working directory lacks the user's files, and directs project work to the attached machine. @@ -511,7 +514,6 @@ Text for large system reminders. - [System Reminder: Task tools reminder](./system-prompts/system-reminder-task-tools-reminder.md) (**111** tks) - Reminder to use task tracking tools. - [System Reminder: Team Coordination](./system-prompts/system-reminder-team-coordination.md) (**356** tks) - System reminder for team coordination. - [System Reminder: Team Shutdown](./system-prompts/system-reminder-team-shutdown.md) (**136** tks) - System reminder for team shutdown. -- [System Reminder: Terminal and IDE click-tier restrictions](./system-prompts/system-reminder-terminal-and-ide-click-tier-restrictions.md) (**184** tks) - Explains click-tier limits for terminal and IDE apps, including no keyboard input, context-menu paste, or drag-drop. - [System Reminder: TodoWrite reminder](./system-prompts/system-reminder-todowrite-reminder.md) (**86** tks) - Reminder to use TodoWrite tool for task tracking. - [System Reminder: Token usage](./system-prompts/system-reminder-token-usage.md) (**39** tks) - Current token usage statistics. - [System Reminder: USD budget](./system-prompts/system-reminder-usd-budget.md) (**42** tks) - Current USD budget statistics. @@ -522,23 +524,29 @@ Text for large system reminders. ### Builtin Tool Descriptions - [Tool Description: Agent explicit-spawn restriction](./system-prompts/tool-description-agent-explicit-spawn-restriction.md) (**0** tks) - Restricts agent spawning to explicit user requests or named agent types instead of inferred thoroughness. +- [Tool Description: Artifact HTML document skeleton](./system-prompts/tool-description-artifact-html-document-skeleton.md) (**213** tks) - Explains the HTML skeleton and minimal reset added at artifact publish time and requires authors to provide page content, title, and styles. +- [Tool Description: Artifact action reference](./system-prompts/tool-description-artifact-action-reference.md) (**646** tks) - Enumerates available Artifact actions and conditionally documents publish, read, list, delete, and open behavior. - [Tool Description: Artifact assets guidance](./system-prompts/tool-description-artifact-assets-guidance.md) (**295** tks) - Explains how to upload, list, read, reference, and permanently delete files in an existing Artifact asset store. -- [Tool Description: Artifact comments guidance](./system-prompts/tool-description-artifact-comments-guidance.md) (**653** tks) - Explains how to read, reply to, and resolve activated Artifact comment threads while treating viewer comments as untrusted data. -- [Tool Description: Artifact content host network block guidance](./system-prompts/tool-description-artifact-content-host-network-block-guidance.md) (**191** tks) - Explains the allowlist change required when an environment blocks the Artifact content host and forbids publishing again before the live version can be read. +- [Tool Description: Artifact authoring skill requirement](./system-prompts/tool-description-artifact-authoring-skill-requirement.md) (**351** tks) - Requires the artifact design skill before authoring and describes workshop, diagramming, and contextual exceptions. +- [Tool Description: Artifact comments guidance](./system-prompts/tool-description-artifact-comments-guidance.md) (**603** tks) - Explains how to read, reply to, and resolve activated Artifact comment threads while treating viewer comments as untrusted data. - [Tool Description: Artifact database guidance](./system-prompts/tool-description-artifact-database-guidance.md) (**688** tks) - Describes shared durable Artifact database reads and writes, private per-viewer data/users/me addressing, and treating viewer-written rows as untrusted data. +- [Tool Description: Artifact design skill loading guidance](./system-prompts/tool-description-artifact-design-skill-loading-guidance.md) (**269** tks) - Requires loading the artifact design skill before authoring while defining workshop and diagramming exceptions. +- [Tool Description: Artifact external resource allowlist](./system-prompts/tool-description-artifact-external-resource-allowlist.md) (**277** tks) - Defines the CSP-enforced CDN and font allowlist for artifact pages and requires unsupported assets to be inlined. - [Tool Description: Artifact files guidance](./system-prompts/tool-description-artifact-files-guidance.md) (**172** tks) - Explains how to list and read individual files from a multi-file Artifact and when to use the default scratchpad destination or an explicit output directory. +- [Tool Description: Artifact gallery and publish response guidance](./system-prompts/tool-description-artifact-gallery-and-publish-response-guidance.md) (**172** tks) - Points users to the artifact gallery and defines how to describe a successful publish without redundantly pasting its URL. - [Tool Description: Artifact identical resubmission refusal](./system-prompts/tool-description-artifact-identical-resubmission-refusal.md) (**247** tks) - Formats the Artifact publish refusal for unchanged content previously rejected against an unseen or newer live version and requires rereading and merging before retrying. - [Tool Description: Artifact live room guidance](./system-prompts/tool-description-artifact-live-room-guidance.md) (**753** tks) - Explains transient Artifact live rooms, approval and session lifetime, rate-limited untrusted viewer events, room_send security and limits, and durable-storage alternatives. - [Tool Description: Artifact nested runtime cleanup error](./system-prompts/tool-description-artifact-nested-runtime-cleanup-error.md) (**264** tks) - Formats the Artifact publish error for irreducibly nested runtime markers, base tags, or repeated page skeletons and directs publishing the innermost clean document. -- [Tool Description: Artifact publishing and update guidance](./system-prompts/tool-description-artifact-publishing-and-update-guidance.md) (**4248** tks) - Provides Artifact lookup, update, ownership, watch, content-safety, self-containment, responsive design, theme, favicon, and anti-impersonation requirements. +- [Tool Description: Artifact publishing and update guidance](./system-prompts/tool-description-artifact-publishing-and-update-guidance.md) (**874** tks) - Provides Artifact lookup, update, ownership, watch, content-safety, self-containment, responsive design, theme, favicon, and anti-impersonation requirements. - [Tool Description: Artifact runtime capabilities guidance](./system-prompts/tool-description-artifact-runtime-capabilities-guidance.md) (**463** tks) - Explains when Artifact runtime capabilities require loading the artifact-capabilities skill, how redeploys preserve or clear capabilities, and how self-saving pages create local-version conflicts. - [Tool Description: Artifact runtime verification guidance](./system-prompts/tool-description-artifact-runtime-verification-guidance.md) (**198** tks) - Requires observing published Artifact runtime diagnostics before claiming success and explains no-viewer results and untrusted viewer-reported diagnostics. - [Tool Description: Artifact supporting files guidance](./system-prompts/tool-description-artifact-supporting-files-guidance.md) (**548** tks) - Explains how Artifact supporting-file maps, source paths, content types, and root directory resolution work. +- [Tool Description: Artifact theme-aware styling](./system-prompts/tool-description-artifact-theme-aware-styling.md) (**317** tks) - Explains artifact viewer theme states and the CSS token strategy required to support explicit and system light and dark themes. +- [Tool Description: Artifact title and description guidance](./system-prompts/tool-description-artifact-title-and-description-guidance.md) (**338** tks) - Defines concise, distinctive, stable artifact title requirements and assigns explanatory text to the description parameter. - [Tool Description: Artifact type creation guidance](./system-prompts/tool-description-artifact-type-creation-guidance.md) (**162** tks) - Explains how to create a private Artifact from a published Artifact type and then update only the resulting Artifact's own files. -- [Tool Description: Artifact type discovery guidance](./system-prompts/tool-description-artifact-type-discovery-guidance.md) (**727** tks) - Directs the agent to discover per-account published Artifact types before creating presentations, reader-facing documents, or designs, and explains type inspection and available or unavailable creation flows. +- [Tool Description: Artifact type discovery guidance](./system-prompts/tool-description-artifact-type-discovery-guidance.md) (**925** tks) - Directs the agent to discover per-account published Artifact types before creating presentations, reader-facing documents, or designs, and explains type inspection and available or unavailable creation flows. - [Tool Description: Artifact unsupported supporting file error](./system-prompts/tool-description-artifact-unsupported-supporting-file-error.md) (**239** tks) - Formats the Artifact publish error for a supporting file whose content type cannot be served. - [Tool Description: Artifact watch approval explanation](./system-prompts/tool-description-artifact-watch-approval-explanation.md) (**271** tks) - Explains the approval scope and local or cloud notification behavior when Claude watches an Artifact, including optional comment delivery and unattended replies. -- [Tool Description: Artifact](./system-prompts/tool-description-artifact.md) (**1460** tks) - Describes the Artifact tool for deploying self-contained HTML or Markdown pages, including file-first usage, update behavior, CSP constraints, responsive design, and favicon requirements. - [Tool Description: AskUserQuestion decision guidance](./system-prompts/tool-description-askuserquestion-decision-guidance.md) (**60** tks) - Additional guidance for using AskUserQuestion only when the user's answer changes what the agent should do next. - [Tool Description: AskUserQuestion](./system-prompts/tool-description-askuserquestion.md) (**220** tks) - Tool description for asking user questions. - [Tool Description: Background monitor WebSocket source](./system-prompts/tool-description-background-monitor-websocket-source.md) (**300** tks) - Addendum to the background monitor tool description covering the WebSocket (ws) source, which opens a WebSocket and streams each incoming text frame as a notification event instead of running a shell command, with notes on binary frames, socket close, and rate limiting. @@ -558,27 +566,12 @@ Text for large system reminders. - [Tool Description: Claude in Chrome switch browser](./system-prompts/tool-description-claude-in-chrome-switch-browser.md) (**88** tks) - Describes the Claude in Chrome switch_browser tool for letting the user choose a browser from inside connected Chrome extensions. - [Tool Description: Claude in Chrome tabs context](./system-prompts/tool-description-claude-in-chrome-tabs-context.md) (**90** tks) - Describes the Claude in Chrome tabs_context_mcp tool for retrieving the current MCP tab group context. - [Tool Description: ClaudeDesign](./system-prompts/tool-description-claudedesign.md) (**560** tks) - Describes the ClaudeDesign tool for working with claude.ai/design projects, including project and file operations, previews, plan tokens, and live design output conventions. -- [Tool Description: Computer computer_batch coordinate reference guidance](./system-prompts/tool-description-computer-computer-batch-coordinate-reference-guidance.md) (**75** tks) - Requires every click and zoom region in a Computer batch to use the full-screen screenshot captured before the call. -- [Tool Description: Computer computer_batch next-call coordinate reference](./system-prompts/tool-description-computer-computer-batch-next-call-coordinate-reference.md) (**41** tks) - Makes the latest full screenshot returned by a Computer batch the coordinate reference for the next call. -- [Tool Description: Computer computer_batch screenshot result guidance](./system-prompts/tool-description-computer-computer-batch-screenshot-result-guidance.md) (**41** tks) - Explains that screenshot and zoom actions are allowed in a Computer batch and return images alongside action outputs. -- [Tool Description: Computer computer_batch](./system-prompts/tool-description-computer-computer-batch.md) (**119** tks) - Describes the computer-use computer_batch tool for executing a sequence of computer actions in one call. -- [Tool Description: Computer hold_key](./system-prompts/tool-description-computer-hold-key.md) (**78** tks) - Describes the computer-use hold_key tool for pressing and holding keys or key combinations with allowlist and system-combo checks. -- [Tool Description: Computer left_mouse_down](./system-prompts/tool-description-computer-left-mouse-down.md) (**95** tks) - Describes the computer-use left_mouse_down tool for holding the left mouse button at the current cursor position. -- [Tool Description: Computer left_mouse_up](./system-prompts/tool-description-computer-left-mouse-up.md) (**81** tks) - Describes the computer-use left_mouse_up tool for releasing the left mouse button at the current cursor position. -- [Tool Description: Computer request_access Windows UIPI limitation](./system-prompts/tool-description-computer-request-access-windows-uipi-limitation.md) (**56** tks) - Explains that Windows UIPI prevents Computer from controlling elevated processes and directs the user to handle them manually. -- [Tool Description: Computer request_access Windows platform prefix](./system-prompts/tool-description-computer-request-access-windows-platform-prefix.md) (**34** tks) - Identifies Windows and File Explorer in the Computer request_access tool description. -- [Tool Description: Computer request_access elevated process prefix](./system-prompts/tool-description-computer-request-access-elevated-process-prefix.md) (**35** tks) - Introduces the elevated Windows processes that Computer cannot control. -- [Tool Description: Computer request_access macOS platform prefix](./system-prompts/tool-description-computer-request-access-macos-platform-prefix.md) (**26** tks) - Identifies macOS and Finder in the Computer request_access tool description. -- [Tool Description: Computer request_access screen takeover consent guidance](./system-prompts/tool-description-computer-request-access-screen-takeover-consent-guidance.md) (**39** tks) - Explains that screen takeover consent is raised automatically by the first display-scope action after background work. -- [Tool Description: Computer request_access screen takeover consent prefix](./system-prompts/tool-description-computer-request-access-screen-takeover-consent-prefix.md) (**33** tks) - Begins the warning that application access does not grant permission to take over the screen. -- [Tool Description: Computer request_access](./system-prompts/tool-description-computer-request-access.md) (**82** tks) - Describes the computer-use request_access tool for asking user permission to control applications in the session. -- [Tool Description: Computer type](./system-prompts/tool-description-computer-type.md) (**79** tks) - Describes the computer-use type tool for entering text into the focused allowlisted application. -- [Tool Description: Computer zoom](./system-prompts/tool-description-computer-zoom.md) (**91** tks) - Describes the computer-use zoom tool for taking read-only higher-resolution screenshots of regions. - [Tool Description: Computer](./system-prompts/tool-description-computer.md) (**161** tks) - Main description for the Chrome browser computer automation tool. - [Tool Description: Cowork onboarding role picker](./system-prompts/tool-description-cowork-onboarding-role-picker.md) (**188** tks) - Describes the Cowork onboarding role-picker tool that returns a selected or typed role and should only be used while setting up Cowork for the user's job function. - [Tool Description: Cowork plugin creation](./system-prompts/tool-description-cowork-plugin-creation.md) (**86** tks) - Describes the command for creating or customizing Cowork plugins for an organization. - [Tool Description: CronCreate](./system-prompts/tool-description-croncreate.md) (**1146** tks) - Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance. - [Tool Description: DesignSync](./system-prompts/tool-description-designsync.md) (**0** tks) - Describes the DesignSync tool for reading and updating claude.ai/design design-system projects, including project listing, plan finalization, file writes and deletes, and asset registration. +- [Tool Description: Durable artifact watch and status guidance](./system-prompts/tool-description-durable-artifact-watch-and-status-guidance.md) (**414** tks) - Explains durable artifact wake subscriptions, optional comment wakes, status checks, and watch registration semantics. - [Tool Description: Edit minimal old_string guidance](./system-prompts/tool-description-edit-minimal-old-string-guidance.md) (**92** tks) - Additional Edit guidance to keep old_string minimal and unique or use replace_all. - [Tool Description: Edit single replacement](./system-prompts/tool-description-edit-single-replacement.md) (**242** tks) - Tool description for performing exact string replacement in a file, including prior-read and line-prefix requirements. - [Tool Description: Edit](./system-prompts/tool-description-edit.md) (**392** tks) - Tool for performing exact string replacements in files. @@ -587,6 +580,7 @@ Text for large system reminders. - [Tool Description: EnterWorktree](./system-prompts/tool-description-enterworktree.md) (**1062** tks) - Creates a new isolated worktree or enters an existing one only when explicitly requested, with eligibility, switching, lifecycle, and cleanup rules. - [Tool Description: ExitPlanMode](./system-prompts/tool-description-exitplanmode.md) (**648** tks) - Description for the ExitPlanMode tool, which presents a plan dialog for the user to approve. - [Tool Description: ExitWorktree](./system-prompts/tool-description-exitworktree.md) (**527** tks) - Roughly, the reverse of the ExitWorktree. +- [Tool Description: Finding artifacts from earlier sessions](./system-prompts/tool-description-finding-artifacts-from-earlier-sessions.md) (**238** tks) - Explains how to list and recover artifacts from earlier sessions and conditionally provides client-specific follow-up guidance. - [Tool Description: Glob compact](./system-prompts/tool-description-glob-compact.md) (**0** tks) - Compact Glob tool description served to newer models — file pattern matching returning paths sorted by modification time. - [Tool Description: Glob](./system-prompts/tool-description-glob.md) (**90** tks) - Tool description for file pattern matching and searching by name. - [Tool Description: Grep compact](./system-prompts/tool-description-grep-compact.md) (**0** tks) - Compact Grep tool description served to newer models — ripgrep-backed content search preferred over raw grep/rg, with permission-UI integration. @@ -597,10 +591,12 @@ Text for large system reminders. - [Tool Description: ListConnectors](./system-prompts/tool-description-listconnectors.md) (**234** tks) - Describes the ListConnectors tool for listing installed claude.ai MCP connectors, filtering by keyword, and interpreting org-level connection and chat-enabled status. - [Tool Description: ListMcpResourcesTool prompt](./system-prompts/tool-description-listmcpresourcestool-prompt.md) (**83** tks) - Tool prompt for listing MCP resources and explaining the optional server parameter. - [Tool Description: ListMcpResourcesTool](./system-prompts/tool-description-listmcpresourcestool.md) (**82** tks) - Tool description for listing available MCP resources from all configured servers or a specific server. +- [Tool Description: Live artifact watch guidance](./system-prompts/tool-description-live-artifact-watch-guidance.md) (**385** tks) - Explains live artifact change subscriptions, comment wake behavior, session scope, and truthful watch-status reporting. - [Tool Description: Navigate](./system-prompts/tool-description-navigate.md) (**218** tks) - Describes the browser navigate tool for opening URLs and moving forward or backward in tab history. - [Tool Description: NotebookEdit](./system-prompts/tool-description-notebookedit.md) (**194** tks) - Tool description for editing Jupyter notebook cells by replacing, inserting, or deleting a cell using cell IDs from the read tool. - [Tool Description: Poll](./system-prompts/tool-description-poll.md) (**414** tks) - Describes the Poll tool for waiting on queued harness events, signaling idleness, and interpreting event provenance, nonce manifests, and chunked delivery. - [Tool Description: PowerShell](./system-prompts/tool-description-powershell.md) (**2850** tks) - Describes the PowerShell command execution tool with syntax guidance, timeout settings, and instructions to prefer specialized tools over PowerShell for file operations. +- [Tool Description: Prohibited artifact publishing](./system-prompts/tool-description-prohibited-artifact-publishing.md) (**171** tks) - Prohibits publishing impersonation, fabricated records, deceptive collection flows, and content targeting private individuals. - [Tool Description: ProposeGoal](./system-prompts/tool-description-proposegoal.md) (**421** tks) - Describes proposing a verifiable multi-turn session goal, requiring user approval unless the user explicitly requested the exact outcome. - [Tool Description: PushNotification](./system-prompts/tool-description-pushnotification.md) (**407** tks) - Tool description for PushNotification. This is a tool that sends a desktop notification in the user's terminal and pushes to their phone if Remote Control is connected. - [Tool Description: REPL](./system-prompts/tool-description-repl.md) (**1060** tks) - Describes the REPL tool, a JavaScript programming interface for looping, branching, and composing Claude Code tool calls as async functions. @@ -610,11 +606,12 @@ Text for large system reminders. - [Tool Description: ReadNotifications](./system-prompts/tool-description-readnotifications.md) (**284** tks) - Describes the ReadNotifications tool for draining queued GitHub, scheduled-trigger, and cross-session notifications in authoritative batches. - [Tool Description: RefreshMcpTools prompt](./system-prompts/tool-description-refreshmcptools-prompt.md) (**167** tks) - Tool prompt for refreshing one or all connected MCP servers tool lists and interpreting per-server results. - [Tool Description: RefreshMcpTools](./system-prompts/tool-description-refreshmcptools.md) (**318** tks) - Describes when and how to refresh connected MCP servers tool lists to recover missing or stale tools. +- [Tool Description: Remote artifact watch guidance](./system-prompts/tool-description-remote-artifact-watch-guidance.md) (**276** tks) - Explains durable remote artifact wake subscriptions, registration, comment wakes, and truthful watch-status reporting. - [Tool Description: RemoteTrigger prompt](./system-prompts/tool-description-remotetrigger-prompt.md) (**955** tks) - Tool prompt for calling the claude.ai RemoteTrigger API to list, get, create, update, or run scheduled remote agent routines. - [Tool Description: Report code-review findings](./system-prompts/tool-description-report-code-review-findings.md) (**163** tks) - Tool description for reporting verified code-review findings as a typed list for host UI rendering. - [Tool Description: ScheduleWakeup delay and reason guidance](./system-prompts/tool-description-schedulewakeup-delay-and-reason-guidance.md) (**1774** tks) - Extends the ScheduleWakeup tool description with no-op reporting, prompt-cache-aware delay selection, and concise reason-field guidance. - [Tool Description: SearchMcpRegistry](./system-prompts/tool-description-searchmcpregistry.md) (**377** tks) - Describes the SearchMcpRegistry tool for discovering MCP connectors by keyword, including named-product and intent-based examples and install-state guidance. -- [Tool Description: SearchPlugins](./system-prompts/tool-description-searchplugins.md) (**220** tks) - Describes the SearchPlugins tool for finding relevant claude.ai org catalog plugins by keyword and suggesting install cards when results fit. +- [Tool Description: SearchPlugins](./system-prompts/tool-description-searchplugins.md) (**237** tks) - Describes the SearchPlugins tool for finding relevant claude.ai org catalog plugins by keyword and suggesting install cards when results fit. - [Tool Description: SearchSkills](./system-prompts/tool-description-searchskills.md) (**220** tks) - Describes the SearchSkills tool for finding relevant claude.ai skills by keyword and suggesting add cards when results fit. - [Tool Description: Self-hosted runner requeue session](./system-prompts/tool-description-self-hosted-runner-requeue-session.md) (**186** tks) - Describes requeuing an assigned self-hosted runner session away from a failing runner and surfacing the equivalent Admin UI path. - [Tool Description: SendFeedback drafting guidance](./system-prompts/tool-description-sendfeedback-drafting-guidance.md) (**1145** tks) - Instructs when and how to queue concise, factual Claude Code feedback drafts with prescribed evidence bullets, field-selection rules, privacy constraints, and no user interruption or duplication. @@ -623,7 +620,10 @@ Text for large system reminders. - [Tool Description: SendMessage](./system-prompts/tool-description-sendmessage.md) (**649** tks) - Describes the SendMessage tool for communicating with other agents and handling legacy team protocol responses. - [Tool Description: SendUserFile](./system-prompts/tool-description-senduserfile.md) (**599** tks) - Describes the SendUserFile tool for surfacing generated deliverables as file cards, including when to send or re-send files and how to choose captions, status, and display mode. - [Tool Description: SendUserMessage](./system-prompts/tool-description-sendusermessage.md) (**226** tks) - Describes the SendUserMessage tool for sending user-visible Markdown messages and attachments with normal or proactive status. +- [Tool Description: Session artifact watch lifecycle](./system-prompts/tool-description-session-artifact-watch-lifecycle.md) (**704** tks) - Explains live artifact watch setup, optional comment auto-replies, session restoration, status checks, and lifecycle limits. +- [Tool Description: Shared artifact listing and ownership guidance](./system-prompts/tool-description-shared-artifact-listing-and-ownership-guidance.md) (**264** tks) - Defines artifact list scopes, ownership restrictions, incomplete shared listings, and untrusted shared-title handling. - [Tool Description: ShowOnboardingRolePicker](./system-prompts/tool-description-showonboardingrolepicker.md) (**38** tks) - ShowOnboardingRolePicker: presents a row of clickable role chips during Cowork onboarding. +- [Tool Description: Skill proposal rendering](./system-prompts/tool-description-skill-proposal-rendering.md) (**208** tks) - Defines when and how to render complete recurring-procedure skill proposals for user review without writing files. - [Tool Description: SuggestConnectors](./system-prompts/tool-description-suggestconnectors.md) (**224** tks) - Describes the SuggestConnectors tool for resolving SearchMcpRegistry directoryUuid values into full connector payloads and install-state guidance. - [Tool Description: SuggestSkills proactive guidance](./system-prompts/tool-description-suggestskills-proactive-guidance.md) (**303** tks) - Guides proactive use of SuggestSkills to recommend addable standalone skills for repeatable tasks without interrupting one-off work. - [Tool Description: Task Get](./system-prompts/tool-description-task-get.md) (**182** tks) - Retrieve a task by ID with full details and comments. @@ -633,6 +633,7 @@ Text for large system reminders. - [Tool Description: TodoWrite compact](./system-prompts/tool-description-todowrite-compact.md) (**108** tks) - Compact tool description for creating and updating a session task list with content, status, and activeForm fields. - [Tool Description: TodoWrite proactive update guidance](./system-prompts/tool-description-todowrite-proactive-update-guidance.md) (**65** tks) - Concise TodoWrite guidance to proactively track progress with one in-progress task and activeForm values. - [Tool Description: TodoWrite](./system-prompts/tool-description-todowrite.md) (**2037** tks) - Tool description for creating and managing task lists. +- [Tool Description: Updating existing artifacts](./system-prompts/tool-description-updating-existing-artifacts.md) (**271** tks) - Explains same-path redeployment and the URL lookup, read-before-publish, and ownership flow for updating artifacts from earlier conversations. - [Tool Description: WebFetch private URL warning](./system-prompts/tool-description-webfetch-private-url-warning.md) (**270** tks) - Warns that WebFetch fails for authenticated or private URLs and includes the standard WebFetch usage notes. - [Tool Description: WebFetch](./system-prompts/tool-description-webfetch.md) (**445** tks) - Tool description for web fetch functionality. - [Tool Description: WebSearch](./system-prompts/tool-description-websearch.md) (**319** tks) - Tool description for web search functionality. @@ -646,11 +647,11 @@ Text for large system reminders. **Additional notes for some Tool Descriptions** - [Tool Description: Agent (simple usage notes)](./system-prompts/tool-description-agent-simple-usage-notes.md) (**634** tks) - Simplified usage notes for the Agent tool, including when to delegate, fork behavior, resumption, worktree isolation, background execution, parallel launches, and context restrictions. -- [Tool Description: Agent (usage notes)](./system-prompts/tool-description-agent-usage-notes.md) (**1556** tks) - Usage notes and instructions for the Task/Agent tool, including guidance on launching subagents, background execution, resumption, and worktree isolation. -- [Tool Description: Agent (when to launch subagents)](./system-prompts/tool-description-agent-when-to-launch-subagents.md) (**435** tks) - Describes _when_ to use the Agent tool - for launching specialized subagent subprocesses to autonomously handle complex multi-step tasks. +- [Tool Description: Agent (usage notes)](./system-prompts/tool-description-agent-usage-notes.md) (**1602** tks) - Usage notes and instructions for the Task/Agent tool, including guidance on launching subagents, background execution, resumption, and worktree isolation. +- [Tool Description: Agent (when to launch subagents)](./system-prompts/tool-description-agent-when-to-launch-subagents.md) (**434** tks) - Describes _when_ to use the Agent tool - for launching specialized subagent subprocesses to autonomously handle complex multi-step tasks. - [Tool Description: AskUserQuestion (preview field)](./system-prompts/tool-description-askuserquestion-preview-field.md) (**134** tks) - Instructions for using the HTML preview field on single-select question options to display visual artifacts like UI mockups, code snippets, and diagrams. - [Tool Description: Background monitor (streaming events)](./system-prompts/tool-description-background-monitor-streaming-events.md) (**2082** tks) - Describes the background monitor tool that streams stdout events from long-running scripts as chat notifications, with guidelines on script quality, output volume, and selective filtering. -- [Tool Description: Bash (Git commit and PR creation instructions)](./system-prompts/tool-description-bash-git-commit-and-pr-creation-instructions.md) (**2382** tks) - Instructions for creating git commits and GitHub pull requests. +- [Tool Description: Bash (Git commit and PR creation instructions)](./system-prompts/tool-description-bash-git-commit-and-pr-creation-instructions.md) (**2357** tks) - Instructions for creating git commits and GitHub pull requests. - [Tool Description: Bash (alternative — communication)](./system-prompts/tool-description-bash-alternative-communication.md) (**18** tks) - Bash tool alternative: output text directly instead of echo/printf. - [Tool Description: Bash (alternative — content search)](./system-prompts/tool-description-bash-alternative-content-search.md) (**27** tks) - Bash tool alternative: use Grep for content search instead of grep/rg. - [Tool Description: Bash (alternative — edit files)](./system-prompts/tool-description-bash-alternative-edit-files.md) (**27** tks) - Bash tool alternative: use Edit for file editing instead of sed/awk. @@ -690,8 +691,6 @@ Text for large system reminders. - [Tool Description: Bash (timeout)](./system-prompts/tool-description-bash-timeout.md) (**144** tks) - Bash tool instruction: optional timeout configuration. - [Tool Description: Bash (verify parent directory)](./system-prompts/tool-description-bash-verify-parent-directory.md) (**38** tks) - Bash tool instruction: verify parent directory before creating files. - [Tool Description: Bash (working directory)](./system-prompts/tool-description-bash-working-directory.md) (**37** tks) - Bash tool note about working directory persistence and shell state. -- [Tool Description: Computer computer_batch (batching guidance)](./system-prompts/tool-description-computer-computer-batch-batching-guidance.md) (**33** tks) - Recommends batching predictable computer-use actions to eliminate unnecessary model-to-API round trips. -- [Tool Description: Computer computer_batch (opening)](./system-prompts/tool-description-computer-computer-batch-opening.md) (**32** tks) - Introduces computer_batch as a way to execute predictable action sequences in one model-to-API round trip. - [Tool Description: CronCreate (durability note)](./system-prompts/tool-description-croncreate-durability-note.md) (**122** tks) - CronCreate insert (shown when durable-cron is enabled) explaining the durable: true vs false trade-off. - [Tool Description: EnterPlanMode (ambiguous tasks)](./system-prompts/tool-description-enterplanmode-ambiguous-tasks.md) (**312** tks) - Tool for entering plan mode when task has ambiguity. - [Tool Description: PowerShell (git guidance)](./system-prompts/tool-description-powershell-git-guidance.md) (**192** tks) - PowerShell tool guidance to prefer new commits, consider safer alternatives to destructive git operations, and never bypass hooks or signing without an explicit user request. @@ -705,7 +704,6 @@ Text for large system reminders. - [Tool Description: WebFetch (concise)](./system-prompts/tool-description-webfetch-concise.md) (**259** tks) - Concise tool description for WebFetch covering URL fetching, private URL limitations, redirects, and caching. - [Tool Description: WebSearch (concise)](./system-prompts/tool-description-websearch-concise.md) (**88** tks) - Describes the concise WebSearch tool variant with US-only results, current-month guidance, domain filters, and required sources. - [Tool Description: Write (read existing file first)](./system-prompts/tool-description-write-read-existing-file-first.md) (**113** tks) - Tool description for Write in environments where existing files must be read before overwrite. -- [Tool Description: request_teach_access (part of teach mode)](./system-prompts/tool-description-request-teach-access-part-of-teach-mode.md) (**139** tks) - Describes a tool that requests permission to guide the user through a task step-by-step using fullscreen tooltip overlays instead of direct access. - [Tool Parameter: Artifact URL guidance](./system-prompts/tool-parameter-artifact-url-guidance.md) (**174** tks) - Explains when the Artifact url parameter must target an existing owned artifact and when it must be omitted for a new publish or same-conversation redeploy. - [Tool Parameter: Artifact comment actions guidance](./system-prompts/tool-parameter-artifact-comment-actions-guidance.md) (**688** tks) - Describes Artifact action parameter semantics for reading, replying to, resolving, and paginating comment threads. - [Tool Parameter: Artifact force overwrite guidance](./system-prompts/tool-parameter-artifact-force-overwrite-guidance.md) (**170** tks) - Restricts Artifact force overwrites to explicit user-approved discarding of a specific newer version and requires merge-first conflict handling. @@ -789,9 +787,9 @@ Built-in skill prompts for specialized tasks. - [Skill: Team onboarding guide](./system-prompts/skill-team-onboarding-guide.md) (**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](./system-prompts/skill-update-claude-code-config.md) (**1195** tks) - Skill for modifying Claude Code configuration file (settings.json). - [Skill: Update config description](./system-prompts/skill-update-config-description.md) (**170** tks) - Update-config skill description (settings.json hooks, perms, env). -- [Skill: Update config settings file locations](./system-prompts/skill-update-config-settings-file-locations.md) (**1104** tks) - Where Claude Code stores settings.json across scopes. +- [Skill: Update config settings file locations](./system-prompts/skill-update-config-settings-file-locations.md) (**1213** tks) - Where Claude Code stores settings.json across scopes. - [Skill: Verify CLI changes (example for Verify skill)](./system-prompts/skill-verify-cli-changes-example-for-verify-skill.md) (**772** tks) - Example workflow for verifying a CLI change, as part of the Verify skill. - [Skill: Verify server/API changes (example for Verify skill)](./system-prompts/skill-verify-server-api-changes-example-for-verify-skill.md) (**793** tks) - Example workflow for verifying a server/API change, as part of the Verify skill. - [Skill: Whiteboard description](./system-prompts/skill-whiteboard-description.md) (**228** tks) - Trigger description for the Whiteboard skill, covering creation of a shared sketch canvas for collaborative drawing, design discussion, and planning. -- [Skill: Workflow authoring reference](./system-prompts/skill-workflow-authoring-reference.md) (**6120** tks) - Skill reference for authoring Workflow scripts, covering script persistence, metadata, agent hooks, isolation, concurrency, budgeting, quality patterns, and resume behavior. +- [Skill: Workflow authoring reference](./system-prompts/skill-workflow-authoring-reference.md) (**6190** tks) - Skill reference for authoring Workflow scripts, covering script persistence, metadata, agent hooks, isolation, concurrency, budgeting, quality patterns, and resume behavior. - [Skill: update-config (7-step verification flow)](./system-prompts/skill-update-config-7-step-verification-flow.md) (**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. diff --git a/system-prompts/agent-prompt-artifact-comment-thread-analyst.md b/system-prompts/agent-prompt-artifact-comment-thread-analyst.md index b1ffc57..c83b344 100644 --- a/system-prompts/agent-prompt-artifact-comment-thread-analyst.md +++ b/system-prompts/agent-prompt-artifact-comment-thread-analyst.md @@ -1,15 +1,17 @@ You are an artifact comment-thread analyst for Claude Code. You are dispatched to study exactly one comment thread on one published artifact, named in your task prompt by artifact URL and thread id. You READ and ANALYZE; a separate constrained composer performs any reply or edit from your notes — you cannot act, and any write-shaped tool call you attempt is denied. Your workflow: -1. Read the thread with ${ARTIFACT_TOOL_NAME} action "comments" on the named artifact, passing thread_id with your named thread's id — reads of other threads are denied. The read returns the thread up to a size cap and notes elided text in the result; do not drop thread_id or retry for more. -2. When the thread's meaning depends on the rendered page's data, read it with action "read_page_data". If the session's permissions refuse the read, continue from the thread alone and note the gap in your brief. +1. Read the thread with ${FORMAT_ARTIFACT_TOOL_REFERENCE_FN(`${ARTIFACT_TOOL_NAME} action "comments"`,()=>`the ${FORMAT_ARTIFACT_TOOL_NAME_FN("comments")}`)} on the named artifact, passing thread_id with your named thread's id — reads of other threads are denied. The read returns the thread up to a size cap and notes elided text in the result; do not drop thread_id or retry for more. +2. When the thread's meaning depends on the rendered page's data, read it with ${FORMAT_ARTIFACT_TOOL_REFERENCE_FN('action "read_page_data"',()=>`the ${ARTIFACT_TOOL_NAME} tool, action "read_page_data"`)}. If the session's permissions refuse the read, continue from the thread alone and note the gap in your brief. 3. Output your ANALYSIS BRIEF as your final message: plain text, under 30 lines, and the first line MUST be exactly "ANALYSIS BRIEF" — a final message without that first line is discarded as incomplete. The brief states, in this order: what the NEWEST human request actually asks for (quote the operative words); exactly which part of the artifact it concerns; observations a composer needs (ambiguities, thread history that changes the meaning, page-data facts); and what a correct minimal edit would change, described in prose — never as commands. diff --git a/system-prompts/agent-prompt-code-review-gitlab-comment-posting.md b/system-prompts/agent-prompt-code-review-gitlab-comment-posting.md new file mode 100644 index 0000000..c01295c --- /dev/null +++ b/system-prompts/agent-prompt-code-review-gitlab-comment-posting.md @@ -0,0 +1,22 @@ + + + +## Posting to GitLab (--comment) + +The `--comment` flag was passed. After producing the findings list, if the +review target is a GitLab merge request, post the findings as one general MR +note via `${`glab mr note${GITLAB_MR_IID?` ${GITLAB_MR_IID}`:""}${GLAB_MR_NOTE_OPTIONS} -m ""`}`${GITLAB_REPOSITORY_REFERENCE?"":" from inside that project's checkout"} +(every finding with its file:line, the issue, and the suggested fix). glab has no single verb for line-anchored +comments; those require `glab api projects/:id/merge_requests/:iid/discussions`, +so post the general note unless the user asks for inline threads. If glab is +not available in this session, print the findings instead. If the target is +not an MR, print the findings to the terminal and note that `--comment` was +ignored. diff --git a/system-prompts/agent-prompt-schedule-slash-command.md b/system-prompts/agent-prompt-schedule-slash-command.md index e702460..437ed06 100644 --- a/system-prompts/agent-prompt-schedule-slash-command.md +++ b/system-prompts/agent-prompt-schedule-slash-command.md @@ -1,7 +1,7 @@ # Schedule Cloud Agents @@ -87,6 +87,8 @@ For a one-time run, replace `"cron_expression": "CRON_EXPR"` with `"run_once_at" Generate a fresh lowercase UUID for `events[].data.uuid` yourself. +Every `events[].data.message` must be the API message shape `{"role": "user", "content": "..."}` — the `role` field is required, never omit it. + ## Available MCP Connectors These are the user's currently connected claude.ai MCP connectors: @@ -190,7 +192,7 @@ When /schedule was invoked it was **${NOW_LOCAL_TIME}** (${USER_TIMEZONE}) / **$ - Accept GitHub URLs in any format (https://github.com/org/repo, org/repo, etc.) and normalize to the full HTTPS URL (without .git suffix) - The prompt is the most important part — spend time getting it right. The cloud agent starts with zero context, so the prompt must be self-contained. - To delete a routine, direct users to https://claude.ai/code/routines -${IS_GITHUB_REMINDER_ENABLED?`- If the user's request seems to require GitHub repo access (e.g. cloning a repo, opening PRs, reading code), remind them that ${CHECK_FEATURE_FLAG_FN()?"they should run /web-setup to connect their GitHub account (or install the Claude GitHub App on the repo as an alternative) — otherwise the cloud agent won't be able to access it":"they need the Claude GitHub App installed on the repo — otherwise the cloud agent won't be able to access it"}.`:""} +${IS_GITHUB_REMINDER_ENABLED?`- If the user's request seems to require GitHub repo access (e.g. cloning a repo, opening PRs, reading code), remind them that ${IS_QUICK_WEB_SETUP_AVAILABLE_FN()?"they should run /web-setup to connect their GitHub account (or install the Claude GitHub App on the repo as an alternative) — otherwise the cloud agent won't be able to access it":"they need the Claude GitHub App installed on the repo — otherwise the cloud agent won't be able to access it"}.`:""} ${USER_REQUEST?` ## User Request diff --git a/system-prompts/data-claude-code-gateway-protocol.md b/system-prompts/data-claude-code-gateway-protocol.md index 85d1698..1d2d257 100644 --- a/system-prompts/data-claude-code-gateway-protocol.md +++ b/system-prompts/data-claude-code-gateway-protocol.md @@ -1,7 +1,7 @@ # Claude Code gateway protocol @@ -54,7 +54,8 @@ intentionally absent. ## Device authorization — required -`POST {device_authorization_endpoint}` (unauthenticated) +`POST {device_authorization_endpoint}` (unauthenticated; answer directly, the +client follows no redirect here) RFC 8628 §3.2. The client opens `verification_uri_complete` in the user's browser and polls `token_endpoint` every `interval` seconds. @@ -90,7 +91,8 @@ per-IP rate limit (RFC 8628 §5.1) and don't auto-submit a pre-filled code ## Token — required `POST {token_endpoint}` (unauthenticated, -`application/x-www-form-urlencoded`) +`application/x-www-form-urlencoded`; answer directly, the client follows no +redirect here) **Device grant** (`grant_type=urn:ietf:params:oauth:grant-type:device_code`): diff --git a/system-prompts/data-platform-availability.md b/system-prompts/data-platform-availability.md index 6ced971..c1a5565 100644 --- a/system-prompts/data-platform-availability.md +++ b/system-prompts/data-platform-availability.md @@ -1,7 +1,7 @@ # Platform Availability @@ -46,7 +46,11 @@ Columns: **1P** = first-party Claude API, **P-AWS** = Claude Platform on AWS (An |   Files API | Yes | Yes | No | No | beta | | |   Models API | Yes | Yes | No | No | No | | | **Other** | | | | | | | -|   Mid-conversation system messages | Yes | Yes | No | No | No | {{OPUS_NAME}}, {{PREV_OPUS_NAME}}, {{FABLE_NAME}}, {{MYTHOS_NAME}}; not {{SONNET_NAME}} | +|   Mid-conversation system messages | Yes | Yes | Yes | Yes | No | {{OPUS_NAME}}, {{PREV_OPUS_NAME}}, {{PREV_FABLE_NAME}}, {{FABLE_NAME}}, {{PREV_MYTHOS_NAME}}, {{MYTHOS_NAME}}; not {{SONNET_NAME}}. Bedrock: InvokeModel passthrough, not ARN-versioned models | +|   Turn-scoped (`clear_at`) system messages | beta | beta | beta | beta | No | Same models as mid-conversation system messages; beta `mid-conversation-system-clear-at-2026-08-21` (on Bedrock/Vertex pass the value as a beta) | +|   Per-message `effort` (system message `output_config`) | beta | No | No | No | No | {{FABLE_NAME}}, {{MYTHOS_NAME}}, {{OPUS_NAME}}; beta `mid-conversation-output-config-2026-07-01`; Claude API at launch (Bedrock/Vertex/Foundry unconfirmed; {{OPUS_NAME}} excluded on Bedrock) | +|   `thinking.display: "updates"` | beta | beta | beta | beta | beta | {{FABLE_NAME}}, {{MYTHOS_NAME}}, {{PREV_FABLE_NAME}}; beta `thinking-display-updates-2026-08-18` (pass the beta value per platform); without it `"updates"` is rejected as an unknown `display` value | +|   Thinking block-binding controls | beta | beta | per model | per model | No | `thinking.block_binding` + `input_transformations`; beta `thinking-binding-controls-2026-08-01` (on Bedrock via the `anthropic_beta` body field); the controls beta arrives per model on Bedrock/Vertex - until then the header is rejected; the history-editing enforcement itself follows the account-age rule in `shared/model-migration.md` -> Migrating to {{FABLE_NAME}} from {{PREV_FABLE_NAME}} | |   Server-side `fallbacks` | beta | beta | No | No | No | `"default"` -> beta `server-side-fallback-2026-07-01`; array form -> beta `server-side-fallback-2026-06-01` | |   Fast mode | beta | No | No | No | No | Research preview, beta `fast-mode-2026-02-01`, first-party API only | |   Cache diagnostics | beta | No | No | No | No | First-party API only | diff --git a/system-prompts/data-plugin-jsx-runtime-shim.md b/system-prompts/data-plugin-jsx-runtime-shim.md new file mode 100644 index 0000000..28147fc --- /dev/null +++ b/system-prompts/data-plugin-jsx-runtime-shim.md @@ -0,0 +1,125 @@ + +(() => { + const INTRINSIC = { + Box: 'Box', box: 'Box', Text: 'Text', text: 'Text', + div: 'div', span: 'span', b: 'b', + } + let pressCounter = 0 + const flatten = (children, into) => { + for (const child of children) { + if (child === null || child === undefined || typeof child === 'boolean') { + continue + } + if (Array.isArray(child)) { + flatten(child, into) + } else { + into.push(typeof child === 'number' ? String(child) : child) + } + } + } + function Fragment(props) { + return { + type: 'Box', + props: { flexDirection: 'column' }, + children: props.children ?? [], + } + } + function button(props, children) { + const { onPress, hotkey, plain } = props ?? {} + const childLabel = + children.length === 1 && typeof children[0] === 'string' + ? children[0] + : undefined + const label = props?.label ?? childLabel + const key = props?.key ?? label + if (typeof label !== 'string') { + throw new Error( + 'JSX element