Compare commits

...
3 Commits
Author SHA1 Message Date
bl-ue 772bca084d 2.0.29 2025-11-19 10:38:13 -07:00
bl-ue 91098d59b9 2.0.28 2025-11-19 10:38:13 -07:00
bl-ue 88b07416bd 2.0.27 2025-11-19 10:38:12 -07:00
4 changed files with 11 additions and 10 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
# Claude Code System Prompts # Claude Code System Prompts
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.0.26](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.26) (October 23rd, 2025).** This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.0.29](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.29) (October 29th, 2025).**
Why multiple "system prompts?" Why multiple "system prompts?"
@@ -73,7 +73,7 @@ Misc large strings.
Parts of the main system prompt. Parts of the main system prompt.
- [**System Prompt: Main system prompt**](./system-prompts/system-prompt-main-system-prompt.md) (**2248** tks) - Core system prompt for Claude Code defining behavior, tone, and tool usage policies. - [**System Prompt: Main system prompt**](./system-prompts/system-prompt-main-system-prompt.md) (**2276** tks) - Core system prompt for Claude Code defining behavior, tone, and tool usage policies.
- [System Prompt: Learning mode (insights)](./system-prompts/system-prompt-learning-mode-insights.md) (**142** tks) - Instructions for providing educational insights when learning mode is active. - [System Prompt: Learning mode (insights)](./system-prompts/system-prompt-learning-mode-insights.md) (**142** tks) - Instructions for providing educational insights when learning mode is active.
- [System Prompt: Learning mode](./system-prompts/system-prompt-learning-mode.md) (**1042** tks) - System Prompt: Main system prompt for learning mode with human collaboration instructions. - [System Prompt: Learning mode](./system-prompts/system-prompt-learning-mode.md) (**1042** tks) - System Prompt: Main system prompt for learning mode with human collaboration instructions.
@@ -84,7 +84,7 @@ Text for large system reminders.
> [!NOTE] > [!NOTE]
> Note that we're planning to add a **system reminder creator/editor** to [tweakcc](https://github.com/Piebald-AI/tweakcc); :+1: [this issue](https://github.com/Piebald-AI/tweakcc/issues/113) if you're interested in that idea. > Note that we're planning to add a **system reminder creator/editor** to [tweakcc](https://github.com/Piebald-AI/tweakcc); :+1: [this issue](https://github.com/Piebald-AI/tweakcc/issues/113) if you're interested in that idea.
- [System Reminder: Plan mode is active](./system-prompts/system-reminder-plan-mode-is-active.md) (**173** tks) - System reminder sent to Claude when the user enters plan mode. - [System Reminder: Plan mode is active](./system-prompts/system-reminder-plan-mode-is-active.md) (**190** tks) - System reminder sent to Claude when the user enters plan mode.
### Builtin Tool Descriptions ### Builtin Tool Descriptions
@@ -1,7 +1,7 @@
<!-- <!--
name: 'System Prompt: Main system prompt' name: 'System Prompt: Main system prompt'
description: Core system prompt for Claude Code defining behavior, tone, and tool usage policies description: Core system prompt for Claude Code defining behavior, tone, and tool usage policies
ccVersion: 2.0.24 ccVersion: 2.0.28
variables: variables:
- OUTPUT_STYLE_CONFIG - OUTPUT_STYLE_CONFIG
- SECURITY_POLICY - SECURITY_POLICY
@@ -40,7 +40,7 @@ ${OUTPUT_STYLE_CONFIG!==null?"":`# Tone and style
- NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. This includes markdown files. - NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. This includes markdown files.
# Professional objectivity # Professional objectivity
Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. It is best for the user if Claude honestly applies the same rigorous standards to all ideas and disagrees when necessary, even if it may not be what the user wants to hear. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, it's best to investigate to find the truth first rather than instinctively confirming the user's beliefs. Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. It is best for the user if Claude honestly applies the same rigorous standards to all ideas and disagrees when necessary, even if it may not be what the user wants to hear. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, it's best to investigate to find the truth first rather than instinctively confirming the user's beliefs. Avoid using over-the-top validation or excessive praise when responding to users such as "You're absolutely right" or similar phrases.
`} `}
${AVAILABLE_TOOLS_SET.has(TODO_TOOL_OBJECT.name)?`# Task Management ${AVAILABLE_TOOLS_SET.has(TODO_TOOL_OBJECT.name)?`# Task Management
You have access to the ${TODO_TOOL_OBJECT.name} tools to help you manage and plan tasks. Use these tools VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress. You have access to the ${TODO_TOOL_OBJECT.name} tools to help you manage and plan tasks. Use these tools VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress.
@@ -1,11 +1,12 @@
<!-- <!--
name: 'System Reminder: Plan mode is active' name: 'System Reminder: Plan mode is active'
description: System reminder sent to Claude when the user enters plan mode description: System reminder sent to Claude when the user enters plan mode
ccVersion: 2.0.21 ccVersion: 2.0.28
variables: variables:
- EXIT_PLAN_MODE_TOOL_OBJECT
- NOTE_ABOUT_AskUserQuestion - NOTE_ABOUT_AskUserQuestion
- NOTE_ABOUT_USING_PLAN_SUBAGENT
- EXIT_PLAN_MODE_TOOL_OBJECT
--> -->
Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received (for example, to make edits). Instead, you should: Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received (for example, to make edits). Instead, you should:
1. Answer the user's query comprehensively${EXIT_PLAN_MODE_TOOL_OBJECT}. 1. Answer the user's query comprehensively${NOTE_ABOUT_AskUserQuestion}.${NOTE_ABOUT_USING_PLAN_SUBAGENT}
2. When you're done researching, present your plan by calling the ${NOTE_ABOUT_AskUserQuestion.name} tool, which will prompt the user to confirm the plan. Do NOT make any file changes or run any tools that modify the system state in any way until the user has confirmed the plan. 2. When you're done researching, present your plan by calling the ${EXIT_PLAN_MODE_TOOL_OBJECT.name} tool, which will prompt the user to confirm the plan. Do NOT make any file changes or run any tools that modify the system state in any way until the user has confirmed the plan.
+1 -1
View File
@@ -1,7 +1,7 @@
<!-- <!--
name: 'Tool Description: Task' name: 'Tool Description: Task'
description: Tool description for launching specialized sub-agents to handle complex tasks description: Tool description for launching specialized sub-agents to handle complex tasks
ccVersion: 2.0.14 ccVersion: 2.0.29
variables: variables:
- AGENT_TYPE_REGISTRY - AGENT_TYPE_REGISTRY
- agentTypeEntry - agentTypeEntry