150 KiB
Claude Code System Prompts Changelog
2.1.98
+2,045 tokens
- NEW: System Prompt: Communication style — Added guidelines for giving brief user-facing updates at key moments during tool use, writing concise end-of-turn summaries, matching response format to task complexity, and avoiding comments and planning documents in code.
- NEW: System Prompt: Dream team memory handling — Added instructions for handling shared team memories during dream consolidation, including deduplication, conservative pruning rules, and avoiding accidental promotion of personal memories.
- NEW: System Prompt: Exploratory questions — analyze before implementing — Added instructions for Claude to respond to open-ended questions with analysis, options, and tradeoffs instead of jumping to implementation, waiting for user agreement before writing code.
- NEW: System Prompt: User-facing communication style — Added detailed guidelines for writing clear, concise, and readable user-facing text including prose style, update cadence, formatting rules, and audience-aware explanations.
- NEW: Tool Description: Background monitor (streaming events) — Added description for a background monitor tool that streams stdout events from long-running scripts as chat notifications, with guidelines on script quality, output volume, and selective filtering.
- Agent Prompt: Dream memory consolidation — Added support for an optional transcript source note displayed after the transcripts directory path.
- Agent Prompt: Dream memory pruning — Added conservative pruning rules for
team/subdirectory memories: only delete when clearly contradicted or superseded by a newer team memory, never delete just because unrecognized or irrelevant to recent sessions, and never move personal memories intoteam/. - Skill: /dream nightly schedule — Minor refactor to include memory directory reference in the consolidation configuration.
- System Prompt: Advisor tool instructions — Minor wording updates: clarified tool invocation syntax, broadened 'before writing code' to 'before writing,' and updated several examples and descriptions for generality (e.g., 'reading code' → 'fetching a source,' 'the code does Y' → 'the paper states Y').
2.1.97
+23,865 tokens
- NEW: Agent Prompt: Managed Agents onboarding flow — Added an interactive interview script that walks users through configuring a Managed Agent from scratch, selecting tools, skills, files, and environment settings, and emitting setup and runtime code.
- NEW: Data: Managed Agents client patterns — Added a reference guide covering common client-side patterns for driving Managed Agent sessions, including stream reconnection, idle-break gating, tool confirmations, interrupts, and custom tools.
- NEW: Data: Managed Agents core concepts — Added reference documentation covering Agents, Sessions, Environments, Containers, lifecycle, versioning, endpoints, and usage patterns.
- NEW: Data: Managed Agents endpoint reference — Added a comprehensive reference for Managed Agents API endpoints, SDK methods, request/response schemas, error handling, and rate limits.
- NEW: Data: Managed Agents environments and resources — Added reference documentation covering environments, file resources, GitHub repository mounting, and the Files API with SDK examples.
- NEW: Data: Managed Agents events and steering — Added a reference guide for sending and receiving events on managed agent sessions, including streaming, polling, reconnection, message queuing, interrupts, and event payload details.
- NEW: Data: Managed Agents overview — Added a comprehensive overview of the Managed Agents API architecture, mandatory agent-then-session flow, beta headers, documentation reading guide, and common pitfalls.
- NEW: Data: Managed Agents reference — Python — Added a reference guide for using the Anthropic Python SDK to create and manage agents, sessions, environments, streaming, custom tools, files, and MCP servers.
- NEW: Data: Managed Agents reference — TypeScript — Added a reference guide for using the Anthropic TypeScript SDK to create and manage agents, sessions, environments, streaming, custom tools, file uploads, and MCP server integration.
- NEW: Data: Managed Agents reference — cURL — Added cURL and raw HTTP request examples for the Managed Agents API including environment, agent, and session lifecycle operations.
- NEW: Data: Managed Agents tools and skills — Added reference documentation covering tool types (agent toolset, MCP, custom), permission policies, vault credential management, and the skills API.
- NEW: Skill: Build Claude API and SDK apps — Added trigger rules for activating guidance when users are building applications with the Claude API, Anthropic SDKs, or Managed Agents.
- NEW: Skill: Building LLM-powered applications with Claude — Added a comprehensive routing guide for building LLM-powered applications using the Anthropic SDK, covering language detection, API surface selection (Claude API vs Managed Agents), model defaults, thinking/effort configuration, and language-specific documentation reading.
- NEW: Skill: /dream nightly schedule — Added a skill that sets up a recurring nightly memory consolidation job by deduplicating existing schedules, creating a new cron task, confirming details to the user, and running an immediate consolidation.
- REMOVED: Data: Agent SDK patterns — Python — Removed the Python Agent SDK patterns document (custom tools, hooks, subagents, MCP integration, session resumption).
- REMOVED: Data: Agent SDK patterns — TypeScript — Removed the TypeScript Agent SDK patterns document (basic agents, hooks, subagents, MCP integration).
- REMOVED: Data: Agent SDK reference — Python — Removed the Python Agent SDK reference document (installation, quick start, custom tools via MCP, hooks).
- REMOVED: Data: Agent SDK reference — TypeScript — Removed the TypeScript Agent SDK reference document (installation, quick start, custom tools, hooks).
- REMOVED: Skill: Build with Claude API — Removed the main routing guide for building LLM-powered applications with Claude, replaced by the new "Building LLM-powered applications with Claude" skill with Managed Agents support.
- REMOVED: System Prompt: Buddy Mode — Removed the coding companion personality generator for terminal buddies.
- Agent Prompt: Status line setup — Added
git_worktreefield to the workspace schema for reporting the git worktree name when the working directory is in a linked worktree. - Agent Prompt: Worker fork — Added agent metadata specifying model inheritance, permission bubbling, max turns, full tool access, and a description of when the fork is triggered.
- Data: Live documentation sources — Replaced the Agent SDK documentation URLs and SDK repository extraction prompts with comprehensive Managed Agents documentation URLs covering overview, quickstart, agent setup, sessions, environments, events, tools, files, permissions, multi-agent, observability, GitHub, MCP connector, vaults, skills, memory, onboarding, cloud containers, and migration. Added an Anthropic CLI section. Updated SDK repository extraction prompts to focus on beta managed-agents namespaces and method signatures.
- Skill: Build with Claude API (reference guide) — Updated the agent reference from Agent SDK folders to Managed Agents documentation files, with language-specific routing for Python, TypeScript, cURL, and a note that C# should use raw HTTP examples.
- Skill: Verify skill — Restructured the "Get a handle" section to emphasize checking
.claude/skills/for verifier skills first (even if you already know how to build), framing verifiers as the repo's evidence-capture protocol. Added a new "Push on it" section with concrete probing strategies organized by change type (new flag, new handler, changed error path, interactive/TUI, state/persistence). Added the 🔍 emoji marker for probe steps in the report format, with guidance that a steps list with no probes is a happy-path replay. Added probe documentation guidance in the Findings section. - System Prompt: Agent thread notes — Removed the conditional logic for relative vs. absolute file paths; agent threads now always require absolute file paths unconditionally.
- Tool Description: ReadFile — Simplified to always require absolute file paths, removing the conditional relative-path option.
- Tool Description: Write — Removed a conditional note variable from the "prefer Edit" guidance, making it unconditional.
2.1.96
+0 tokens
No changes to the system prompts in v2.1.96.
2.1.94
+2,000 tokens
- NEW: Agent Prompt: Dream memory pruning — Added a subagent prompt for performing memory pruning passes by deleting stale or invalidated memory files and collapsing duplicates.
- NEW: Agent Prompt: Memory synthesis — Added a subagent that reads persistent memory files and returns a JSON synthesis of only the information relevant to each query, with cited filenames.
- NEW: Agent Prompt: Onboarding guide generator — Added a subagent that co-authors a team onboarding guide (ONBOARDING.md) by analyzing the creator's usage data, classifying session types, and iterating on the draft collaboratively.
- NEW: Agent Prompt: Session search — Added a lightweight subagent prompt for searching past conversation sessions by scanning .jsonl transcript files and returning matching session IDs.
- NEW: System Prompt: Memory description of user details — Added a description for per-user memory files that accumulate details about the user's role, goals, knowledge, and preferences across sessions.
- NEW: System Prompt: Memory staleness verification — Added instructions for the agent to verify memory records against current file/resource state and delete stale memories that conflict with observed reality.
- NEW: Skill: Team onboarding guide — Added a skill template for onboarding a new teammate to a team's Claude Code setup, walking through usage stats, setup checklists, MCP servers, skills, and team tips.
- REMOVED: Agent Prompt: Session Search Assistant — Removed the verbose session search assistant with detailed matching heuristics, replaced by the lighter Session search subagent.
- REMOVED: Agent Prompt: Worker fork execution — Removed the detailed forked worker sub-agent prompt with its 10-rule format and structured output template.
- REMOVED: Tool Description: Agent (when to launch subagents) — Removed the separate "when to launch" description block; its guidance is now folded into the main Agent usage notes.
- Agent Prompt: Dream memory consolidation — Added a post-gather hook point between the Gather and Consolidate phases.
- Agent Prompt: Worker fork — Replaced the previous verbose worker fork prompt with a streamlined version focused on concise single-directive execution and reporting.
- Skill: Build with Claude API — Added a Subcommands dispatch section that lets users invoke specific flows via
/claude-api <subcommand>by matching against subcommand tables defined throughout the document. - Skill: Verify skill — Relaxed the CI assumption from "green checks on the PR mean they passed" to simply noting CI already ran. Refined the Findings guidance to clarify that observations must come from running the app yourself — red CI checks, review comments, or bot outputs visible to anyone already don't count as original observations.
- Tool Description: Agent (usage notes) — Streamlined usage notes: shortened the description-length guidance, condensed the resume-vs-fresh-agent explanation into a single bullet, removed the note that agent outputs should generally be trusted, shortened the worktree isolation bullet, and simplified the proactive-use guidance.
2.1.92
-167 tokens
- REMOVED: Agent Prompt: Hook condition evaluator — Removed the generic hook condition evaluator prompt.
- NEW: Agent Prompt: Hook condition evaluator (stop) — Added a specialized hook condition evaluator for stop conditions, replacing the generic version.
- REMOVED: System Prompt: Team memory content display — Removed the template for rendering shared team memory file contents into conversation context.
- REMOVED: Tool Description: Sleep — Removed the dedicated Sleep tool for waiting/sleeping with early wake capability on user input.
- Agent Prompt: Session Search Assistant — Removed the note that users tag sessions with the
/tagcommand. - System Prompt: MCP Tool Result Truncation — Changed subagent file-reading guidance from "Read ALL of [file]" to instruct reading in sequential chunks using offset/limit until 100% of the file has been read, then summarizing.
- System Prompt: Remote plan mode (ultraplan) — Rewrote the plan-formatting guidance to frame diagrams as a verification aid for reviewers rather than a general readability tool. Simplified the diagram instructions to a single paragraph mentioning mermaid or ASCII block diagrams, removing the itemized list of diagram types (flowchart, sequence, state, graph) and the before/after tree suggestion.
- Tool Description: Write — Added explicit guidance to only use Write for creating new files or complete rewrites. Made the "prefer Edit" note unconditional rather than configurable.
2.1.91
+2,043 tokens
- NEW: Skill: Agent Design Patterns — Added a reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls.
- REMOVED: Agent Prompt: /pr-comments slash command — Removed the slash command for fetching and displaying GitHub PR comments.
- REMOVED: Agent Prompt: Update Magic Docs — Removed the magic-docs agent prompt.
- Agent Prompt: Determine which memory files to attach — Replaced the rule about skipping memories for recently-used tools with a simpler rule: do not re-select memories already returned for an earlier query in the same conversation. Also clarified that the first message lists available memories and subsequent messages each contain one user query.
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Added "Memory Poisoning" block rule covering writes to the agent's memory directory that would function as permission grants, BLOCK-rule bypasses, or fabricated user authorization. Added corresponding "Memory Directory" allow exception for routine memory writes (user preferences, project facts, references) that don't constitute poisoning.
- Data: Live documentation sources — Added WebFetch URLs for six additional tool documentation pages: Bash Tool, Text Editor, Memory Tool, Tool Search, Programmatic Tool Calling, and Skills. Added Context Editing to the Advanced Features section.
- Data: Tool use concepts — Added new sections for Skills (task-specific instruction packages loaded on demand) and Context Editing (pruning stale tool results from the transcript). Expanded the Programmatic Tool Calling description to explain the round-trip cost problem and how scripts run in the code execution container. Added note to Tool Search that discovered schemas are appended (preserving prompt cache) and cross-referenced agent design patterns. Added cross-reference to
agent-design.mdin the opening paragraph. - Skill: Build with Claude API — Added
shared/agent-design.mdas a new entry in the reading guide for agent design topics (tool surface, context management, caching strategy). Revised effort parameter guidance to recommendmediumas a favorable balance andmaxwhen correctness matters more than cost. Renumbered the file reading order to accommodate the new entry. - Skill: Build with Claude API (reference guide) — Added a quick-task navigation entry pointing to
shared/agent-design.mdfor agent design questions. - Skill: Verify skill — Added a SKIP verdict for changes with no runtime surface (docs-only, types-only, tests-only), distinct from BLOCKED which now strictly means the verifier couldn't reach an observable state. Added guidance that tests in the diff are the author's evidence, not a verification surface — tests-only PRs should be SKIPped, and mixed PRs should verify the source while ignoring the test files.
- System Prompt: Agent thread notes — Made the cwd/path guidance conditional: when embedded tools are available, notes that Bash resets to cwd between calls but file-tool paths can be relative; otherwise preserves the existing absolute-paths-only instruction.
- Tool Description: Edit — Removed the inline note about edits failing when
old_stringis not unique; replaced with a slot for additional edit guidelines. - Tool Description: ReadFile — Added support for relative file paths (preferred for brevity) as a conditional alternative to the absolute-path-only requirement. Made the default line-read limit and additional read notes configurable.
- Tool Description: Write — Replaced the blanket "read first" requirement with a conditional note for new files. Made the "prefer Edit" guidance configurable.
2.1.90
+815 tokens
- Agent Prompt: Determine which memory files to attach — Added guidance to be especially conservative with user-profile and project-overview memories, matching on what the question is actually about rather than surface keyword overlap with who the user is.
- Agent Prompt: /schedule slash command — Updated GitHub reminder logic to require an additional feature flag check before suggesting the
/web-setupflow for connecting a GitHub account. - Agent Prompt: Security monitor for autonomous agent actions (first part) — Reworked the User Intent Rule into a bidirectional framework: user intent can now both authorize (clear a block with a high evidence bar) and bound (create a block even for otherwise-allowed actions, with a lower evidence bar). Added rule 7 requiring conditional boundaries ("wait for X before Y", "don't push until I review") to stay in force until clearly lifted by a later user message, not by the agent's own judgment. Restructured the evaluation algorithm into a two-phase flow: preliminary verdict from BLOCK/ALLOW rules, then user intent applied as a final signal in both directions.
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Updated the ALLOW exceptions preamble to note two carve-outs that still block even when an exception applies: suspicious masquerading (e.g. typosquatting) and explicit user boundaries.
- Agent Prompt: Verification specialist — Changed file-list discovery to prefer
git diff --name-only HEADwhen in a git repo (catches Bash file writes,sed -i, etc.), falling back to scanning tool_use blocks and REPL innerToolCalls for non-repo contexts. - Skill: Verify skill — Added guidance that observations matter as much as the verdict: anything that caused a pause, workaround, or surprise should be surfaced, not just bugs. Expanded the Findings section to encourage reporting friction, unhelpful errors, odd defaults, and unexpected slowness, with a
⚠️prefix for lines worth hoisting above the PR comment fold. Changed verification step format to lead with the status emoji rather than trail it.
2.1.89
+3,986 tokens
- NEW: System Prompt: Buddy Mode — Added instructions for generating coding companions that live in the terminal and comment on the developer's work, with a focus on creating memorable, distinct personalities based on given stats and inspiration words.
- NEW: System Prompt: MCP Tool Result Truncation — Added guidelines for handling long outputs from MCP tools, including when to use direct file queries vs subagents for analysis.
- NEW: System Prompt: Remote plan mode (ultraplan) — Added system reminder for 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.
- NEW: System Prompt: Remote planning session — Added system reminder that configures a remote planning session to explore the codebase, produce an implementation plan, and handle plan approval, rejection, or teleportation back to the user's local terminal.
- NEW: Skill: Computer Use MCP — Added instructions for using computer-use MCP tools including tool selection tiers, app access tiers, link safety, and financial action restrictions.
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Expanded "Irreversible Local Destruction" to block
mv/cp/Write/Edit onto existing untracked or out-of-repo paths, noting they have no git recovery. Added "Create Public Surface" block rule covering creating public repos, changing repo visibility, or publishing to public registries. Expanded "Expose Local Services" to cover mounting host paths into containers. Added note to "Credential Leakage" that committing credentials to a public repo counts even if trusted. Added git hooks to "Unauthorized Persistence" mechanisms. - Agent Prompt: Verification specialist — Substantially expanded with a new self-awareness section documenting known failure patterns (skipping checks, trusting self-reports, hedging with PARTIAL, being fooled by AI slop). Added instructions to scan the parent agent's conversation for tool calls, claims, shortcuts, and glossed-over errors before verifying. Added a mandatory adversarial verification protocol requiring at least one probe per change area (boundary values, concurrency, idempotency, orphan ops). Tightened PARTIAL verdict guidance to prohibit using it as a hedge — ambiguous findings must be decided as PASS or FAIL.
- Data: Prompt Caching — Design & Optimization — Added model-specific minimum cacheable prefix table (ranging from 1024 to 4096 tokens by model). Updated cache write economics to distinguish 5-minute TTL (1.25×) from 1-hour TTL (2×) pricing with break-even analysis. Added clarification that
input_tokensis the uncached remainder only. Added new sections on the invalidation hierarchy (three cache tiers), the 20-block lookback window limit, and concurrent-request timing with a fan-out workaround. - Tool Description: Agent (when to launch subagents) — Added support for an additional info block alongside the agent types listing.
2.1.88
-1,627 tokens
- NEW: System Prompt: Partial compaction instructions — Added instructions for compacting only a portion of the conversation, with a structured summary format and analysis process.
- NEW: System Prompt: PowerShell edition for 5.1 — Added system prompt providing information about Windows PowerShell 5.1.
- NEW: Tool Description: Config — Added tool for getting and setting Claude Code configuration settings.
- REMOVED: System Prompt: System section — Removed the system section describing tool permission mode behavior and denied tool call guidance.
- Skill: Verify skill — Substantially condensed the verification skill, cutting roughly two-thirds of the text while preserving the core workflow: find the change, identify the surface, get a handle, drive the running app, capture evidence, report. Removed the extended "discovery ladder," "red flags," and "what DONE looks like" reference tables in favor of a compact surface table and inline guidance.
- System Prompt: Fork usage guidelines — Incorporated fork-specific prompt-writing guidance (previously in the subagent prompts section) about writing directives that specify scope rather than re-explaining background.
- System Prompt: Git status — Stripped the inline variable template (branch, status, recent commits); now contains only the introductory note that git status is a point-in-time snapshot.
- System Prompt: Writing subagent prompts — Collapsed the separate context-inheriting vs fresh-agent sections into a single flow that defaults to the fresh-agent briefing style, with conditional notes when a subagent type is present.
- System Reminder: Plan mode is active (iterative) — Made the subagent exploration suggestion conditional on whether agents are actually available, instead of always appending it.
- System Reminder: Ultraplan mode — Ultraplan can now implement the plan in the same session on approval; added a teleport sentinel so the agent knows when the plan was sent to the user's local terminal instead of being implemented remotely.
- Tool Description: Agent (usage notes) — Removed the instruction to provide clear, detailed prompts for agents without subagent types (guidance now lives in the fork/subagent prompt-writing sections).
- Tool Description: PowerShell — Significantly expanded syntax guidance: added registry PSDrive prefixes, environment variable access, call operator for paths with spaces, interactive/blocking command warnings, multiline here-string rules (including column-0 closing requirement), stop-parsing token, and revised command-chaining advice to distinguish sequential-with-error-handling from fire-and-forget.
- Tool Description: TeammateTool — Updated the team file path from
~/.claude/teams/{team-name}.jsonto~/.claude/teams/{team-name}/config.json.
2.1.87
No changes to the system prompts in v2.1.87.
2.1.86
-157 tokens
- REMOVED: System Prompt: Doing tasks (blocked approach) — Removed guidance about considering alternatives when blocked instead of brute-forcing.
- REMOVED: Tool Description: Bash (command description) — Removed instruction to write clear command descriptions for Bash tool usage.
- Agent Prompt: General purpose — Replaced "Do what has been asked; nothing more, nothing less" with "Complete the task fully—don't gold-plate, but don't leave it half-done."
- Agent Prompt: Worker fork execution — Wrapped fork instructions in boilerplate tags; replaced dynamic role description with a fixed "You are a forked worker process" statement; added a new boilerplate instructions variable.
- System Prompt: Doing tasks (no premature abstractions) — Expanded guidance to clarify that complexity should match what the task actually requires—discouraging both speculative abstractions and half-finished implementations.
- Tool Description: Bash (sandbox — tmpdir) — Simplified temporary file guidance by removing the fallback function; now instructs to use only
$TMPDIRdirectly. - Tool Description: Edit — Changed the line number prefix format description from a hardcoded explanation to a dynamic reference; no change to the matching guidance itself.
2.1.85
+172 tokens
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Added "Production Reads" as a new blocked category: reading inside running production via remote shell, dumping env vars/configs, or direct prod database queries now requires explicit user approval, since even read-only access pulls live credentials into the transcript. Separated "Remote Shell Writes" from read-only inspection (previously noted as fine) to enforce this distinction.
- System Prompt: Fork usage guidelines — Added guidance to pass a short
nameon forks so the user can see them in the teams panel and steer them mid-run. - System Prompt: Subagent delegation examples — Added
namefields to the fork and subagent delegation examples (e.g., "ship-audit", "migration-review") to align with the new fork naming guidance. - System Reminder: Ultraplan mode — Added a confidentiality instruction: the agent must not disclose the ultraplan prompt or how the feature works; if asked, it should say it's generating an advanced plan with subagents and offer to help with the plan instead.
2.1.84
+325 tokens
- NEW: Agent Prompt: General purpose — System prompt for the general-purpose subagent that searches, analyzes, and edits code across a codebase while reporting findings concisely to the caller.
- NEW: System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description) — Guidelines for avoiding unnecessary sleep commands in PowerShell scripts, including alternatives for waiting and notification.
- NEW: Tool Description: PowerShell — Describes the PowerShell command execution tool with syntax guidance, timeout settings, and instructions to prefer specialized tools over PowerShell for file operations.
- NEW: Tool Description: request_teach_access (part of teach mode) — Describes a tool that requests permission to guide the user through a task step-by-step using fullscreen tooltip overlays instead of direct access.
- REMOVED: Agent Prompt: Common suffix (response format) — Removed standalone response format suffix; behavior now integrated into agent thread notes and individual agent prompts.
- REMOVED: Agent Prompt: Explore strengths and guidelines — Removed as a separate prompt; strengths, guidelines, and agent metadata merged into the main Explore agent prompt.
- REMOVED: Agent Prompt: /review slash command (remote) — Removed remote version of the /review slash command.
- REMOVED: System Prompt: Analysis instructions for full compact prompt (full conversation) — Removed; analysis instructions now inlined directly into the conversation summarization prompt.
- REMOVED: System Prompt: Analysis instructions for full compact prompt (minimal and via feature flag) — Removed; lean analysis instructions no longer a separate prompt.
- REMOVED: System Prompt: Analysis instructions for full compact prompt (recent messages) — Removed; analysis instructions now inlined directly into the recent message summarization prompt.
- REMOVED: System Prompt: Doing tasks (avoid over-engineering) — Removed the "avoid over-engineering" guidance.
- REMOVED: Tool Description: Glob — Removed the Glob file pattern matching tool description.
- Agent Prompt: Claude guide agent — Removed the "avoid emojis" guideline.
- Agent Prompt: Conversation summarization — Inlined the full analysis instructions directly into the prompt instead of referencing a shared template.
- Agent Prompt: Explore — Removed 'return absolute paths' and 'avoid emojis' guidelines; reorganized agent metadata after the separate strengths-and-guidelines prompt was removed.
- Agent Prompt: Plan mode (enhanced) — Removed the read-only critical system reminder from agent metadata; simplified the critical files listing format by dropping the brief-reason annotations.
- Agent Prompt: Recent Message Summarization — Inlined the full analysis instructions directly into the prompt instead of referencing a shared template.
- System Prompt: Advisor tool instructions — Relaxed the "always call advisor" mandate; advisor is now recommended at least once before committing to an approach and once before declaring done on multi-step tasks, but short reactive tasks no longer require repeated calls.
- System Prompt: Agent thread notes — Removed feature flag conditional around response formatting; now always instructs agents to share only load-bearing code snippets and absolute file paths.
- System Prompt: Auto mode — Reworded guidance: added 'low-risk work' qualifier
- Tool Description: Agent (usage notes) — Removed the explicit 'launch multiple agents concurrently' instruction for non-pro tiers.
- Tool Description: Agent (when to launch subagents) — Removed the "Available agent types and the tools they have access to" heading before the agent types listing.
- Tool Description: Bash (Git commit and PR creation instructions) — Added a general parallel tool-calling instruction at the top; simplified the per-step parallel execution notes.
- Tool Description: ReadFile — Removed the "speculatively read multiple files in parallel" guidance.
- Tool Description: TaskCreate — Simplified the description field guidance from "detailed description with context and acceptance criteria" to "what needs to be done"; removed the tip about including enough detail for another agent.
- Tool Description: TodoWrite — Trimmed assistant narration from all examples, removing introductory/transitional phrasing so examples show more direct action.
2.1.83
+5,960 tokens
- NEW: Data: Prompt Caching — Design & Optimization — New document covering how to design prompt-building code for effective caching, including placement patterns and anti-patterns.
- NEW: System Prompt: Advisor tool instructions — Instructions for using the Advisor tool.
- NEW: System Reminder: Ultraplan mode — System reminder for using Ultraplan mode to create a detailed implementation plan with multi-agent exploration and critique.
- NEW: Skill: Verify CLI changes (example for Verify skill) — Example workflow for verifying a CLI change, as part of the Verify skill.
- NEW: Skill: Verify server/API changes (example for Verify skill) — Example workflow for verifying a server/API change, as part of the Verify skill.
- NEW: Skill: Verify skill — Opinionated verification workflow for validating code changes, replacing the previous verification specialist skill.
- REMOVED: Skill: Verification specialist — Removed in favor of the new Verify skill and its example workflows.
- REMOVED: System Reminder: Task status — Removed TaskOutput tool reference reminder.
- Agent Prompt: Dream memory consolidation — Added a ~25KB size cap to the index file; tightened index entry format to one line under ~150 characters; changed verbose-entry demotion guidance to trigger on lines over ~200 chars.
- Data: Agent SDK reference — Python — Added documentation for per-turn
usagedata onAssistantMessagefor tracking costs. - Data: Agent SDK reference — TypeScript — Added comment noting optional
skillsandmcpServersfor subagent customization in team definitions. - Data: Claude API reference — C# — Updated source-verified SDK version from 12.8.0 to 12.9.0; added prompt caching cross-reference to the shared design document; added cache-hit verification via usage fields.
- Data: Claude API reference — cURL — Added Prompt Caching section with example, TTL options, top-level auto-placement, and cache-hit verification guidance.
- Data: Claude API reference — Go — Added Prompt Caching section with system block caching example, TTL options, top-level auto-placement, and cache-hit verification.
- Data: Claude API reference — Java — Bumped SDK version from 2.16.1 to 2.17.0; added prompt caching cross-reference to the shared design document; added cache-hit verification via usage fields.
- Data: Claude API reference — PHP — Added beta tool runner documentation with
BetaRunnableToolandtoolRunner()examples; added structured outputs section withStructuredOutputModeland raw schema approaches; added Prompt Caching section; bumped recommended SDK version from ^0.6 to ^0.7; updated intro note to reflect new beta tool runner and structured output support. - Data: Claude API reference — Python — Expanded prompt caching intro with prefix-match explanation, architectural guidance, and silent-invalidator audit reference; added "Verifying Cache Hits" subsection with usage field examples and debugging tips.
- Data: Claude API reference — Ruby — Added Prompt Caching section with system block caching example, TTL options, top-level auto-placement, and cache-hit verification.
- Data: Claude API reference — TypeScript — Added prefix-match explanation and cross-reference to the shared caching design document; added "Verifying Cache Hits" subsection with usage field examples and silent-invalidator debugging tips.
- Data: Tool use concepts — Updated tool runner language list to include PHP; noted PHP's
BetaRunnableToolwraps a run closure around a hand-written schema. - Skill: Build with Claude API — Added PHP beta tool runner to the SDK feature table; added "Prompt Caching (Quick Reference)" section with prefix-match explanation, top-level auto-caching guidance, and silent-invalidator troubleshooting; added prompt caching routing entries to the reading guide.
- Skill: Build with Claude API (reference guide) — Added prompt caching routing entry for quick task navigation.
- Tool Description: CronCreate — Added durable mode documentation: jobs can now optionally persist to disk and survive session restarts, with guidance on when to use durable vs. session-only; expanded runtime behavior section for durable job catch-up semantics.
- Tool Description: SendMessageTool — Significantly condensed from a detailed protocol reference to a compact quick-reference format; inlined addressing table, simplified protocol response examples, and removed verbose per-message-type sections.
2.1.81
+294 tokens
- NEW: Agent Prompt: /review slash command (remote) — Remote version of the /review slash command.
- NEW: Agent Prompt: Auto mode rule reviewer — Reviews and critiques user-defined auto mode classifier rules for clarity, completeness, conflicts, and actionability.
- NEW: System Prompt: Minimal mode — 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.
- Agent Prompt: /batch slash command — Changed terminology from "Explore agents" to "subagents" in the scope-understanding step.
- Agent Prompt: /schedule slash command — Replaced raw curl-based API calls with a dedicated tool for managing remote triggers; simplified the create body shape documentation; removed direct references to auth environment variables.
- Agent Prompt: Security monitor for autonomous agent actions (first part) — Clarified transcript evaluation target from "final tool_use block" to "agent's most recent action"; strengthened the "Evaluate on Own Merits" rule with an explicit "silence is not consent" principle — the user not intervening between consecutive actions is not evidence of approval.
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Expanded sensitive data definition to default-classify internal files (repo scripts, diagrams, slides) as sensitive when uploading to public storage such as gists, pastebins, or diagram renderers.
- Skill: /init CLAUDE.md and skill setup (new version) — Changed terminology from "Explore subagent" to generic "subagent" in the codebase exploration phase.
- Skill: Simplify — Added "unnecessary comments" check to the hacky-patterns review: delete comments that explain what code does, narrate the change, or reference the task/caller; keep only non-obvious "why" comments.
- System Prompt: Fork usage guidelines — Changed terminology from referencing a specific subagent type to "a fresh subagent" when explaining cache-sharing advantages of forks.
- System Prompt: Tool usage (task management) — Simplified tool name reference.
- System Reminder: Plan mode is active (iterative) — Minor rewording of the explore step's subagent guidance.
2.1.80
+3,065 tokens
- NEW: Agent Prompt: /schedule slash command — Guides the user through scheduling, updating, listing, or running remote Claude Code agents on cron triggers via the Anthropic cloud API.
- Agent Prompt: Status line setup — Added
rate_limitsobject to the status line JSON schema, exposing Claude.ai subscription usage limits with 5-hour session and 7-day weekly windows (each with used percentage and reset timestamp); added example shell commands for displaying rate limit usage in the status line. - Data: HTTP error codes reference — Minor update to HTTP error codes documentation.
2.1.79
+714 tokens
- REMOVED: System Prompt: Tool Use Summary Generation — Removed prompt for generating brief past-tense summaries of tool usage.
- Data: Claude model catalog — Added Programmatic Model Discovery section with Python SDK and raw HTTP examples for querying the Models API to retrieve live capability data (context window, max output tokens, vision, thinking, effort, structured outputs); includes guidance on iterating and filtering models by capability.
- Skill: Build with Claude API — Added Models API endpoints (
GET /v1/models,GET /v1/models/{id}) to the list of supporting endpoints; added live capability lookup note directing users to query the Models API instead of relying on cached model tables. - Skill: /loop slash command — Changed recurring task auto-expiry from a hardcoded 3-day limit to a configurable timeframe.
- Tool Description: CronCreate — Changed recurring task auto-expiry from a hardcoded 3-day limit to a configurable timeframe.
- System Prompt: Team memory content display — Updated memory content rendering to use a separate content reference.
- System Reminder: Memory file contents — Updated memory content rendering to use a separate content reference.
2.1.78
+1,956 tokens
- NEW: Agent Prompt: Dream memory consolidation — 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.
- REMOVED: System Prompt: Memory system (private feedback) — Removed description of the private feedback memory type for storing user guidance and corrections.
- REMOVED: System Prompt: Tone and style (concise output — detailed) — Removed instruction for concise, polished output without filler or inner monologue.
- NEW: System Prompt: Memory description of user feedback — 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.
- Data: Agent SDK patterns — Python — Added Session Mutations section with
rename_session,tag_sessionexamples including tag clearing and project-directory scoping. - Data: Agent SDK patterns — TypeScript — Added
getSessionInfoto Session History; addedtagfield to session listing output; added Session Mutations section withrenameSession,tagSession, andforkSessionexamples; noted pagination support vialimit/offsetonlistSessions. - Data: Agent SDK reference — Python — Added
RateLimitEventdocumentation with example showing how to handle rate-limit status transitions; added Session Mutations section withrename_sessionandtag_session(sync functions, optional directory scoping). - Data: Agent SDK reference — TypeScript — Added
agentProgressSummariesoption to the options table for enabling periodic AI-generated progress summaries ontask_progressevents; updatedtask_progressdescription to mention thesummaryfield; addedgetSessionInfofor single-session metadata retrieval; addedtagfield to session listing; noted pagination support onlistSessions; added Session Mutations section withrenameSession,tagSession, andforkSession. - Data: Claude API reference — Java — Bumped SDK version from 2.16.0 to 2.16.1.
Data: Claude API references (all languages) and tool use / streaming / batches / files references — Updated
max_tokensvalues across code examples, increasing to16000for non-streaming and64000for streaming to avoid mid-thought truncation. - Skill: Build with Claude API — Added
max_tokensdefaults guidance: use ~16000 for non-streaming and ~64000 for streaming; clarified that lowballingmax_tokenstruncates output and requires retries; noted exceptions for classification (~256), cost caps, or deliberately short outputs. - System Prompt: Auto mode — Added rule 6: never post to public services (GitHub gists, Mermaid Live, Pastebin, etc.) without explicit written user approval, requiring the user to review content for sensitivity first.
- System Prompt: Executing actions with care — Added guidance that uploading content to third-party web tools (diagram renderers, pastebins, gists) publishes it and may be cached or indexed, so sensitivity should be considered before sending.
2.1.77
+6,494 tokens
- NEW: Skill: /init CLAUDE.md and skill setup (new version) — A comprehensive onboarding flow for setting up CLAUDE.md and related skills/hooks in the current repository, including codebase exploration, user interviews, and iterative proposal refinement.
- NEW: Skill: update-config (7-step verification flow) — 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.
- Data: Claude API reference — Java — Bumped SDK version from 2.15.0 to 2.16.0; added Memory Tool section with
BetaMemoryToolHandlerexample showing how to implement a file-system-backed memory backend withBetaToolRunner. - Data: Tool use concepts — Added Java to the list of SDKs that provide helper classes/functions for implementing the memory tool backend.
- Skill: /loop slash command — Reformatted action steps as a numbered list; added step 3 instructing Claude to immediately execute the parsed prompt instead of waiting for the first cron fire (invoking slash commands via the Skill tool or acting directly).
- Skill: /stuck slash command — Changed Slack reporting to only post when a stuck session is actually found (no more all-clear messages); introduced a two-message structure with a short top-level message and a threaded detail reply for channel scannability; added relevant debug log tail or
sampleoutput to the thread reply. - Skill: Update Claude Code Config — Added reference to the new constructing-hook prompt; updated the prettier hook example command from
xargs prettier --writeto a saferread -r f; prettier --write "$f"pattern. - System Prompt: Hooks Configuration — Updated the prettier PostToolUse hook example command from
xargs prettier --writetoread -r f; prettier --write "$f"for safer filename handling. - Tool Description: Agent (usage notes) — Replaced agent resume-by-ID mechanism with instructions to use SendMessage with the agent's ID or name as the
tofield to continue a previously spawned agent; removed the separate bullet about agent ID return values; consolidated fresh-invocation guidance into a single bullet.
2.1.76
+43 tokens
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Clarified "base64-encoded" to "encoded (e.g. base64)" for sensitive data detection; broadened code-from-external deserialization examples to "formats that can execute code (eval, exec, yaml.unsafe_load, pickle, etc)"; refined "Modify Shared Resources" examples by removing "model registrations"; improved "Irreversible Local Destruction" formatting and clarified package-manager-controlled directory guidance (explaining files get regenerated on install and suggesting copying into source tree); changed "GitHub issues/PRs" capitalization to "GitHub Issues/PRs" in External System Writes; updated Data Exfiltration to replace "creating gists" with "public plaintext sharing applications (e.g. public GitHub gists)"; quoted rule names in cross-references (e.g. "Local Operations" ALLOW exception, "Irreversible Local Destruction" in BLOCK).
- Skill: Update Claude Code Config — Added
PostCompactto the list of available hook events. - System Prompt: Hooks Configuration — Added
PostCompacthook event (fires after compaction, receives summary) to the hooks event table. - Tool Description: ReadFile — Condensed and reordered usage notes; added a note about reading full files.
2.1.75
+156 tokens
- NEW: Agent Prompt: Determine which memory files to attach — Agent for determining which memory files to attach for the main agent.
- NEW: System Prompt: One of six rules for using sleep command — One of the six rules for using the sleep command.
- NEW: System Prompt: System section — System section of the main system prompt.
- REMOVED: Agent Prompt: Memory selection — Removed instructions for selecting relevant memories for a user query (replaced by "Determine which memory files to attach").
- REMOVED: Tool Description: Bash (sleep — no retry loops) — Removed instruction to diagnose failures instead of retrying in sleep loops.
- REMOVED: Tool Description: Bash (sleep — use run_in_background) — Removed instruction to use run_in_background for long-running commands.
- Agent Prompt: Security monitor for autonomous agent actions (first part) — Added "Unseen Tool Results" evaluation rule: when an action's parameters depend on a tool result not visible in the transcript, treat those parameters as unverifiable and block if the action is high-severity.
- System Prompt: Teammate Communication — Updated SendMessage usage instructions from
type: "message"/type: "broadcast"toto: "<name>"/to: "*"addressing pattern. - System Reminder: Team Coordination — Updated SendMessage example from
operation/target_agent_id/valuefields toto/message/summaryfields. - Tool Description: ReadFile — Simplified usage notes around line length truncation and conditional read lines.
- Tool Description: SendMessageTool — Restructured around a unified three-field schema (
to,message,summary) replacing the previoustype/recipient/contentpattern; protocol messages (shutdown, plan approval) are now nested inside themessagefield as structured objects; added addressing table; clarified that structured protocol messages cannot be broadcast. - Tool Description: TeammateTool — Updated SendMessage references from
type: "shutdown_request"tomessage: {type: "shutdown_request"}; changed field name fromtarget_agent_idtotofor sending messages.
2.1.74
+1,750 tokens
- NEW: Agent Prompt: Coding session title generator — Generates a title for the coding session.
- NEW: Skill: /stuck — Diagnose frozen or slow Claude Code sessions.
- Agent Prompt: Memory selection — Added rule to skip API/usage reference memories for tools already in active use, while still selecting warnings, gotchas, and known-issue memories for those tools.
- Agent Prompt: Security monitor for autonomous agent actions (first part) — Added block rule for agents posting or commenting to shared/external systems when the user only asked a question or requested analysis; added "posting or writing to shared/external systems" to the list of high-severity actions requiring precise user intent; refined messaging context rule to evaluate content sensitivity, accuracy, and audience scope rather than blanket-allowing internal messaging; simplified evaluation procedure wording; added scope-creep example for read-vs-publish distinction.
- Agent Prompt: Security monitor for autonomous agent actions (second part) — Added "Remote Shell Writes" block rule for writes to production/shared hosts via
kubectl exec,docker exec, orssh; renamed "Preview/Apply Collapse" to "Blind Apply" with clearer description of bypassed confirmation flags; added "External System Writes" block rule covering deletions, modifications, and publishing in external collaboration tools the agent didn't create; added "Content Integrity / Impersonation" block rule for false, fabricated, or misattributed content; added "Real-World Transactions" block rule for purchases, payments, and communications to people outside the user's organization; expanded "Irreversible Local Destruction" to cover untested glob/regex patterns and edits to package-manager-installed files; clarified "Local Operations" allow exception to scope "project scope" as the starting repository only; expanded "Production Deploy" definition to include production services. - System Reminder: /btw side question — Rewrote constraint framing from 'CRITICAL CONSTRAINTS' with 'no tools available' messaging to 'IMPORTANT CONTEXT' explaining the responder is a separate lightweight agent; clarified that the main agent continues working independently and that the responder should not reference being interrupted.
2.1.73
+13,443 tokens
- NEW: Data: Claude API reference — cURL — Raw API reference for Claude API for use with cURL or raw HTTP.
- NEW: System Prompt: How to use the SendUserMessage tool — Instructions for using the SendUserMessage tool.
- NEW: System Prompt: Phase four of plan mode — Phase four of plan mode, extracted as a standalone prompt.
- NEW: Tool Description: SendMessageTool (non-agent-teams) — Description of the SendMessageTool for non-agent-teams contexts.
- REMOVED: System Prompt: Brief mode — Removed Codex-like execution mode with short status updates before launching into work.
- REMOVED: System Prompt: Post checkpoints — Removed instructions for how to post checkpoints during task execution.
- Data: Agent SDK patterns — Python — Clarified that custom SDK MCP tools require
ClaudeSDKClient(notquery()); removedallow_dangerously_skip_permissionsfrom bypass permissions example; fixed session ID extraction to usemessage.data.get("session_id"); changedlist_sessionsandget_session_messagesfrom async to sync functions. - Data: Agent SDK reference — Python — Removed
"dontAsk"permission mode; removedallow_dangerously_skip_permissionsoption and requirement for bypass permissions; reduced available hook events list to a smaller set; fixed session ID extraction to usemessage.data.get("session_id"); renamed task message subclasses toTaskStartedMessage,TaskProgressMessage,TaskNotificationMessage; changedlist_sessionsandget_session_messagesfrom async to sync functions; changed MCP server management methods from add/remove to reconnect/toggle/status pattern. - Data: Agent SDK reference — TypeScript — Clarified
"dontAsk"permission mode as denying anything not pre-approved rather than auto-approving; expanded available hook events list withElicitation,ElicitationResult,WorktreeCreate,WorktreeRemove,InstructionsLoaded; changedtoolsoption to accept a preset object in addition to string arrays; changedsystemPromptoption to accept a preset object with optional append; corrected stop reason example values; clarifiedtoggleMcpServerrequires both name and enabled parameters; clarifiedmcpServerStatusreturns an array of all configured servers. - Data: Claude API reference — C# — Substantially expanded: added content block iteration with
TryPick*pattern for type-safe narrowing; added adaptive thinking section; added full tool definition and manual tool loop with round-trip conversion guidance; added context editing/compaction beta section withBetaContentBlockhandling; added effort parameter, prompt caching, token counting, structured output, PDF/document input, server-side tools, and Files API beta sections. - Data: Claude API reference — Go — Added stream message accumulation pattern; added
BetaTextBlocktype narrowing forRunToCompletionresults; replaced fixed-budget extended thinking with adaptive thinking as recommended mode; added server-side tools, PDF/document input, Files API beta, and context editing/compaction beta sections. - Data: Claude API reference — Java — Substantially expanded: added adaptive thinking section with
ThinkingConfigAdaptive; added non-beta tool declaration with manual JSON schema; addedMessageParamcontent block building for tool result round-trips; added effort parameter, prompt caching, token counting, structured output with typed parsing, PDF/document input, server-side tools with beta namespace guidance, server tool response reading, and Files API beta sections. - Data: Claude API reference — PHP — Substantially expanded: updated Bedrock, Vertex AI, and Foundry client initialization to use new namespaced static factories; added content block type checking for safe text extraction; added SDK version requirement note for streaming; added typed streaming event handling; added full manual tool use loop with camelCase key guidance; added adaptive thinking section; added beta features section with MCP server and server-side tools guidance.
- Data: Claude API reference — Python — Updated compaction availability from "Opus 4.6 only" to "Opus 4.6 and Sonnet 4.6."
- Data: Claude API reference — TypeScript — Corrected multi-turn rule from "messages must alternate" to "consecutive same-role messages are allowed"; updated compaction availability from "Opus 4.6 only" to "Opus 4.6 and Sonnet 4.6"; added type guard narrowing for
BetaTextBlockin compaction example. - Data: Claude model catalog — Added retirement date (Apr 19, 2026) for Claude Haiku 3.
- Data: Files API reference — Python — Updated code examples to iterate content blocks by type instead of indexing
content[0].text. - Data: HTTP error codes reference — Added
request_idfield to error response example. - Data: Message Batches API reference — Python — Updated code examples to find text blocks by type instead of indexing
content[0].text. - Data: Tool use reference — Python — Fixed
tool_runnercall from async to sync; updated structured output example to find text blocks by type instead of indexingcontent[0].text. - Data: Tool use reference — TypeScript — Added server-side tools section with interface/name/type mapping table and beta mixing warning; fixed
pause_turnhandling to append assistant turn instead of resetting messages; added ESM__dirnameworkaround note; fixed variable shadowing in file download example; added nullability annotations forcontainer.idandparsed_output; added "Reading Local Files" ESM section. - Skill: Build with Claude API — Updated compaction availability from "Opus 4.6 only" to "Opus 4.6 and Sonnet 4.6."
- System Reminder: Plan mode is active (5-phase) — Extracted Phase 4 (Final Plan) instructions into a separate reusable prompt reference.
2.1.72
+1,643 tokens
- NEW: System Prompt: Auto mode — Continuous task execution mode, akin to a background agent.
- NEW: System Prompt: Brief mode — Codex-like execution mode with short status updates before launching into work.
- NEW: System Prompt: Post checkpoints — Instructions for how to post checkpoints during task execution.
- NEW: Tool Description: ExitWorktree — Tool for leaving a git worktree mid-session, with option to keep or remove it.
- NEW: Tool Description: ToolSearch (second part) — Second part of the ToolSearch tool description with query modes and usage examples.
- REMOVED: System Prompt: Tool permission mode — Removed guidance on tool permission modes and handling denied tool calls.
- REMOVED: System Prompt: Using your tools (how to use searching tools) — Removed standalone searching tools guidance (consolidated into existing direct search and delegate exploration prompts).
- REMOVED: System Prompt: Using your tools (whether to use Explore subagent) — Removed standalone Explore subagent guidance (consolidated into existing delegate exploration prompt).
- REMOVED: Tool Description: ToolSearch extended — Removed extended ToolSearch usage instructions (replaced by ToolSearch second part).
- Agent Prompt: Claude guide agent — Removed inline agent metadata block (agent type, model, permission mode, tool list, and when-to-use guidance).
- Agent Prompt: Explore strengths and guidelines — Added agent metadata block with agent type, model, disallowed tools, when-to-use guidance, and critical read-only system reminder (moved from Explore prompt).
- Agent Prompt: Explore — Removed inline agent metadata block (moved to Explore strengths and guidelines).
- Agent Prompt: Verification specialist — Significantly expanded with two documented failure patterns (verification avoidance and "first 80%" bias); added structured per-check output format requiring command run, output observed, and result; added self-rationalization recognition section with common excuses to override; added guidance to match rigor to stakes; added pre-FAIL checklist to avoid flagging intentional behavior or already-handled cases; defined PARTIAL as environmental limitations only; updated mobile verification strategy to use accessibility/UI tree dumps instead of screenshots; clarified that test suite results are context, not evidence.
- Skill: Simplify — Added "Recurring no-op updates" as a new efficiency check for state/store updates in polling loops or event handlers that fire unconditionally without change detection.
- System Prompt: Fork usage guidelines — Refined forking criteria from a list of use cases to a qualitative "will I need this output again" heuristic; added guidance that forks beat Explore subagent for research because they inherit context and share cache; added warning not to set a different model on forks to preserve cache reuse.
- System Prompt: Tool usage (delegate exploration) — Generalized individual tool name references to a unified search tools reference.
- System Prompt: Tool usage (direct search) — Generalized individual tool name references to a unified search tools reference.
- Tool Description: Agent (usage notes) — Internal variable renames only; no user-facing changes.
- Tool Description: EnterWorktree — Added mention of ExitWorktree for leaving the worktree mid-session; clarified that the keep/remove prompt on session exit only applies if still in the worktree.
- Tool Description: WebSearch — Internal variable rename only; no user-facing changes.
2.1.71
+10,211 tokens
- NEW: Agent Prompt: Security monitor for autonomous agent actions (first part) — 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.
- NEW: Agent Prompt: Security monitor for autonomous agent actions (second part) — Defines the environment context, block rules, and allow exceptions that govern which tool actions the agent may or may not perform.
- NEW: Skill: /loop slash command — Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task.
- NEW: System Prompt: Memory system (private feedback) — Describes the private feedback memory type for storing user guidance and corrections, with instructions to check for contradictions against team feedback before saving.
- NEW: System Prompt: Team memory content display — Renders shared team memory file contents with path and content for injection into the conversation context.
- NEW: System Prompt: Using your tools (how to use searching tools) — Guidance to use
findorgrepvia Bash for simple, directed codebase searches like finding a specific file, class, or function. - NEW: System Prompt: Using your tools (whether to use Explore subagent) — Guidance to use the Explore subagent for broader codebase exploration and deep research, noting it's slower than direct find/grep and should only be used when simple searches are insufficient.
- NEW: Tool Description: CronCreate — Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance.
- Agent Prompt: Claude guide agent — Consolidated individual tool name references (Read, Glob, Grep) into a single grouped reference for local project file searching.
- Agent Prompt: Explore strengths and guidelines — Generalized file search guidance from "Use Grep or Glob" to "search broadly when you don't know where something lives."
- Agent Prompt: Explore — Tool usage guidelines now adapt based on whether embedded tools are active, conditionally including
grepin allowed Bash operations. - Agent Prompt: Plan mode (enhanced) — Exploration instructions now adapt between
find/grepand Glob/Grep tool references depending on embedded tools mode; conditionally includesgrepin allowed Bash operations. - Agent Prompt: Worker fork execution — Removed Grep and Glob from the explicit tool list; added agent metadata block (fork type, inherited model, permission bubbling, max turns).
- Data: Agent SDK patterns — Python — Added Session History section with examples for listing past sessions and retrieving messages.
- Data: Agent SDK patterns — TypeScript — Added Session History section with examples for listing past sessions and retrieving messages with pagination.
- Data: Agent SDK reference — Python — Added
agent_id/agent_typefields on tool-lifecycle hook inputs; addedstop_reasonto result messages; added typed task message subclasses (TaskStarted, TaskProgress, TaskNotification); added Session History section; added MCP Server Management section with runtime add/remove/status operations. - Data: Agent SDK reference — TypeScript — Added
agent_id/agent_typefields on tool-lifecycle hook inputs; addedstop_reasonto result messages; added task-related system message subtypes (task_started, task_progress, task_notification); added Session History section with pagination support; added MCP Server Management section with reconnect/toggle/status operations. - Data: Claude API reference — Go — Substantially expanded: updated basic example to use
context.Background()and proper content block type-switching; added full manual agentic tool loop example with key API surface table; added Extended Thinking section with enable/disable/adaptive helpers. - Data: Claude API reference — Python — Updated basic message example to iterate content blocks by type instead of indexing
content[0].text; updated ConversationManager to usenext()with type filter. - Data: Claude API reference — Ruby — Updated basic message example to iterate content blocks by type symbol instead of calling
.first.text. - Data: Claude API reference — TypeScript — Updated basic message example to iterate content blocks with type narrowing instead of indexing
content[0].text. - Skill: Debugging — Added conditional section informing users when debug logging was just enabled (vs. already active), with instructions to reproduce the issue; fixed typo "relevate" → "relevant."
- Skill: Simplify — Added "Unnecessary JSX nesting" as a new hacky-pattern check for wrapper elements that add no layout value; generalized duplicate-search guidance from tool-specific to broad search language.
- Tool Description: Bash (prefer dedicated tools) — The list of commands to avoid running via Bash (previously hardcoded as find, grep, cat, head, tail, sed, awk, echo) is now dynamically determined based on context.
2.1.70
+1,212 tokens
- NEW: Agent Prompt: Worker fork execution — System prompt for a forked worker sub-agent that executes a directive directly without spawning further sub-agents, then reports structured results.
- NEW: System Prompt: Fork usage guidelines — Instructions for when to fork subagents and rules against reading fork output mid-flight or fabricating fork results.
- NEW: System Prompt: Subagent delegation examples — Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results.
- NEW: System Prompt: Writing subagent prompts — Guidelines for writing effective prompts when delegating tasks to subagents, covering context-inheriting vs fresh subagent scenarios.
- NEW: Tool Description: Agent (usage notes) — Usage notes and instructions for the Task/Agent tool, including guidance on launching subagents, background execution, resumption, and worktree isolation.
- NEW: Tool Description: Agent (when to launch subagents) — Describes when to use the Agent tool for launching specialized subagent subprocesses to autonomously handle complex multi-step tasks.
- REMOVED: Agent Prompt: User sentiment analysis — Deleted the agent prompt for analyzing user frustration and PR creation requests.
- REMOVED: Tool Description: Task — Deleted the Task tool description (replaced by the new Agent usage notes and Agent when-to-launch prompts).
- Agent Prompt: /security-review slash command — Changed git diff command from
--merge-base origin/HEADtoorigin/HEAD...; fixed version tag.
2.1.69
+3,310 tokens
- NEW: Agent Prompt: Common suffix (response format) — Appends response format instructions to agent prompts, switching between concise sub-agent reporting and detailed standalone writeups based on a caller flag.
- NEW: Agent Prompt: Explore strengths and guidelines — Defines the strengths and behavioral guidelines for the codebase exploration subagent, emphasizing search strategies, thoroughness, and avoiding unnecessary file creation.
- NEW: Agent Prompt: Verification specialist — Re-added system prompt for a verification subagent that adversarially tests implementations and issues PASS/FAIL/PARTIAL verdicts (removed in v2.1.66).
- NEW: System Prompt: Agent thread notes — Behavioral guidelines for agent threads covering absolute paths, response formatting, emoji avoidance, and tool call punctuation.
- NEW: System Prompt: Analysis instructions for full compact prompt (full conversation) — Compaction analysis instructions for full conversation context.
- NEW: System Prompt: Analysis instructions for full compact prompt (minimal and via feature flag) — Lean/experimental compaction analysis instructions.
- NEW: System Prompt: Analysis instructions for full compact prompt (recent messages) — Compaction analysis instructions for recent messages only.
- NEW: System Prompt: Description part of memory instructions — Field for describing what a memory is, part of memory creation instructions.
- NEW: System Prompt: Output efficiency — Re-added instructions for concise, direct output (removed in v2.1.66).
NEW: Tool Description: AskUserQuestion (preview field) — Instructions for using the optional
previewfield on single-select question options to display visual artifacts like HTML mockups, code snippets, and diagrams. - REMOVED: Agent Prompt: Task tool — Deleted the general-purpose subagent system prompt (content split into Explore strengths and guidelines and Agent thread notes).
- REMOVED: Agent Prompt: Task tool (extra notes) — Deleted additional notes for Task tool usage (content moved to Agent thread notes).
- REMOVED: System Reminder: Output token limit exceeded — Deleted the warning shown when a response exceeds the output token limit.
- REMOVED: Tool Description: ToolSearch — Deleted the base ToolSearch tool description (content consolidated into ToolSearch extended).
- Agent Prompt: Conversation summarization — Replaced inline analysis instructions with
${ANALYSIS_INSTRUCTION_TAGS}variable. - Agent Prompt: /pr-comments slash command — Minor wording changes.
- Agent Prompt: Quick PR creation — Removed hardcoded Changelog section and Slack posting step; made PR creation/edit options and body sections configurable; fixed typo in SAFEUSER variable name.
- Agent Prompt: Recent Message Summarization — Refactored analysis instructions into a shared component.
- Agent Prompt: Status line setup — Re-added
worktreeobject to the status line JSON schema (name, path, branch, original cwd, and original branch fields). - Data: Tool use concepts — Added mention of Python SDK MCP conversion helpers (
anthropic.lib.tools.mcp). - Data: Tool use reference — Python — Added full MCP Tool Conversion Helpers section with examples for tool runner integration, prompts, resources as content, and file uploads.
- Skill: Create verifier skills — Re-added self-update guidance: verifiers now offer to edit their own SKILL.md when instructions are outdated; added user-facing note about self-update behavior.
- Skill: Verification specialist — Re-added verifier skill maintenance section for distinguishing outdated verifier instructions from actual feature failures.
- System Prompt: Option previewer — Renamed
markdownfield topreview; added description of rendering as markdown in a monospace box with multi-line support. - Tool Description: Task — Removed 'access to current context' guidance; added note that teammates cannot spawn other teammates when background tasks are disabled.
- Tool Description: TaskCreate — Made
activeFormparameter optional (spinner falls back to subject when omitted); simplified task creation instructions. - Tool Description: ToolSearch extended — Re-added comma-separated multi-tool direct selection (e.g.,
select:Read,Edit,Grep).
2.1.68
No changes to the system prompts in v2.1.68.
2.1.66
-1,507 tokens
- REMOVED: Agent Prompt: Verification specialist — Deleted the adversarial verification agent prompt that returned PASS/FAIL/PARTIAL verdicts.
- REMOVED: System Prompt: Output efficiency instructions — Deleted instructions for concise, direct output.
- REMOVED: System Reminder: Ultraplan complete — Deleted the reminder instructing Claude to present a pre-generated plan from a remote session.
- Agent Prompt: Explore — Removed inline
whenToUsedescription andwhenToUseDynamicflag from agent metadata; renamedAgenttotqin disallowed tools. - Agent Prompt: Plan mode enhanced — Renamed
Agenttotqin disallowed tools. - Agent Prompt: Status line setup — Removed
worktreeobject from the status line JSON schema (name, path, branch, original cwd, and original branch fields). - Skill: Create verifier skills — Removed self-update guidance: verifiers no longer offer to edit their own SKILL.md when instructions are outdated.
- Skill: Verification specialist — Removed verifier skill maintenance section for distinguishing outdated verifier instructions from actual feature failures.
- Tool Description: Task — Re-added guidance about agents with "access to current context" seeing full conversation history (had been removed in v2.1.64).
- Tool Description: ToolSearch extended — Removed comma-separated multi-tool direct selection;
select:now loads only a single named tool. - Tool Description: ToolSearch — Added
ADDITIONAL_PROMPT_SECTIONvariable.
2.1.64
+1,291 tokens
- NEW: Agent Prompt: Verification specialist — System prompt for adversarially verifying implementation correctness through builds, tests, and runtime checks, returning PASS/FAIL/PARTIAL verdicts.
- NEW: System Prompt: Output efficiency instructions — Instructions for being concise and to the point.
- NEW: System Reminder: Ultraplan complete — Instructs Claude to present a pre-generated plan from a remote session without further exploration.
- Agent Prompt: Status line setup — Added
worktreeobject to the status line JSON schema with name, path, branch, original cwd, and original branch fields. - Skill: Create verifier skills — Added self-update guidance: verifiers now offer to edit their own SKILL.md when instructions are outdated rather than reporting a false FAIL.
- Skill: Verification specialist — Added verifier skill maintenance section for distinguishing outdated verifier instructions from actual feature failures, with self-repair workflow.
- Tool Description: Task — Removed guidance about agents with "access to current context" seeing full conversation history.
- Tool Description: ToolSearch extended — Added comma-separated multi-tool direct selection (e.g.,
select:Read,Edit,Grep). - Tool Description: ToolSearch — Removed
EXTENDED_TOOL_SEARCH_PROMPTvariable; inlined the tool description.
2.1.63
+4,200 tokens
- NEW: Agent Prompt: /batch slash command — Instructions for orchestrating a large, parallelizable change across a codebase.
- NEW: System Prompt: Worker instructions — Instructions for workers to follow when implementing a change.
- REMOVED: Agent Prompt: Bash command file path extraction — System prompt for extracting file paths from bash command output.
- REMOVED: Skill: Build with Claude API (trigger) — Activation criteria for the Build with Claude API skill.
- REMOVED: System Reminder: Todo list changed — Notification that todo list has changed.
- REMOVED: System Reminder: Todo list empty — Reminder that todo list is empty.
- Data: Claude API reference — Go — Added
BetaToolRunnerdocumentation with thetoolrunnerpackage; restructured tool use into "Tool Runner (Beta)" and "Manual Loop" sections. - Data: Claude API reference — PHP — Added Bedrock, Vertex AI, and Foundry client initialization examples; removed version pinning from install command.
- Data: Claude API reference — Java — Updated SDK version from 2.14.0 to 2.15.0.
- Data: Claude API reference — Python — Added automatic caching section for simplified prompt caching alongside existing manual cache control.
- Data: Claude API reference — TypeScript — Added automatic caching section, typed error handling guidance, SDK types guidance (
Anthropic.MessageParam, etc.), and multi-turn typing improvements. - Data: HTTP error codes reference — Added typed exceptions table mapping HTTP codes to TypeScript and Python exception classes, with correct/incorrect usage examples.
- Data: Tool use concepts — Expanded tool runner availability to include Java, Go, and Ruby; improved
pause_turnhandling with code example andmax_continuationsguidance; simplified dynamic filtering (no longer requires separatecode_executiontool or beta header). - Data: Tool use reference — TypeScript — Added streaming manual loop section combining
stream()+finalMessage()with tool-use loop; addedpause_turnhandling; added SDK type annotations and error handling guidance throughout. - Data: Tool use reference — Python — Added
pause_turnhandling in manual agentic loop. - Data: Streaming reference — TypeScript — Enhanced best practices: expanded
finalMessage()guidance, addedstream.on("text")tip, added agentic loop streaming cross-reference. - Data: Claude model catalog — Moved Claude Haiku 3 from current models to deprecated.
- Skill: Build with Claude API — Updated Go SDK to show beta tool runner support; added guidance against reimplementing SDK functionality, redefining SDK types, and guidance on report/document output via code execution sandbox.
- Agent SDK references and patterns (Python, TypeScript) — Renamed
Tasktool toAgentin allowed tools, tool tables, and code examples. - Agent Prompt: Conversation summarization — Fixed list indentation and corrected duplicate section numbering (two section 6s → 6, 7).
- System Reminder: Plan mode is active (5-phase) — Simplified template variables and removed several variable declarations.
- System Reminder: Plan mode is active (iterative) — Restructured plan file info rendering and simplified variable references.
- Tool descriptions (EnterPlanMode, TeammateTool) — Renamed
Tasktool references toAgent. - Hardcoded model IDs (e.g.,
claude-opus-4-6) replaced with template variables (e.g.,{{OPUS_ID}}) across all SDK reference, data, and skill files.
2.1.62
No changes to the system prompts in v2.1.62.
2.1.61
No changes to the system prompts in v2.1.61.
2.1.59
-493 tokens
- REMOVED: Data: Claude Code version mismatch warning — Warning shown when Claude Code version is outdated, including update instructions.
- REMOVED: System Reminder: Hook JSON validation failed — Error message shown when hook JSON output fails schema validation.
2.1.58
No changes to the system prompts in v2.1.58.
2.1.56
No changes to the system prompts in v2.1.56.
2.1.55
No changes to the system prompts in v2.1.55.
2.1.54
No changes to the system prompts in v2.1.54.
2.1.53
-617 tokens
- NEW: Agent Prompt: Memory selection - Instructions for selecting relevant memories for a user query (156 tks).
- REMOVED: Agent Prompt: Command execution specialist - Removed command execution specialist agent for running bash commands (109 tks).
- REMOVED: System Prompt: Main system prompt - Removed standalone core identity prompt; content absorbed into other prompt sections (269 tks).
- Tool Description: Task - Background agents now auto-notify on completion instead of providing an output file path; explicitly discourages sleeping, polling, or proactive checking (1317 → 1331 tks).
- Tool Description: Write - Clarified Write vs Edit guidance: prefer Edit for modifications (sends only the diff), reserve Write for new files or complete rewrites (127 → 129 tks).
- Widespread decomposition of 6 monolithic system prompts and 2 tool descriptions into ~70 smaller atomic files. Content is largely preserved but reorganized into independently addressable units, with some new sub-prompts (e.g., "ambitious tasks", "blocked approach", "code references") and redistributed content (e.g., "no time estimates" moved from Tone and style to Doing tasks):
- System Prompt: Doing tasks (437 tks) → 13 files covering software engineering focus, read-before-modifying, security, over-engineering, unnecessary additions, error handling, premature abstractions, compatibility hacks, file creation, time estimates, help/feedback, ambitious tasks, and blocked approach.
- System Prompt: Tone and style (500 tks) → 3 files covering code references, concise output (detailed), and concise output (short).
- System Prompt: Tool usage policy (352 tks) → 11 files covering create/edit/read/search files, Bash reservation, content search, delegate exploration, direct search, skill invocation, subagent guidance, and task management.
- System Prompt: Task management (565 tks) → merged into Tool usage (task management) sub-prompt (73 tks).
- System Prompt: Conditional delegate codebase exploration (249 tks) → merged into Tool usage (delegate exploration) sub-prompt (114 tks).
- Tool Description: Bash (1067 tks) + Bash (sandbox note) (438 tks) → 45 files covering overview, working directory, timeout, command description, quoting, sequential/parallel commands, newlines, semicolons, cwd maintenance, dedicated-tool preferences, 6 alternative-tool notes, git safety (3 files), sleep guidance (6 files), sandbox policy (17 files), and verify-parent-directory.
2.1.52
No changes to the system prompts in v2.1.52.
2.1.51
+6,918 tokens
- NEW: Agent Prompt: Quick PR creation - Streamlined prompt for creating a commit and pull request with pre-populated context (945 tks).
- NEW: Agent Prompt: Quick git commit - Streamlined prompt for creating a single git commit with pre-populated context (507 tks).
- NEW: Data: Agent SDK reference — TypeScript - TypeScript Agent SDK reference including installation, quick start, custom tools, and hooks (2287 tks).
- NEW: Data: Claude Code version mismatch warning - Warning shown when Claude Code version is outdated (173 tks).
- NEW: Skill: Create verifier skills - Prompt for creating verifier skills for the Verify agent to automatically verify code changes (2586 tks).
- NEW: System Reminder: Hook JSON validation failed - Error when hook JSON output fails validation (320 tks).
- REMOVED: Agent Prompt: Single-word search term extractor - Removed prompt for extracting single-word search terms from a user's query (361 tks).
- Data: Agent SDK patterns — Python - Replaced
asynciowithanyio; switched message type checks frommessage.type == "result"toisinstance(message, ResultMessage); custom tools now require MCP server viacreate_sdk_mcp_server+ClaudeSDKClient; addedpermission_mode="plan"andallow_dangerously_skip_permissionsfor bypass mode (2080 → 2350 tks). - Data: Agent SDK reference — Python - Added
ClaudeSDKClientinterface with full lifecycle control; expanded built-in tools table (AskUserQuestion,Task); addedplananddontAskpermission modes; greatly expanded Common Options table withmax_budget_usd,output_format,thinking,betas,setting_sources,env, and more; updated hook events list with 15+ event types (1718 → 2750 tks). - Data: Tool use concepts - Code execution promoted from beta to GA (
code_execution_20260120); added new server-side tools sections for Web Search/Fetch (web_search_20260209,web_fetch_20260209) with dynamic filtering, Programmatic Tool Calling, Tool Search, and Tool Use Examples; removed beta requirement for memory tool; updated structured outputs guidance foroutput_config.format(2820 → 3640 tks). - Data: Tool use reference — Python - Migrated code execution and memory from
client.beta.messages.createtoclient.messages.create; removedbetasarrays; Files API beta now passed viaextra_headers(4261 → 4180 tks). - Data: Tool use reference — TypeScript - Same beta→GA migration as Python; structured output example updated from
output_formattooutput_config.format(3294 → 3228 tks). - Data: Claude API reference — Python - Added explicit TTL support for
cache_control("ttl": "1h"); extended adaptive thinking note to include Sonnet 4.6; added Stop Reasons table (end_turn,max_tokens,tool_use,pause_turn,refusal); updated rate limit error handling; changed Sonnet reference toclaude-sonnet-4-6(2905 → 3248 tks). - Data: Claude API reference — TypeScript - Added explicit TTL for
cache_control; extended adaptive thinking to Sonnet 4.6; added Stop Reasons table (2024 → 2388 tks). - Data: Claude API reference — Java - Updated SDK version 2.11.1 → 2.14.0; improved streaming with fluent stream API; added
anthropic-betaheader for structured outputs; added non-beta tool use section (1073 → 1226 tks). - Data: Claude API reference — C# - Removed "beta" label; expanded streaming example with typed
RawMessageStreamEventhandling (458 → 550 tks). - Data: Claude API reference — Ruby - Updated tool runner to use
BaseModelinput schema pattern withdocmethod andinputparameter (603 → 622 tks). - Data: Claude API reference — Go - Updated model constants from
ModelClaudeOpus4_5_20251101toModelClaudeOpus4_6(629 → 621 tks). - Data: Claude API reference — PHP - Removed "beta" label; updated SDK 0.4.0 → 0.5.0; switched from array syntax to named parameters (410 → 394 tks).
- Data: Claude model catalog - Added Max Output column (128K for Opus, 64K for Sonnet/Haiku); Opus 4.6 now shows 1M beta context; added Model Descriptions section; moved Sonnet 3.7 and Haiku 3.5 from "deprecated" to "retired"; updated alias table accordingly (1349 → 1510 tks).
- Data: HTTP error codes reference - Replaced human-readable error names with API error type strings (e.g.,
invalid_request_error); removed 422 status code, merging validation errors into 400; stripped escaped markdown formatting (1460 → 1387 tks). - Skill: Build with Claude API - Opus 4.6 now shows 1M beta context; stronger default-model guidance ("ALWAYS use
claude-opus-4-6"); extended adaptive thinking and effort parameter to Sonnet 4.6; expanded thinking/budget_tokens deprecation notes; removed "beta" labels from C#/PHP SDKs (token count unchanged). - Skill: Build with Claude API (trigger) - Simplified trigger criteria to explicit SDK import checks (
anthropic,claude_agent_sdk); clearer DO NOT TRIGGER rules (token count unchanged). - Tool Description: EnterWorktree - Added explicit "When NOT to Use" section; narrowed activation to only when user explicitly says "worktree"; no longer triggers for general isolation or branch requests (284 → 334 tks).
- Data: Agent SDK patterns — TypeScript - Fixed session init check from
"subtype" in messagetomessage.type === "system"(1067 → 1069 tks). - Data: Message Batches API reference — Python - Added
"canceled"result type handling (1481 → 1505 tks). - Widespread internal variable renames across 12 files (e.g.,
ADDITIONAL_USER_INPUT→USER_INPUT,PREVIOUS_AGENT_SUMMARY→PREVIOUS_SUMMARY,SYSTEM_REMINDER→PLAN_STATE,COMMIT_CO_AUTHORED_BY_CLAUDE_CODE→ATTRIBUTION_TEXT,IS_TRUTHY_FN→IS_BACKGROUND_TASKS_DISABLED_FN,CAN_READ_PDF_FILES→IS_PDF_SUPPORTED_FN, and others).
2.1.50
+110 tokens
- Tool Description: EnterWorktree - Generalized from git-only to support VCS-agnostic isolation via
WorktreeCreate/WorktreeRemovehooks; requirements now allow non-git repos with hooks configured (237 → 284 tks). - Tool Description: ReadFile - Replaced hardcoded "cat -n format" line-number note with a
CONDITIONAL_READ_LINESvariable (476 → 468 tks). - Tool Description: Task - Added
isolation: "worktree"option to run agents in temporary git worktrees with automatic cleanup (1228 → 1299 tks).
2.1.49
No changes to the system prompts in v2.1.49.
2.1.48
-1,082 tokens
- NEW: Tool Description: EnterWorktree - Tool description for the EnterWorktree tool (237 tks).
- REMOVED: System Prompt: MCP CLI - Removed instructions for using mcp-cli to interact with Model Context Protocol servers (1333 tks).
- Tool Description: Task - Simplified background agent output-file guidance; removed
BASH_TOOLvariable andtailinstructions; added new "Foreground vs background" bullet explaining when to use each mode (1214 → 1228 tks).
2.1.47
+34,752 tokens
- NEW: Data: Agent SDK patterns — Python (2080 tks), Agent SDK patterns — TypeScript (1067 tks), Agent SDK reference — Python (1718 tks) - SDK pattern guides and reference for Python and TypeScript Agent SDKs.
- NEW: Data: Claude API reference — C# (458 tks), Go (629 tks), Java (1073 tks), PHP (410 tks), Python (2905 tks), Ruby (603 tks), TypeScript (2024 tks) - SDK references for all supported Claude API client languages.
- NEW: Data: Claude model catalog (1349 tks) - Catalog of current and legacy Claude models with IDs, aliases, context windows, and pricing.
- NEW: Data: Files API reference — Python (1303 tks), TypeScript (798 tks) - References for the Files API covering upload, listing, deletion, and message usage.
- NEW: Data: HTTP error codes reference (1460 tks) - Reference for Claude API HTTP error codes with common causes and handling strategies.
- NEW: Data: Live documentation sources (2337 tks) - WebFetch URLs for fetching current Claude API and Agent SDK documentation from official sources.
- NEW: Data: Message Batches API reference — Python (1481 tks) - Batches API reference including batch creation, status polling, and result retrieval.
- NEW: Data: Streaming reference — Python (1534 tks), TypeScript (1553 tks) - Streaming references covering sync/async streaming and content type handling.
- NEW: Data: Tool use concepts (2820 tks) - Conceptual foundations of tool use including definitions, tool choice, and best practices.
- NEW: Data: Tool use reference — Python (4261 tks), TypeScript (3294 tks) - Tool use references covering tool runner, agentic loops, code execution, and structured outputs.
- REMOVED: Agent Prompt: Prompt Suggestion Generator (Coordinator) - Removed the coordinator-mode prompt suggestion generator that predicted what a team supervisor would type next (283 tks).
- REMOVED: System Reminder: Delegate mode prompt - Removed the delegate mode system reminder that restricted tool usage to team coordination tools (185 tks).
- REMOVED: System Reminder: Exited delegate mode - Removed the notification shown when exiting delegate mode (50 tks).
- Agent Prompt: Status line setup - Added
added_dirsfield to the workspace schema for directories added via/add-dir(1482 → 1502 tks). - Tool Description: AskUserQuestion - Added
EXIT_PLAN_MODE_TOOL_NAMEvariable; expanded plan mode guidance to warn against referencing "the plan" in questions, since users cannot see the plan untilExitPlanModeis called (194 → 287 tks).
2.1.45
+276 tokens
- NEW: Agent Prompt: Single-word search term extractor - System prompt for extracting single-word search terms from a user's query (361 tks).
- NEW: System Prompt: Option previewer - System prompt for previewing UI options in a side-by-side layout (129 tks).
- REMOVED: Agent Prompt: Prompt Suggestion Generator (Stated Intent) - Removed the stated-intent prompt suggestion generator that returned a user's explicitly stated next step (166 tks).
- Agent Prompt: /review-pr slash command - Replaced
${BASH_TOOL_OBJECT.name}(...)template expressions with plain backtick-quotedghcommands; removedBASH_TOOL_OBJECTvariable (243 → 211 tks). - Tool Description: Bash (sandbox note) - Removed
CONDITIONAL_NEWLINE_IF_SANDBOX_ENABLEDvariable; the conditional newline before the "Set dangerouslyDisableSandbox" bullet is now always included (454 → 438 tks).
2.1.44
No changes to the system prompts in v2.1.44.
2.1.42
-1,060 tokens
- REMOVED: Agent Prompt: Remember skill - Removed the
/rememberskill prompt that reviewed session memories and updated CLAUDE.local.md with recurring patterns and learnings (1048 tks). - Tool Description: WebSearch - Simplified date-awareness variables; replaced
GET_CURRENT_DATE_FNandCURRENT_YEARwith a singleCURRENT_MONTH_YEARvariable; updated example to use plain text ("with the current year, NOT last year") instead of template expressions (331 → 319 tks).
2.1.41
+262 tokens
- NEW: System Prompt: Conditional delegate codebase exploration - Added instructions for when to use the Explore subagent versus calling tools directly (249 tks).
- System Prompt: Tool usage policy - Replaced inline "VERY IMPORTANT" block and examples about delegating codebase exploration to the Explore agent with a conditional variable reference; removed
GLOB_TOOL_NAMEandGREP_TOOL_NAMEvariables (564 → 352 tks). - System Prompt: Skillify Current Session - Added Round 2 prompt to ask the user where to save the skill (repo-specific vs personal); updated Step 3 to use the user-chosen location instead of hardcoded
.claude/skills/; changed Step 4 to output the SKILL.md as a YAML code block for review and use a simpler AskUserQuestion confirmation (1750 → 1882 tks). - System Reminder: Plan mode is active (5-phase) - Made Explore subagent usage conditional; when disabled, Phase 1 now instructs Claude to use Glob, Grep, and Read tools directly; updated Phase 2 variable references for plan subagent and agent count (1429 → 1500 tks).
- Agent Prompt: Status line setup - Added
session_namefield (optional human-readable session name set via/rename) to the JSON input spec (1460 → 1482 tks).
2.1.40
-293 tokens
- REMOVED: Agent Prompt: Evolve currently-running skill - Removed agent prompt for evolving a currently-running skill based on user requests or preferences (293 tks).
2.1.39
+293 tokens
- NEW: Agent Prompt: Evolve currently-running skill - Added new agent prompt for evolving a currently-running skill based on what the user is implicitly or explicitly requesting (293 tks).
2.1.38
+105 tokens
- NEW: Agent Prompt: Prompt Suggestion Generator (Coordinator) - Added new agent prompt for prompt suggestion generation in coordinator mode (283 tks).
- NEW: System Prompt: Context compaction summary - Added new prompt used for context compaction summary for the SDK (278 tks).
- NEW: Tool Description: TaskList (teammate workflow) - Added conditional section appended to the TaskList tool description for teammate workflows (133 tks).
- REMOVED: Agent Prompt: Prompt Suggestion Generator (for Agent Teams) - Removed agent-teams-specific prompt suggestion generator (209 tks).
- REMOVED: System Prompt: Accessing past sessions - Removed instructions for searching past session data including memory summaries and transcript logs (352 tks).
- Tool Description: Sleep - Simplified description; replaced "Wakes early if the user sends a message" with "The user can interrupt the sleep at any time" and removed other references to early wake behavior.
- Tool Description: Task - Fixed typo in example agent description ("when to respond" → "to respond") and corrected mismatched XML closing tag.
- Tool Description: Bash (Git commit and PR creation instructions) - Minor formatting cleanup in the git amend warning text.
2.1.37
No changes to the system prompts in v2.1.37.
2.1.36
No changes to the system prompts in v2.1.36.
2.1.34
No changes to the system prompts in v2.1.34.
2.1.33
-1,086 tokens
- NEW: Agent Prompt: Prompt Suggestion Generator (for Agent Teams) - Instructions for generating prompt suggestions when agent swarms are enabled
- NEW: Tool Description: TeamDelete - Tool description for deleting/cleaning up team resources
- REMOVED: System Prompt: Action Suggestor for the Task Coordinator - Removed system prompt for suggesting actions to the task coordinator
- REMOVED: Tool Description: EnterPlanMode (ambiguous tasks) - Removed separate conditional description for entering plan mode on ambiguous tasks
- System Reminder: Plan mode is active (5-phase) - Added requirement to begin Phase 4's final plan with a Context section explaining why the change is being made
- System Reminder: Plan mode is active (iterative) - Major rewrite: consolidated variables; restructured from a 5-step "How to Work" section into a streamlined "The Loop" cycle (Explore → Update plan → Ask user); added new "First Turn", "Asking Good Questions", and "When to Converge" sections; reframed as pair-planning with the user; reduced from 909 to 797 tokens
- Tool Description: EnterPlanMode - Extracted "What Happens in Plan Mode" section into a conditional variable (
CONDITIONAL_WHAT_HAPPENS_NOTE); reduced from 970 to 878 tokens - Tool Description: Task - Removed
AGENT_TEAM_CHECKvariable and conditional note about Agent Teams not being available on certain plans; reduced from 1340 to 1215 tokens - Tool Description: TeammateTool - Renamed tool heading from "TeammateTool" to "TeamCreate"; removed
spawnTeamoperation label andcleanupoperation (now separate TeamDelete tool); added explicit file paths for created team and task list resources; added note about automatic message delivery; updated workflow to reference TeamCreate; reduced from 1790 to 1642 tokens
2.1.32
+2,323 tokens
- NEW: Agent Prompt: Recent Message Summarization - Agent prompt used for summarizing recent messages
- NEW: System Prompt: Action Suggestor for the Task Coordinator - System prompt used for suggesting actions to the task coordinator or team lead
- NEW: System Prompt: Agent Summary Generation - System prompt used for "Agent Summary" generation
- NEW: System Prompt: Skillify Current Session - System prompt for converting the current session into a skill
- System Prompt: Executing actions with care - Added guidance about lock files: investigate what process holds a lock file rather than deleting it
- System Prompt: Teammate Communication - Rebranded from "Teammate Communication" to "Agent Teammate Communication"; updated to reference SendMessage tool instead of Teammate tool; simplified and clarified communication instructions; reduced from 138 to 127 tokens
- System Reminder: Plan mode is active (iterative) - Updated guidance about using the Explore agent type, clarifying it's useful for parallelizing complex searches but direct tools are simpler for straightforward queries
- Tool Description: SendMessageTool - Updated terminology from "teammates in a swarm" to "agent teammates in a team"
- Tool Description: TeammateTool - Major refactoring: removed operations (discoverTeams, requestJoin, approveJoin, rejectJoin) and Environment Variables section; added "When to Use" and "Choosing Agent Types for Teammates" sections; added note about peer DM visibility in idle notifications; streamlined team workflow and coordination instructions; clarified that teammates should not send structured JSON status messages; reduced from 2393 to 1790 tokens
2.1.31
+693 tokens
- NEW: System Prompt: Agent memory instructions - Instructions for including domain-specific memory update guidance in agent system prompts (e.g., for code reviewers, test runners, architects)
- NEW: System Prompt: Censoring assistance with malicious activities - Guidelines for assisting with authorized security testing, defensive security, CTF challenges, and educational contexts while refusing malicious requests (previously removed in v2.1.20, now re-added)
- NEW: System Prompt: Tool permission mode - Guidance on tool permission modes and handling denied tool calls; advises not to re-attempt denied tool calls and to adjust approach instead
- NEW: System Reminder: Hook stopped continuation prefix - Prefix for hook stopped continuation messages
- NEW: Tool Description: ToolSearch extended - Extended usage instructions for ToolSearch moved to separate conditional prompt (query modes, examples, correct/incorrect usage patterns)
- REMOVED: Tool Description: TeammateTool operation parameter - Description of the operation parameter for the TeammateTool (removed)
- Tool Description: Task - Added conditional note about "Agent Teams" feature (TeammateTool, SendMessage, spawnTeam) not being available on certain plans; clarifies this limitation only applies when users explicitly ask for agent teams or peer-to-peer messaging
- Tool Description: ToolSearch - Refactored: moved extended content to separate
ToolSearch extendedprompt; simplified base description now references<available-deferred-tools>messages and conditionally includes extended content via identifier
2.1.30
+3,152 tokens
- NEW: System Prompt: Executing actions with care - Instructions for executing actions carefully
- NEW: System Prompt: Insights at a glance summary - Generates a concise 4-part summary (what's working, hindrances, quick wins, ambitious workflows) for the insights report
- NEW: System Prompt: Insights friction analysis - Analyzes aggregated usage data to identify friction patterns and categorize recurring issues
- NEW: System Prompt: Insights on the horizon - Identifies ambitious future workflows and opportunities for autonomous AI-assisted development
- NEW: System Prompt: Insights session facets extraction - Extracts structured facets (goal categories, satisfaction, friction) from a single Claude Code session transcript
- NEW: System Prompt: Insights suggestions - Generates actionable suggestions including CLAUDE.md additions, features to try, and usage patterns
- NEW: System Prompt: Parallel tool call note - System prompt for telling Claude to use parallel tool calls
- NEW: Tool Description: Sleep - Tool for waiting/sleeping with early wake capability on user input
- System Prompt: Accessing past sessions - Added tip to truncate search results to 64 characters per match to keep context manageable
- System Prompt: Hooks Configuration - Significantly restructured hook response format with new fields including
suppressOutput,decision,reason, andhookSpecificOutputwith event-specific parameters - System Reminder: Plan mode is active (5-phase) - Added guidance to actively search for and reuse existing functions, utilities, and patterns, with emphasis on including references to found utilities in the plan
- System Reminder: Plan mode is active (iterative) - Added similar guidance about reusing existing code and including references to found utilities in the plan
- Tool Description: ReadFile - Added requirement to use
pagesparameter for large PDFs (more than 10 pages), with maximum 20 pages per request - Tool Description: SendMessageTool - Restructured message types (removed nested "request" and "response" types), added required
summaryfield for message and broadcast types, flattened protocol to use specific types likeshutdown_request,shutdown_response,plan_approval_response - Tool Description: Task - Restructured preamble section
- Tool Description: TeammateTool - Clarified that teammates go idle after every turn (not just when done), explained that idle teammates can still receive messages and will wake up to process them, and clarified that idle notifications are automatic and normal
2.1.29
No changes to the system prompts in v2.1.29.
2.1.28
No changes to the system prompts in v2.1.28.
2.1.27
No changes to the system prompts in v2.1.27.
2.1.26
+0 tokens
- Agent Prompt: Prompt Suggestion Generator (Stated Intent) - Increased maximum suggestion length from 2-8 words to 2-12 words
- Agent Prompt: Prompt Suggestion Generator v2 - Increased maximum suggestion length from 2-8 words to 2-12 words
2.1.25
No changes to the system prompts in v2.1.25.
2.1.23
-383 tokens
- NEW: System Reminder: /btw side question - System reminder for /btw slash command side questions without tools
- REMOVED: Agent Prompt: Exit plan mode with swarm - System reminder for when ExitPlanMode is called with
isSwarmset to true - System Prompt: Main system prompt - Removed trailing period after SECURITY_POLICY variable
- Tool Description: Skill - Simplified and streamlined: removed examples section, condensed important notes, changed from listing available skills inline to referencing system-reminder messages, updated variable references (FORMAT_SKILLS_AS_XML_FN → SKILL_TAG_NAME, removed LIMITED_COMMANDS)
- Tool Description: TeammateTool - Updated UI notification description: now shows "a brief notification with the sender's name" instead of "Queued teammate messages" when messages are waiting
2.1.22
No changes to the system prompts in v2.1.22.
2.1.21
+442 tokens
- NEW: System Prompt: Accessing past sessions - Instructions for searching past session data including memory summaries and transcript logs
- Tool Description: TeammateTool - Added guidance to prefer tasks in ID order (lowest ID first) when multiple tasks are available, as earlier tasks often set up context for later ones
2.1.20
-1,928 tokens
- NEW: System Prompt: Doing tasks - Instructions for performing software engineering tasks
- NEW: System Prompt: Task management - Instructions for using task management tools
- NEW: System Prompt: Tone and style - Guidelines for communication tone and response style
- NEW: System Prompt: Tool usage policy - Policies and guidelines for tool usage
- NEW: Tool Description: SendMessageTool - Tool for sending messages to teammates and handling protocol requests/responses in a swarm
- NEW: Tool Description: EnterPlanMode (ambiguous tasks) - Tool for entering plan mode when task has ambiguity
- REMOVED: System Prompt: Censoring assistance with malicious activities - Guidelines for assisting with authorized security testing
- REMOVED: System Reminder: Queued command (prompt) - Queued user message to address (prompt variant)
- REMOVED: System Reminder: Queued command - Queued user message to address
- REMOVED: System Reminder: Session memory - Past session summaries that may be relevant
- System Prompt: Main system prompt - Massively reduced from 2896 to 269 tokens; most content extracted into separate, focused system prompts (Doing tasks, Task management, Tone and style, Tool usage policy)
- Agent Prompt: Session title and branch generation - Changed output format from XML-style tags to JSON object with "title" and "branch" fields
- Agent Prompt: Bash command prefix detection - Changed from smart quotes to standard quotes
- Tool Description: TeammateTool - Removed protocol operations (approvePlan, rejectPlan, requestShutdown, approveShutdown, rejectShutdown, write, broadcast) and simplified to core team management operations
- Tool Description: TeammateTool operation parameter - Renamed from "TeammateTool's operation parameter" and condensed from 173 to 72 tokens
- Tool Description: Edit - Simplified by removing explicit read tool requirement from usage notes
- Tool Description: Write - Simplified by removing explicit read tool requirement from usage notes
- Tool Description: Bash (Git commit and PR creation instructions) - Added guidance to keep PR titles short (under 70 characters) and use description/body for details
- System Prompt: Tool execution denied - Streamlined wording
- Agent Prompt: Conversation summarization with additional instructions - Merged into base "Conversation summarization" prompt; additional instructions now added conditionally via code rather than as separate prompt string
- Agent Prompt: Prompt Hook execution - Shortened from 485 to 263 characters; removed verbose JSON formatting instructions
2.1.19
+182 tokens
- NEW: System Prompt: Tool Use Summary Generation - Prompt for generating summaries of tool usage
- REMOVED: Tool Description: TaskList - Description for the TaskList tool, which lists all tasks in the task list
- Agent Prompt: Status line setup - Added agent information (name and type) to the statusLine structure for agents started with --agent flag
- Tool Description: Skill - Updated wording from "Only use skills listed in 'Available skills' below" to "Skills listed below are available for invocation"
- Tool Description: TaskCreate - Added template variables for conditional notes and restructured task assignment instructions
- Tool Description: ToolSearch - Major expansion: reordered query modes (keyword search now first), clarified that both modes load tools immediately, added required keyword syntax with + prefix, expanded examples to show redundant selection patterns to avoid
2.1.18
No changes to the system prompts in v2.1.18.
2.1.17
No changes to the system prompts in v2.1.17.
2.1.16
+7,114 tokens
- NEW: Agent Prompt: Exit plan mode with swarm - System reminder for when ExitPlanMode is called with
isSwarmset to true - NEW: System Prompt: Teammate Communication - System prompt for teammate communication in swarm
- NEW: System Prompt: Tool execution denied - System prompt for when tool execution is denied
- NEW: System Reminder: Delegate mode prompt - System reminder for delegate mode
- NEW: System Reminder: Plan mode is active (5-phase) - Enhanced plan mode system reminder with parallel exploration and multi-agent planning
- NEW: System Reminder: Plan mode is active (iterative) - Iterative plan mode system reminder for main agent with user interviewing workflow
- NEW: System Reminder: Team Coordination - System reminder for team coordination
- NEW: System Reminder: Team Shutdown - System reminder for team shutdown
- NEW: Tool Description: TaskCreate - Tool description for TaskCreate tool
- NEW: Tool Description: TaskList - Description for the TaskList tool, which lists all tasks in the task list
- NEW: Tool Description: TeammateTool's operation parameter - Tool description for the TeammateTool's operation parameter
- NEW: Tool Description: TeammateTool - Tool description for the TeammateTool
- NEW: Tool Parameter: Computer action for Computer tool - Action parameter options for the Chrome browser computer tool (includes hover action and other actions)
- Agent Prompt: /security-review slash command - Renamed from "/security-review slash" for consistency
- System Prompt: Learning mode - Description metadata updated (removed "System Prompt:" prefix)
- System Reminder: Plan mode is active (subagent) - Renamed from "Plan mode is active (for subagents)" for consistency
- Tool Description: Bash (Git commit and PR creation instructions) - Added guidance to avoid using --no-edit flag with git rebase commands, as it is not a valid option for git rebase
- Tool Description: Write - Description clarified from "creating/overwriting writing individual files" to "for creating and overwriting individual files"
2.1.15
+183 tokens
- Tool Description: Bash (Git commit and PR creation instructions) - expanded Git Safety Protocol with specific list of destructive commands and added detailed explanation about potential data loss; clarified that
--amendshould be avoided after pre-commit hook failures; added guidance to prefer staging specific files by name rather than using "git add -A" or "git add ." to avoid accidentally including sensitive files (.env, credentials) or large binaries - Tool Description: Task - updated background agent output retrieval instructions from using TaskOutput tool to reading output_file path with Read tool or using Bash with
tailto see recent output; added conditional note about run_in_background, name, team_name, and mode parameters not being available in certain contexts
2.1.14
-1,153 tokens
- NEW: Agent Prompt: Prompt Suggestion Generator (Stated Intent) - instructions for generating prompt suggestions based on user's explicitly stated next steps
- NEW: Tool Description: ToolSearch - renamed from MCPSearch; tool description for loading and searching deferred tools before use
- REMOVED: Tool Description: ExitPlanMode v2 and ExitPlanMode v2 (security notes) - consolidated functionality into base ExitPlanMode
- REMOVED: Tool Description: MCPSearch and MCPSearch (with available tools) - replaced by ToolSearch
- Tool Description: ExitPlanMode - added "How This Tool Works" section explaining plan file workflow; clarified that tool reads from plan file rather than taking plan as parameter; simplified "Handling Ambiguity in Plans" section to "Before Using This Tool" with clearer guidance on when to use AskUserQuestion; removed variable references in favor of direct tool names
- Tool Description: Bash - clarified session persistence behavior: "Working directory persists between commands; shell state (everything else) does not. The shell environment is initialized from the user's profile (bash or zsh)"
- Tool Description: WebFetch - added guidance to prefer gh CLI via Bash for GitHub URLs (e.g., gh pr view, gh issue view, gh api)
- System Prompt: Chrome browser MCP tools - updated to reference ToolSearch instead of MCPSearch
2.1.12
No changes to the system prompts in v2.1.12.
2.1.11
No changes to the system prompts in v2.1.11.
2.1.10
-118 tokens
- Agent Prompt: Session title and branch generation - added explicit instruction to use sentence case for titles (capitalize only the first word and proper nouns), not Title Case
- Tool Description: Bash (Git commit and PR creation instructions) - simplified git commit --amend guidance by removing complex conditional rules (5 conditions about when amending is allowed); replaced with simpler CRITICAL directive to always create new commits and never use --amend unless user explicitly requests it; removed reference to "amend rules above" in pre-commit hook failure step
2.1.9
+963 tokens
- NEW: System Prompt: Hooks Configuration - system prompt for hooks configuration, used for Claude Code config skill
- REMOVED: System Prompt: Autonomous agent (standalone) - standalone autonomous agent mode prompt without system context prefix
- REMOVED: System Prompt: Autonomous agent (with context) - autonomous agent mode prompt prefixed with main system prompt
- System Prompt: Main system prompt - renamed "Planning without timelines" section to "No time estimates"; expanded guidance to explicitly prohibit giving time estimates for Claude's own work (e.g., "this will take me a few minutes," "should be done in about 5 minutes," "this is a quick fix") in addition to existing prohibition on suggesting project timelines; added emphasis that users should judge timing themselves
2.1.8
-101 tokens
- System Reminder: Plan mode is active - extracted inline plan file info section into separate, new section; converted hardcoded phase numbers (2-5) to dynamic variables for conditional user interview phase; replaced user interview guidance with a new phase explicitly for user interview
- Tool Description: WebSearch - updated year example to use the current year instead of hardcoded year value
2.1.7
+74 tokens
- NEW: Tool Description: ExitPlanMode v2 (security notes) - security guidelines for scoping permissions when using the ExitPlanMode tool
- System Prompt: Claude in Chrome browser automation - added IMPORTANT emphasis to alerts and dialogs warning about blocking browser events
- System Reminder: Plan mode is active - clarified that plan approval questions (e.g., "Is this plan okay?", "Should I proceed?") must use ExitPlanMode tool, not text questions or AskUserQuestion; expanded guidance distinguishing when to use AskUserQuestion (only for requirements/approach clarification) vs ExitPlanMode (for plan approval)
- Tool Description: ExitPlanMode v2 - extracted detailed security and permission scoping guidelines to new
PERMISSION_SCOPING_GUIDELINESvariable; replaced inline scoping instructions with variable reference; updated tool name references fromASK_USER_QUESTION_TOOL_NAMEtoPERMISSION_SCOPING_GUIDELINESin "Before Using This Tool" and "Important" sections
2.1.6
+742 tokens
- NEW: System Prompt: Autonomous agent (standalone) - standalone autonomous agent mode prompt without system context prefix
- NEW: System Prompt: Autonomous agent (with context) - autonomous agent mode prompt prefixed with main system prompt
- REMOVED: Agent Prompt: Bash command explainer - removed in favor of integrated bash command explanation
- Agent Prompt: Status line setup - added pre-calculated
used_percentageandremaining_percentagefields to context_window object; updated examples to use simpler syntax for displaying context usage - Agent Prompt: Claude guide agent - fixed incorrect variable references in documentation source URLs and tool names throughout approach steps
- Agent Prompt: Session Search Assistant - simplified introduction text
- Tool Description: Bash - refactored variable usage, replacing
BASH_TOOL_NAMEwithRUN_IN_BACKGROUND_NOTE - Tool Description: ExitPlanMode v2 - added comprehensive "Requesting Permissions (allowedPrompts)" section with guidelines for requesting prompt-based permissions for bash commands, including security-conscious scoping practices
2.1.5
-24 tokens
- Tool Description: Bash - replaced
GIT_COMMIT_AND_PR_CREATION_INSTRUCTIONvariable withBASH_TOOL_NAMEvariable in metadata - Tool Description: Task - reordered variable declarations, moving
IS_TRUTHY_FNandPROCESS_OBJECTearlier in the list
2.1.4
-19 tokens
- Tool Description: Bash - moved
run_in_backgroundparameter documentation to newBASH_BACKGROUND_TASK_NOTES_FNfunction variable; addedBASH_TOOL_EXTRA_NOTES()placeholder; fixed misaligned variable references in dedicated tools list (file search, content search, read files, edit files, write files were each referencing the wrong tool name) - Tool Description: Task - added
IS_TRUTHY_FNandPROCESS_OBJECTvariables for conditional rendering; background task instructions now conditionally rendered based onCLAUDE_CODE_DISABLE_BACKGROUND_TASKSenvironment variable
2.1.3
+1,047 tokens
- NEW: Agent Prompt: Bash command description writer - instructions for generating clear, concise command descriptions in active voice for bash commands
- NEW: Agent Prompt: Bash command explainer - instructions for explaining bash commands with reasoning, risk assessment, and risk level classification
- NEW: Agent Prompt: Remember skill - system prompt for the /remember skill that reviews session memories and updates CLAUDE.local.md with recurring patterns and learnings
- REMOVED: Agent Prompt: Bash command risk classifier - replaced with the new bash command explainer agent
- Tool Description: Bash - updated description field instructions to provide more context for complex commands (piped commands, obscure flags, etc.) while keeping simple commands brief
- Tool Description: Bash (Git commit and PR creation instructions) - added warning to never use
git status -uallflag as it can cause memory issues on large repos - Tool Description: Task - updated internal variable references and improved background agent monitoring instructions
2.1.2
-374 tokens
- NEW: Agent Prompt: Bash command risk classifier - classifies shell commands by risk level (LOW/MEDIUM/HIGH) to determine permission requirements
- REMOVED: Agent Prompt: Bash output summarization - system prompt for determining whether bash command output should be summarized
- REMOVED: Agent Prompt: Plan verification agent - agent prompt for verifying that the main agent correctly executed a plan
2.1.1
No changes to the system prompts in v2.1.1.
2.1.0
No changes to the system prompts in v2.1.0.
2.0.77
-128 tokens
- NEW: Agent Prompt: Task tool (extra notes) - additional notes for Task tool usage (absolute paths, no emojis, no colons before tool calls)
- NEW: Agent Prompt: Command execution specialist - agent prompt for command execution focusing on bash commands
- NEW: Agent Prompt: Plan verification agent - agent prompt for verifying that the main agent correctly executed a plan
- NEW: System Prompt: Chrome browser MCP tools - instructions for loading Chrome browser MCP tools via MCPSearch before use
- REMOVED: Data: GitHub Actions workflow for automated code review (beta) - GitHub Actions workflow template for automated Claude Code reviews
- REMOVED: Tool Description: Task (async return note) - message returned to the model when a subagent launched successfully
- Agent Prompt: Agent creation architect - updated examples from code-reviewer to test-runner agent
- Agent Prompt: Status line setup - added vim mode information (INSERT/NORMAL) to available session data
- System Prompt: Main system prompt - removed "Looking up your own documentation" section with claude-guide agent instructions; added instruction about not using colons before tool calls; numerous variable reference corrections throughout
- System Reminder: Plan mode is active - added verification section requirement in plan files; clarified that AskUserQuestion is for clarifying requirements, not for plan approval
- Tool Description: AskUserQuestion - added plan mode note clarifying this tool is for clarifying requirements before finalizing plans, not for requesting plan approval
- Tool Description: Bash - updated run_in_background parameter description to clarify notification behavior
- Tool Description: Bash (Git commit and PR creation instructions) - simplified parallel command instructions; removed "You can call multiple tools in a single response" preambles; added GIT_COMMAND_PARALLEL_NOTE variable
- Tool Description: ExitPlanMode v2 - reorganized "Handling Ambiguity in Plans" section into "Before Using This Tool"; added clarification that this tool inherently requests user approval
- Tool Description: Skill - reformatted instructions removing XML wrapper tags; added check for already-loaded skills
- Tool Description: Task - updated background agent output retrieval instructions (now uses output_file with Read/Write tools instead of AgentOutputTool); removed pro-only parallel launch note; updated example agent from code-reviewer to test-runner
2.0.76
No changes to the system prompts in v2.0.76.
2.0.75
-183 tokens
- REMOVED: Agent Prompt: Task tool (extra notes) - additional notes for Task tool usage (absolute paths, no emojis, no colons before tool calls)
- Main system prompt - removed instruction about not using colons before tool calls
2.0.74
-1693 tokens
- NEW: Agent Prompt: Session Search Assistant - agent prompt for finding relevant sessions based on user queries, with priority matching on tags, titles, branches, summaries, and transcripts
- REMOVED: Agent Prompt: Exit plan mode with swarm - instructions for launching swarm teammates when ExitPlanMode is called with
isSwarmset to true - REMOVED: System Reminder: Delegate mode prompt - system reminder for delegate mode with restricted tool access
- REMOVED: System Reminder: Team Coordination - system reminder for team coordination with teammate identity and resources
- REMOVED: Tool Description: TaskList - tool for listing all tasks in the task list
- REMOVED: Tool Description: TaskUpdate - tool for updating task status and adding comments
- REMOVED: Tool Description: TeammateTool's operation parameter - description of TeammateTool operations
- Tool Description: Bash (Git commit and PR creation instructions) - simplified pre-commit hook failure handling; removed detailed amend rules for auto-modified files, now just advises to fix and create a new commit
2.0.73
+91 tokens
- NEW: Agent Prompt: Prompt Suggestion Generator v2 - V2 instructions for generating prompt suggestions, focusing on predicting what the user would naturally type next
- REMOVED: Tool Description: SlashCommand - functionality merged into Skill tool
- Tool Description: Skill - added guidance for invoking skills via slash command syntax (e.g., "/commit"), added
argsparameter for passing arguments to skills - Tool Description: LSP - added call hierarchy operations (
prepareCallHierarchy,incomingCalls,outgoingCalls) - Tool Description: TeammateTool's operation parameter - added team discovery and join operations (
discoverTeams,requestJoin,approveJoin,rejectJoin) - Main system prompt - terminology update: "slash commands" → "skills"; removed duplicate "complete tasks fully" instruction
- Agent Prompt: Claude guide agent - terminology update: "slash commands" → "skills"
2.0.72
+47 tokens
- Tool Description: Task - Added usage note requiring a short description (3-5 words) summarizing what the agent will do
- Tool Description: TaskUpdate - Added "Staleness" section with instruction to read task's latest state using
TaskGetbefore updating
2.0.71
+948 tokens
- NEW: System Prompt: Claude in Chrome browser automation - instructions for using Claude in Chrome browser automation tools effectively
- NEW: Tool Description: Computer - main description for the Chrome browser computer automation tool
- NEW: Tool Description: Computer action parameter - description for the computer action parameter used with the Computer tool
- Tool Description: Bash (Git commit and PR creation instructions) - expanded amend safety rules with explicit conditions: (1) user requested OR hook auto-modified files, (2) HEAD was created by you, (3) not yet pushed; added critical warnings for rejected hooks and already-pushed commits; clarified hook failure vs auto-modification handling
- REMOVED: Agent Prompt: Prompt suggestion generator
- REMOVED: System Reminder: MCP CLI large output
2.0.70
+2283 tokens
- NEW: Agent Prompt: /review-pr slash command - system prompt for reviewing GitHub PRs with code analysis
- NEW: Agent Prompt: Task tool (extra notes) - additional notes for Task tool usage (absolute paths, no emojis, no colons before tool calls)
- NEW: System Reminder: Delegate mode prompt - system reminder for delegate mode with restricted tool access
- NEW: Tool Description: MCPSearch - tool for searching/selecting MCP tools before use (mandatory prerequisite)
- NEW: Tool Description: MCPSearch (with available tools) - MCPSearch variant that lists available MCP tools
- NEW: Tool Description: TaskList - tool for listing all tasks in the task list
- NEW: Tool Description: TeammateTool's operation parameter - description of TeammateTool operations (spawn, assignTask, claimTask, shutdown, etc.)
- Agent Prompt: Status line setup - Added
current_usageobject to context_window schema withinput_tokens,output_tokens,cache_creation_input_tokens, andcache_read_input_tokensfields; added example for calculating context window percentage - Tool Description: TaskUpdate - Added instruction to call TaskList after resolving a task; added note about teammates adding comments while working
2.0.69
No changes to the system prompts in v2.0.69.
2.0.68
-191 tokens
- Main system prompt: Added instruction to not use colons before tool calls ("Let me read the file." instead of "Let me read the file:")
- REMOVED: Agent Prompt: /review-pr slash command
2.0.67
No changes to the system prompts in v2.0.67.
2.0.66
+172 tokens
- NEW: System Prompt: Scratchpad directory - instructions for using a dedicated session-specific scratchpad directory for temporary files instead of
/tmp
2.0.65
+97 tokens
- Agent Prompt: Status line setup - Added
context_windowobject to status line data schema withtotal_input_tokens,total_output_tokens, andcontext_window_sizefields LSPtool: AddedgoToImplementationoperation; changed line/character documentation from 0-indexed to 1-based
2.0.64
No changes to the system prompts in v2.0.64.
2.0.63
+10 tokens
- Main system prompt: Added
BUILD_TIMEto config variables interpolation
2.0.62
+381 tokens
- NEW:
AskUserQuestiontool description - includes guidance on recommending options by adding "(Recommended)" to labels - Main system prompt: Added instruction to complete tasks fully without stopping mid-task or claiming context limits prevent completion
EnterPlanModetool: Major rewrite encouraging proactive use for non-trivial tasks; expanded "when to use" examples including new features and code modifications; shifted guidance from "err on implementation" to "err on planning"Skilltool: Added blocking requirement to invoke skill tool immediately as first action when relevant, before generating any other responseTasktool: Addedresumeparameter documentation for continuing agents with preserved context; clarified agent ID return for follow-up workWebFetchtool: Simplified MCP tool preference note (removed "All MCP-provided tools start with mcp__")
2.0.61
No changes to the system prompts in v2.0.61.
2.0.60
+1339 tokens
- NEW: System Reminder: Team Coordination - instructions for team-based multi-agent workflows with team config, task list paths, and teammate messaging
- NEW: Agent Prompt: Exit plan mode with swarm - instructions for launching worker swarms when
ExitPlanModeis called withisSwarmenabled - Agent Prompt: Claude Code guide agent → renamed to Claude guide agent with expanded scope covering Claude Code, Claude Agent SDK, and Claude API (formerly Anthropic API)
Tasktool: Addedrun_in_backgroundparameter documentation andTaskOutputtool usage for retrieving background agent resultsTaskUpdatetool: Major expansion with task ownership requirements, team coordination, claiming tasks, and detailed field documentationWebFetchtool: Added conditional instructions based on trusted domain status (simpler instructions for trusted domains)- REMOVED: System Prompt: whenToUse note for claude-code-guide subagent (functionality merged into updated guide agent)
2.0.59
+140 tokens
- NEW: Added new
TaskUpdatetool which allows Claude to update the task list.
2.0.58
+21 tokens
- Session notes template: Added new "Current State" section for tracking active work and pending tasks
- Session notes template: Renamed "User Corrections / Mistakes" to "Errors & Corrections" with expanded description
- Session notes instructions: Added emphasis on updating "Current State" for continuity after compaction
- Session notes instructions: Removed instruction about not repeating past session summaries
- Session notes instructions: Fixed markdown header reference (
'##'→'#') - Documentation URL: Changed from
docs.claude.com/s/claude-codetocode.claude.com/docs/en/overview - GitHub Action templates: Updated CLI reference URL to
code.claude.com/docs/en/cli-reference
2.0.57
No changes to the system prompts in v2.0.57.
2.0.56
-134 tokens
- Reinforced note about using the current year in the WebSearch tool description
- Added a note to the main system prompt instructing Claude to never include time estimates when presenting options or plans.
- Strengthened and elaborated "plan mode is active" system reminder
- Encouraged the Explore subagent to be more tool-call-efficient and token-efficient
- Added an instruction to "Read any files provided to you in the initial prompt" to the Plan subagent
- Changed the theme of the prompt suggestion generator's prompt from "predict what the user will type next" to "suggest what Claude could help with"
- Stopped directing the user to open a GH an on the Claude Code repo via
/feedbackwhen theclaude-code-guidesubagent is at a loss - Removed the old plan mode's system reminder
2.0.55
+121 tokens
- NEW: Added Agent Prompt: Suggested Prompt Generator for suggesting a followup propmt after Claude response. Requires tweakcc to enable the functionality in Claude Code: run
npx tweakcc@latest --applyand thenclaudeand then send a message. - Modified interpolated formatting code in mcp-cli prompt
2.0.54
+128 tokens
- Multi-Agent Planning Note: Added a note discouraging overuse of multiple plan agents: If the task is simple, you should try to use the minimum number of agents necessary (usually just 1)
- Added a similar longer note to the "Plan mode is active" system reminder
2.0.53
No changes to the system prompts in v2.0.53.
2.0.52
+42 tokens
- Add a 4th note to the procedure steps in the Plan Mode Re-entry System Prompt: "Continue on with the plan process and most importantly you should always edit the plan file one way or the other before calling ExitPlanMode."
2.0.51
+906 tokens
- NEW: Prompt for the new
EnterPlanModetool. - NEW: Prompt for agent hooks.
2.0.50
+465 tokens
- NEW: System reminder sent when an
mcp-cli readormcp-cli calloutput is longer than theMAX_MCP_OUTPUT_TOKENSenvironment variable (defaults to25000) WebSearchtool description: Added a "CRITICAL REQUIREMENT" to include a "Sources:" section whenever performing a web search.- Session notes template: Added a "Key results" section including "specific outputs" such as "an answer to question, a table, or other document."
2.0.49
- Explore & Plan agents:
- Enhanced READ-ONLY restrictions with explicit bulleted list of prohibited operations
- Added note that file editing tools are not available
- Reformatted Bash tool restrictions for clarity
2.0.48 – This version does not exist.
2.0.47
- NEW: Agent prompt: Multi-Agent Planning Note - instructions for multi-agent planning when
CLAUDE_CODE_PLAN_V2_AGENT_COUNT> 1 - NEW: System reminder: Plan mode re-entry - sent when user re-enters Plan mode after exiting
- Main system prompt: Added "NEVER propose changes to code you haven't read" instruction
- Main system prompt: Added comprehensive "Avoid over-engineering" section with guidelines on simplicity
- Enhanced plan mode reminder: Refactored variable names and simplified structure
- Enhanced plan mode reminder: Fixed typo "Syntehsize" → "Synthesize", "alwasy" → "always"
2.0.46
No changes to the system prompts in v2.0.46.
2.0.45
- NEW: Agent prompt: Claude Code guide agent for helping users with Claude Code and Agent SDK
- NEW: Agent prompt: Session title and branch generation (replaces session title generation)
- NEW: System prompt: whenToUse note for claude-code-guide subagent
- Main system prompt: Updated to use
Tasktool with claude-code-guide subagent instead ofWebFetchfor documentation lookup - Enhanced plan mode reminder: Added parallel exploration support with
PLAN_V2_EXPLORE_AGENT_COUNT - REMOVED: Agent prompt: Session title generation (replaced by session title and branch generation)
2.0.44
No changes to the system prompts in v2.0.44.
2.0.43
- NEW: Tool description:
ExitPlanModev2 - NEW: System reminder: Plan mode is active (for subagents)
- Main system prompt: Added "Planning without timelines" section
- Main system prompt: Added instruction to avoid backwards-compatibility hacks
- Enhanced plan mode reminder: Major restructuring with plan file support and variable updates
2.0.42
No changes to the system prompts in v2.0.42.
2.0.41
- NEW: Agent prompt: Plan mode (enhanced)
- NEW: System reminder: Plan mode is active (enhanced)
- Explore agent: Strengthened READ-ONLY restrictions with explicit forbidden commands
- Prompt Hook execution: Fixed JSON format (added quotes around keys)
- Main system prompt: Added
FEEDBACK_CHANNELvariable
2.0.40 – This version does not exist.
2.0.39 – This version does not exist.
2.0.38 – This version does not exist.
2.0.37
- NEW: Agent prompt: Prompt Hook execution
- Main system prompt: Changed
isCodingRelatedtokeepCodingInstructions
2.0.36
- MCP CLI: Added
mcp-cli readcommand for reading resources - Main system prompt: Removed empty bullet point in "Doing tasks" section
Skilltool: Updated examples to useskill:instead ofcommand:SlashCommandtool: Removed "Intent Matching" section, simplified formatting
2.0.35
No changes to the system prompts in v2.0.35.
2.0.34
- NEW: System prompt: MCP CLI instructions
- Main system prompt: Added "Asking questions as you work" section with
ASKUSERQUESTION_TOOL_NAME Tasktool: Added note about agents with "access to current context"- Bash sandbox note: Added
CONDITIONAL_NEWLINE_IF_SANDBOX_ENABLEDvariable
2.0.33
- Main system prompt: Removed extra blank lines
2.0.32
No changes to the system prompts in v2.0.32.
2.0.31
No changes to the system prompts in v2.0.31.
2.0.30
- NEW: Agent prompt: Update Magic Docs
- NEW: Tool description:
LSP - Main system prompt: Added security warning for OWASP top 10 vulnerabilities
- Plan mode reminder: Clarified
AskUserQuestiontool usage ExitPlanModetool: Added "Handling Ambiguity in Plans" section with example- Bash sandbox note: Removed
RESTRICTIONS_LISTand temp file instructions - REMOVED: Agent prompt: Output style creation
2.0.29
Tasktool: Re-addedrunsInBackgroundproperty andAgentOutputToolusage note
2.0.28
- Main system prompt: Added "Avoid using over-the-top validation or excessive praise" guidance
- Plan mode reminder: Added
NOTE_ABOUT_USING_PLAN_SUBAGENTvariable Tasktool: RemovedrunsInBackgroundproperty and background agent instructions
2.0.27
No changes to the system prompts in v2.0.27.
2.0.26
- Bash sandbox note: Renamed
dangerouslyOverrideSandboxtodangerouslyDisableSandbox
2.0.25
- Session notes template: Added "Session Title" section
- Session notes update instructions: Enhanced with multi-edit support and clearer structure preservation rules
Bashtool: Removed note about not usingrun_in_backgroundwith 'sleep'
2.0.24
- NEW: Tool description: Bash (sandbox note)
2.0.23 – This version does not exist.
2.0.22
No changes to the system prompts in v2.0.22.
2.0.21
- Plan mode reminder: Added
NOTE_ABOUT_AskUserQuestionvariable ExitPlanModetool: AddedNOTE_ABOUT_AskUserQuestionvariables
2.0.20
- NEW: Tool description:
Skill
2.0.19
No changes to the system prompts in v2.0.19.
2.0.18
- Explore agent: Changed "Be thorough" guideline to "Adapt your search approach based on the thoroughness level specified by the caller"
2.0.17
- Main system prompt: Added critical instruction to use
Tasktool with Explore subagent for codebase exploration - Main system prompt: Added examples for when to use Explore agent vs direct search
- Main system prompt: Added new variables (
EXPLORE_AGENT,GLOB_TOOL_NAME,GREP_TOOL_NAME)
2.0.16 – This version does not exist.
2.0.15
- Updated
ExitPlanModetool description formatting (added "Examples" header) - Minor punctuation fix in plan mode reminder
2.0.14
Initial comprehensive system prompts collection.
Agent Prompts:
- Agent creation architect
- Bash command file path extraction
- Bash command prefix detection
- Bash output summarization
- Claude.md creation
- Conversation summarization (with additional instructions variant)
- Explore agent
- Output style creation
- PR comments slash command
- Review PR slash command
- Security review slash command
- Session notes template and update instructions
- Session title generation
- Status line setup
- Task tool agent
- User sentiment analysis
- WebFetch summarizer
GitHub Integration:
- GitHub Actions workflow for @claude mentions
- GitHub Actions workflow for automated code review (beta)
- GitHub App installation PR description
System Prompts:
- Main system prompt
- Learning mode and learning mode insights
- Plan mode is active reminder
Tool Descriptions:
- Bash (with git commit and PR creation instructions)
- Edit
- ExitPlanMode
- Glob
- Grep
- NotebookEdit
- Read file
- SlashCommand
- Task (with async return note)
- TodoWrite
- WebFetch
- WebSearch
- Write