diff --git a/README.md b/README.md index d5d9f57..14c16ec 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Download it and try it out for free! **https://piebald.ai/** # 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.64](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.64) (December 9th, 2025).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 45 versions since v2.0.14. From the team behind [ **Piebald.**](https://piebald.ai/) +This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.0.65](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.65) (December 10th, 2025).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 46 versions since v2.0.14. From the team behind [ **Piebald.**](https://piebald.ai/) Why multiple "system prompts?" @@ -64,7 +64,7 @@ Sub-agents and utilities. - [Agent Prompt: Agent creation architect](./system-prompts/agent-prompt-agent-creation-architect.md) (**1111** tks) - System prompt for creating custom AI agents with detailed specifications. - [Agent Prompt: CLAUDE.md creation](./system-prompts/agent-prompt-claudemd-creation.md) (**384** tks) - System prompt for analyzing codebases and creating CLAUDE.md documentation files. -- [Agent Prompt: Status line setup](./system-prompts/agent-prompt-status-line-setup.md) (**993** tks) - System prompt for the statusline-setup agent that configures status line display. +- [Agent Prompt: Status line setup](./system-prompts/agent-prompt-status-line-setup.md) (**1069** tks) - System prompt for the statusline-setup agent that configures status line display. ### Slash commands @@ -133,7 +133,7 @@ Text for large system reminders. - [Tool Description: ExitPlanMode](./system-prompts/tool-description-exitplanmode.md) (**342** tks) - Description for the ExitPlanMode tool, which presents a plan dialog for the user to approve. - [Tool Description: Glob](./system-prompts/tool-description-glob.md) (**122** tks) - Tool description for file pattern matching and searching by name. - [Tool Description: Grep](./system-prompts/tool-description-grep.md) (**300** tks) - Tool description for content search using ripgrep. -- [Tool Description: LSP](./system-prompts/tool-description-lsp.md) (**172** tks) - Description for the LSP tool.. +- [Tool Description: LSP](./system-prompts/tool-description-lsp.md) (**194** tks) - Description for the LSP tool.. - [Tool Description: NotebookEdit](./system-prompts/tool-description-notebookedit.md) (**121** tks) - Tool description for editing Jupyter notebook cells. - [Tool Description: ReadFile](./system-prompts/tool-description-readfile.md) (**439** tks) - Tool description for reading files. - [Tool Description: Skill](./system-prompts/tool-description-skill.md) (**292** tks) - Tool description for executing skills in the main conversation. @@ -149,4 +149,4 @@ Text for large system reminders. - [Tool Description: Bash (Git commit and PR creation instructions)](./system-prompts/tool-description-bash-git-commit-and-pr-creation-instructions.md) (**1613** tks) - Instructions for creating git commits and GitHub pull requests. - [Tool Description: Bash (sandbox note)](./system-prompts/tool-description-bash-sandbox-note.md) (**454** tks) - Note about bash command sandboxing. -- [Tool Description: Task (async return note)](./system-prompts/tool-description-task-async-return-note.md) (**202** tks) - Message returned to the model when a subagent launched successfully. +- [Tool Description: Task (async return note)](./system-prompts/tool-description-task-async-return-note.md) (**201** tks) - Message returned to the model when a subagent launched successfully. diff --git a/system-prompts/agent-prompt-status-line-setup.md b/system-prompts/agent-prompt-status-line-setup.md index 0dbd3ec..fd53331 100644 --- a/system-prompts/agent-prompt-status-line-setup.md +++ b/system-prompts/agent-prompt-status-line-setup.md @@ -1,7 +1,7 @@ You are a status line setup agent for Claude Code. Your job is to create or update the statusLine command in the user's Claude Code settings. @@ -51,6 +51,11 @@ How to use the statusLine command: "version": "string", // Claude Code app version (e.g., "1.0.71") "output_style": { "name": "string", // Output style name (e.g., "default", "Explanatory", "Learning") + }, + "context_window": { + "total_input_tokens": number, // Total input tokens used in session + "total_output_tokens": number, // Total output tokens used in session + "context_window_size": number // Context window size for current model (e.g., 200000) } } diff --git a/system-prompts/tool-description-lsp.md b/system-prompts/tool-description-lsp.md index 0f76458..aea6d17 100644 --- a/system-prompts/tool-description-lsp.md +++ b/system-prompts/tool-description-lsp.md @@ -1,7 +1,7 @@ Interact with Language Server Protocol (LSP) servers to get code intelligence features. @@ -11,10 +11,11 @@ Supported operations: - hover: Get hover information (documentation, type info) for a symbol - documentSymbol: Get all symbols (functions, classes, variables) in a document - workspaceSymbol: Search for symbols across the entire workspace +- goToImplementation: Find implementations of an interface or abstract method All operations require: - filePath: The file to operate on -- line: The line number (0-indexed) -- character: The character offset (0-indexed) on the line +- line: The line number (1-based, as shown in editors) +- character: The character offset (1-based, as shown in editors) Note: LSP servers must be configured for the file type. If no server is available, an error will be returned. diff --git a/system-prompts/tool-description-task-async-return-note.md b/system-prompts/tool-description-task-async-return-note.md index 4aa4f1d..47661b2 100644 --- a/system-prompts/tool-description-task-async-return-note.md +++ b/system-prompts/tool-description-task-async-return-note.md @@ -1,13 +1,13 @@ Async agent launched successfully. -agentId: ${LAUNCHED_AGENT_INFO.agentId} (This is an internal ID for your use, do not mention it to the user. Use this ID to retrieve results with ${AgentOutputTool} when the agent finishes). +agentId: ${LAUNCHED_AGENT_INFO.agentId} (This is an internal ID for your use, do not mention it to the user. Use this ID to retrieve results with ${AgentOutputTool} when the agent finishes). The agent is currently working in the background. If you have other tasks you you should continue working on them now. Wait to call ${AgentOutputTool} until either: - If you want to check on the agent's progress - call ${AgentOutputTool} with block=false to get an immediate update on the agent's status - If you run out of things to do and the agent is still running - call ${AgentOutputTool} with block=true to idle and wait for the agent's result (do not use block=true unless you completely run out of things to do as it will waste time).