English | 中文
了解 Piebald
我们发布了 Piebald,主打 agentic AI developer experience。
你可以免费下载并试用:https://piebald.ai/
Claude Code System Prompts
IMPORTANT
新增(2026 年 1 月 23 日):我们已把 Claude Code 约 40 条 system reminders 全部加入此列表,见 System Reminders。
这个仓库收录了截至 Claude Code v2.1.110(2026 年 4 月 15 日) Claude Code 各类 system prompt 的最新清单及对应 token 数。它还包含一份 CHANGELOG.md,记录自 v2.0.14 以来 153 个版本的 system prompt 变化。该仓库来自 Piebald 团队。
这个仓库会在每次 Claude Code 发布后的几分钟内更新。可以查看 changelog,并在 X 上关注 @PiebaldAI 获取每次版本的 system prompt 变更摘要。
NOTE
⭐ 给这个仓库点 Star 就能在 Claude Code 新版本发布时收到通知。每次 Claude Code 发布新版本时,我们都会在 GitHub 创建一个 release,给已点 Star 的用户发送通知。
为什么会有多个“system prompts”?
Claude Code 的 system prompt 并不是一条单独的字符串。
它实际上包含:
- 会根据环境和各种配置按条件注入的大块内容。
Write、Bash、TodoWrite等 builtin tools 的说明,其中有些相当长。- Explore、Plan 等 builtin agents 的独立 system prompts。
- 许多 AI 驱动的 utility functions,例如对话压缩、
CLAUDE.md生成、session 标题生成等,它们各自也带有 system prompts。
最终结果是:在一个非常大的压缩 JS 文件中,有 110 多条不断变化并移动位置的字符串。
TIP
如果你想在自己的 Claude Code 安装里修改某一段 system prompt,请使用 tweakcc。它可以:
- 把 system prompt 的各个片段作为 markdown 文件供你单独定制;
- 给基于 npm 或原生二进制安装的 Claude Code 打补丁;
- 在你和 Anthropic 同时修改同一 prompt 文件时提供 diff 与冲突管理。
Extraction
这个仓库中的 system prompts 是通过脚本从 Claude Code 最新 npm 版本里抽取出来的。由于它们直接来自 Claude Code 的编译源码,因此可以保证与 Claude Code 实际使用的内容一致。如果你使用 tweakcc 定制这些 system prompts,其工作方式也类似,也就是对你本地安装里与本仓库相同的那些字符串打补丁。
Prompts
需要注意的是,某些 prompts 会包含插值内容,例如 builtin tool 名称、可用 sub agents 列表,以及其他上下文相关变量,因此在某个具体 Claude Code session 中的实际 token 数会略有不同,不过通常不会超出 ±20 tokens。
Agent Prompts
Sub-agents 和 utilities。
Sub-agents
- Agent Prompt: Explore (494 tks) - Explore 子代理的 system prompt。
- Agent Prompt: Plan mode (enhanced) (636 tks) - Plan 子代理的增强版 prompt。
Creation Assistants
- Agent Prompt: Agent creation architect (1110 tks) - 用于创建定制 AI agents 及其详细规格的 system prompt。
- Agent Prompt: CLAUDE.md creation (384 tks) - 用于分析代码库并创建
CLAUDE.md文档文件的 system prompt。 - Agent Prompt: Status line setup (2029 tks) - 为 statusline-setup agent 配置状态栏显示的 system prompt。
Slash Commands
- Agent Prompt: /batch slash command (1106 tks) - 用于在代码库中编排大规模、可并行变更的指令。
- Agent Prompt: /rename auto-generate session name (80 tks) -
/rename无参数时,根据对话上下文自动生成 kebab-case session 名称所用的 prompt。 - Agent Prompt: /review-pr slash command (211 tks) - 用于审查 GitHub pull request 并进行代码分析的 system prompt。
- Agent Prompt: /schedule slash command (2486 tks) - 通过 Anthropic 云 API 引导用户调度、更新、列出或运行带 cron 触发器的远程 Claude Code agents。
- Agent Prompt: /security-review slash command (2550 tks) - 用于分析代码变更、重点关注可利用漏洞的综合安全审查 prompt。
Utilities
- Agent Prompt: Agent Hook (133 tks) - “agent hook”的 prompt。
- Agent Prompt: Auto mode rule reviewer (257 tks) - 审查并批评用户定义的 auto mode 分类规则,检查其清晰度、完整性、冲突和可执行性。
- Agent Prompt: Bash command description writer (207 tks) - 用于为 bash 命令生成清晰、简洁、主动语态描述的指令。
- Agent Prompt: Bash command prefix detection (823 tks) - 用于检测命令前缀和命令注入的 system prompt。
- Agent Prompt: Claude guide agent (734 tks) - 帮助用户理解并有效使用 Claude Code、Claude Agent SDK 和 Claude API 的 claude-guide agent 的 system prompt。
- Agent Prompt: Coding session title generator (181 tks) - 为编码会话生成标题。
- Agent Prompt: Conversation summarization (1121 tks) - 用于生成详细对话摘要的 system prompt。
- Agent Prompt: Determine which memory files to attach (265 tks) - 用于决定主 agent 应附加哪些 memory 文件的 agent。
- Agent Prompt: Dream memory consolidation (763 tks) - 指示 agent 执行多阶段 memory consolidation:先对既有 memories 建立方位感,再从日志和转录中收集近期信号,把更新合并进 topic 文件,并修剪索引。
- Agent Prompt: Dream memory pruning (456 tks) - 指示 agent 通过删除陈旧或失效的 memory 文件并合并 memory 目录中的重复项来执行 memory pruning。
- Agent Prompt: General purpose (285 tks) - 通用子代理的 system prompt,用于在代码库中搜索、分析和编辑代码,并向调用方简洁汇报发现。
- Agent Prompt: Hook condition evaluator (stop) (145 tks) - 用于评估 hook 条件,特别是停止条件的 system prompt。
- Agent Prompt: Managed Agents onboarding flow (2265 tks) - 交互式访谈脚本,引导用户从零开始配置 Managed Agent:选择工具、skills、文件、环境设置,并输出 setup 和 runtime 代码。
- Agent Prompt: Memory synthesis (402 tks) - 读取持久 memory 文件,并只返回与每次查询相关的信息 JSON 综合结果,附带文件名引用的子代理。
- Agent Prompt: Onboarding guide generator (1135 tks) - 通过分析创建者的使用数据、分类 session 类型并迭代草稿,协作撰写团队 onboarding 指南
ONBOARDING.md。 - Agent Prompt: Prompt Suggestion Generator v2 (296 tks) - 为 Claude Code 生成 prompt 建议的 V2 指令。
- Agent Prompt: Quick PR creation (806 tks) - 用于创建带预填上下文的 commit 和 pull request 的精简 prompt。
- Agent Prompt: Quick git commit (510 tks) - 用于创建单个带预填上下文 git commit 的精简 prompt。
- Agent Prompt: Recent Message Summarization (724 tks) - 用于总结最近消息的 agent prompt。
- Agent Prompt: Security monitor for autonomous agent actions (first part) (3101 tks) - 指示 Claude 充当安全监控器,依据阻止/允许规则评估自主编码 agent 的动作,避免 prompt injection、scope creep 和意外破坏。
- Agent Prompt: Security monitor for autonomous agent actions (second part) (3523 tks) - 定义环境上下文、阻止规则和允许例外,以决定 agent 可执行或不可执行哪些工具动作。
- Agent Prompt: Session memory update instructions (756 tks) - 在对话过程中更新 session memory 文件的指令。
- Agent Prompt: Session search (158 tks) - 通过扫描
.jsonltranscript 文件来搜索过去 Claude Code 对话会话并返回匹配 session ID 的子代理 prompt。 - Agent Prompt: Session title and branch generation (307 tks) - 用于生成简洁 session 标题和 git branch 名称的 agent。
- Agent Prompt: Verification specialist (2938 tks) - 验证子代理的 system prompt,通过运行构建、测试套件、linters 和对抗性探针来对实现进行敌对测试,并给出 PASS/FAIL/PARTIAL 结论。
- Agent Prompt: WebFetch summarizer (189 tks) - 为主模型总结冗长 WebFetch 输出的 agent prompt。
- Agent Prompt: Worker fork (258 tks) - fork 出来的 worker 子代理的 system prompt,用于执行来自父 agent 的单一指令并简洁回报。
Data
Claude Code 内嵌的各种模板文件内容。
- Data: Claude API reference — C# (4341 tks) - C# SDK 参考,包含安装、客户端初始化、基本请求、流式输出和工具使用。
- Data: Claude API reference — Go (4294 tks) - Go SDK 参考。
- Data: Claude API reference — Java (4506 tks) - Java SDK 参考,包含安装、客户端初始化、基本请求、流式输出和 beta 工具使用。
- Data: Claude API reference — PHP (3486 tks) - PHP SDK 参考。
- Data: Claude API reference — Python (3549 tks) - Python SDK 参考,包含安装、客户端初始化、基本请求、thinking 和多轮对话。
- Data: Claude API reference — Ruby (923 tks) - Ruby SDK 参考,包含安装、客户端初始化、基本请求、流式输出和 beta tool runner。
- Data: Claude API reference — TypeScript (2881 tks) - TypeScript SDK 参考,包含安装、客户端初始化、基本请求、thinking 和多轮对话。
- Data: Claude API reference — cURL (2174 tks) - 供 cURL 或原始 HTTP 使用的 Claude API 原始参考。
- Data: Claude model catalog (2166 tks) - 当前和历史 Claude 模型目录,包含精确 model ID、aliases、上下文窗口和定价。
- Data: Files API reference — Python (1334 tks) - Python Files API 参考,包含文件上传、列出、删除和在消息中的使用。
- Data: Files API reference — TypeScript (797 tks) - TypeScript Files API 参考,包含文件上传、列出、删除和在消息中的使用。
- Data: GitHub Actions workflow for @claude mentions (525 tks) - 通过
@claude提及触发 Claude Code 的 GitHub Actions workflow 模板。 - Data: GitHub App installation PR description (424 tks) - 安装 Claude Code GitHub App 集成时的 PR 描述模板。
- Data: HTTP error codes reference (1922 tks) - Claude API 返回的 HTTP 错误码参考,包含常见原因和处理策略。
- Data: Live documentation sources (3585 tks) - 通过 WebFetch 获取官方最新 Claude API 和 Agent SDK 文档的 URL 集合。
- Data: Managed Agents client patterns (2685 tks) - 驱动 Managed Agent sessions 的常见客户端模式参考,包含流重连、idle-break gating、工具确认、中断和自定义工具。
- Data: Managed Agents core concepts (3208 tks) - Managed Agents API 参考文档,覆盖核心概念(Agents、Sessions、Environments、Containers)、生命周期、版本控制、端点和使用模式。
- Data: Managed Agents endpoint reference (4526 tks) - Managed Agents API 端点、SDK 方法、请求/响应 schema、错误处理和 rate limit 的综合参考。
- Data: Managed Agents environments and resources (2909 tks) - Managed Agents 环境、文件资源、GitHub 仓库挂载以及附带 SDK 示例的 Files API 参考文档。
- Data: Managed Agents events and steering (2428 tks) - 关于在 managed agent sessions 上发送和接收事件的参考指南,包含流式、轮询、重连、消息排队、中断和事件负载细节。
- Data: Managed Agents overview (2202 tks) - 向 agent 提供 Managed Agents API 架构、必须遵循的 agent-then-session 流程、beta headers、文档阅读指南和常见陷阱的综合概览。
- Data: Managed Agents reference — Python (2841 tks) - 使用 Anthropic Python SDK 创建和管理 agents、sessions、environments、流式、自定义工具、文件和 MCP servers 的参考指南。
- Data: Managed Agents reference — TypeScript (2855 tks) - 使用 Anthropic TypeScript SDK 创建和管理 agents、sessions、environments、流式、自定义工具、文件上传和 MCP server 集成的参考指南。
- Data: Managed Agents reference — cURL (2641 tks) - 提供 Managed Agents API 的 cURL 和原始 HTTP 请求示例,包含 environment、agent 和 session 生命周期操作。
- Data: Managed Agents tools and skills (3844 tks) - 参考文档,覆盖 Managed Agents SDK 的工具类型(agent toolset、MCP、custom)、权限策略、vault 凭证管理和用于构建专门化 agents 的 skills API。
- Data: Message Batches API reference — Python (1544 tks) - Python Batches API 参考,包含 batch 创建、状态轮询和以五折成本获取结果。
- Data: Prompt Caching — Design & Optimization (2657 tks) - 关于如何设计 prompt 构建代码以实现有效缓存的文档,包含放置模式和反模式。
- Data: Session memory template (292 tks) - session memory
summary.md文件的模板结构。 - Data: Streaming reference — Python (1528 tks) - Python 流式参考,包含同步/异步流式和不同内容类型的处理。
- Data: Streaming reference — TypeScript (1703 tks) - TypeScript 流式参考,包含基础流式和不同内容类型的处理。
- Data: Tool use concepts (4139 tks) - 使用 Claude API 进行 tool use 的概念基础,包含工具定义、工具选择和最佳实践。
- Data: Tool use reference — Python (5106 tks) - Python 工具使用参考,包含 tool runner、手动 agentic loop、代码执行和结构化输出。
- Data: Tool use reference — TypeScript (5033 tks) - TypeScript 工具使用参考,包含 tool runner、手动 agentic loop、代码执行和结构化输出。
System Prompt
主 system prompt 的各个组成部分。
- System Prompt: Advisor tool instructions (443 tks) - 使用 Advisor 工具的指令。
- System Prompt: Agent Summary Generation (178 tks) - 用于生成 “Agent Summary” 的 system prompt。
- System Prompt: Agent memory instructions (337 tks) - 在 agent system prompts 中加入 memory 更新指引的指令。
- System Prompt: Agent thread notes (159 tks) - 针对 agent threads 的行为准则,覆盖绝对路径、响应格式、避免 emoji 和工具调用标点。
- System Prompt: Auto mode (255 tks) - 持续执行任务,类似后台 agent。
- System Prompt: Autonomous loop check (1071 tks) - 定义基于定时器的自主调用行为,引导 Claude 在用户离开时继续既有工作、维护 PR,并处理重复的空闲检查。
- System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description) (175 tks) - 避免在 PowerShell 脚本中使用不必要 sleep 命令的准则,包含等待和通知的替代方案。
- System Prompt: Censoring assistance with malicious activities (98 tks) - 在为授权安全测试、防御性安全、CTF 和教学场景提供帮助时的准则,同时屏蔽恶意活动请求。
- System Prompt: Chrome browser MCP tools (156 tks) - 指示在使用前通过 MCPSearch 加载 Chrome browser MCP tools。
- System Prompt: Claude in Chrome browser automation (759 tks) - 有效使用 Chrome 浏览器自动化工具中 Claude 的指令。
- System Prompt: Communication style (297 tks) - 指示 Claude 在工具使用的关键节点给出简短用户更新、在回合末写简洁总结、按任务复杂度匹配响应格式,并避免在代码里加入评论和规划文档。
- System Prompt: Context compaction summary (278 tks) - 用于上下文压缩摘要的 prompt(供 SDK 使用)。
- System Prompt: Description part of memory instructions (148 tks) - 用于描述 memory “是什么”的字段,是指导 Claude 创建 memories 的更大工作的一部分。
- System Prompt: Doing tasks (ambitious tasks) (47 tks) - 允许用户完成有雄心的任务;在范围上遵从用户判断。
- System Prompt: Doing tasks (help and feedback) (24 tks) - 如何告知用户获取帮助和反馈的渠道。
- System Prompt: Doing tasks (minimize file creation) (47 tks) - 优先编辑已有文件,而不是创建新文件。
- System Prompt: Doing tasks (no compatibility hacks) (52 tks) - 与其添加兼容性垫片,不如彻底删除未使用代码。
- System Prompt: Doing tasks (no premature abstractions) (72 tks) - 不要为一次性操作或假设性需求创建抽象。
- System Prompt: Doing tasks (no time estimates) (47 tks) - 避免给出时间预估或预测。
- System Prompt: Doing tasks (no unnecessary additions) (78 tks) - 不要添加用户未要求的功能、重构或改进。
- System Prompt: Doing tasks (no unnecessary error handling) (64 tks) - 不要为不可能场景添加错误处理;只在边界处做校验。
- System Prompt: Doing tasks (read before modifying) (46 tks) - 在建议修改前先阅读并理解现有代码。
- System Prompt: Doing tasks (security) (67 tks) - 避免引入注入、XSS 等安全漏洞。
- System Prompt: Doing tasks (software engineering focus) (104 tks) - 用户主要请求软件工程任务;应在该语境下解释指令。
- System Prompt: Dream team memory handling (279 tks) - 在 dream consolidation 期间处理共享团队 memories 的指令,包含去重、保守修剪规则以及避免误把个人记忆提升为团队记忆。
- System Prompt: Executing actions with care (590 tks) - 谨慎执行动作的指令。
- System Prompt: Fork usage guidelines (323 tks) - 关于何时 fork subagents,以及不得中途读取 fork 输出或伪造 fork 结果的规则。
- System Prompt: Git status (37 tks) - 在对话开始时显示当前 git 状态的 system prompt。
- System Prompt: Hooks Configuration (1493 tks) - 用于 hooks 配置的 system prompt,供上面的 Claude Code config skill 使用。
- System Prompt: How to use the SendUserMessage tool (283 tks) - 使用 SendUserMessage 工具的指令。
- System Prompt: Insights at a glance summary (569 tks) - 为 insights 报告生成精炼的四部分摘要(哪些有效、阻碍因素、快速收益、激进工作流)。
- System Prompt: Insights friction analysis (139 tks) - 分析汇总后的使用数据,识别摩擦模式并归类反复出现的问题。
- System Prompt: Insights on the horizon (148 tks) - 识别未来更激进的工作流和自主 AI 辅助开发机会。
- System Prompt: Insights session facets extraction (310 tks) - 从单个 Claude Code session transcript 中提取结构化 facets(目标类别、满意度、摩擦)。
- System Prompt: Insights suggestions (748 tks) - 生成可执行建议,包括 CLAUDE.md 增补、可尝试的功能和使用模式。
- System Prompt: Learning mode (insights) (142 tks) - 在 learning mode 激活时提供教学式 insights 的指令。
- System Prompt: Learning mode (1042 tks) - learning mode 的主 system prompt,包含人类协作指令。
- System Prompt: Memory description of user details (122 tks) - 描述按用户维度 memory 文件的用途和准则,这类 memory 会跨 session 累积用户角色、目标、知识和偏好。
- System Prompt: Memory description of user feedback (with explicit save) (146 tks) - 描述反馈型 memory:记录用户对工作方式的指导,强调记录成功与失败,并明确要求保存一条标记与团队反馈相矛盾之处的新 memory。
- System Prompt: Memory description of user feedback (139 tks) - 描述用户反馈 memory 类型:保存关于工作方式的指导,强调同时记录成功和失败,并检查是否与团队 memories 冲突。
- System Prompt: Memory staleness verification (112 tks) - 指示 agent 根据当前文件/资源状态核验 memory 记录,并删除与观察到的现实冲突的陈旧 memories。
- System Prompt: Minimal mode (164 tks) - 描述 minimal mode 的行为和约束:跳过 hooks、LSP、plugins、auto-memory 等功能,同时要求通过 CLI flags 显式提供上下文。
- System Prompt: One of six rules for using sleep command (23 tks) - 关于使用 sleep 命令的六条规则之一。
- System Prompt: Option previewer (151 tks) - 用于并排预览 UI 选项布局的 system prompt。
- System Prompt: Parallel tool call note (part of "Tool usage policy") (102 tks) - 告知 Claude 要使用并行工具调用的 system prompt。
- System Prompt: Partial compaction instructions (725 tks) - 当用户决定只压缩部分对话时,如何进行 compact 的指令,包含结构化摘要格式和分析流程。
- System Prompt: Phase four of plan mode (142 tks) - plan mode 的第四阶段。
- System Prompt: PowerShell edition for 5.1 (285 tks) - 用于提供 Windows PowerShell 5.1 相关信息的 system prompt。
- System Prompt: REPL tool usage and scripting conventions (898 tks) - 指示 Claude 如何高效使用 REPL 工具处理高密度 JavaScript 脚本、简写、批处理规则和调查任务中的 API 参考。
- System Prompt: Remote plan mode (ultraplan) (617 tks) - 在远程 planning sessions 中注入的 system reminder,指示 Claude 探索代码库、通过 ExitPlanMode 产出富图计划,并在获批后通过 pull request 实现。
- System Prompt: Remote planning session (432 tks) - 用于配置远程 planning session 的 system reminder,要求探索代码库、通过 ExitPlanMode 生成实现计划,并处理计划审批、拒绝或 teleport 回用户本地终端。
- System Prompt: Scratchpad directory (170 tks) - 使用专用 scratchpad 目录存放临时文件的指令。
- System Prompt: Skillify Current Session (1836 tks) - 将当前 session 转换为一个 skill 的 system prompt。
- System Prompt: Subagent delegation examples (606 tks) - 提供示例交互,展示 coordinator agent 如何委派任务给 subagents、处理等待状态并回报结果。
- System Prompt: Subagent prompt-writing examples (439 tks) - 提供示例用法,展示如何为委派任务编写自包含、结构良好的 prompts。
- System Prompt: Teammate Communication (130 tks) - swarm 场景下的 teammate communication system prompt。
- System Prompt: Tone and style (code references) (39 tks) - 要求在引用代码时包含
file_path:line_number的指令。 - System Prompt: Tone and style (concise output — short) (16 tks) - 要求输出简短且简洁的指令。
- System Prompt: Tool execution denied (144 tks) - 工具执行被拒绝时使用的 system prompt。
- System Prompt: Tool usage (create files) (30 tks) - 优先使用 Write 工具,而不是
catheredoc 或echo重定向。 - System Prompt: Tool usage (delegate exploration) (95 tks) - 对更广泛的代码库探索和深度研究使用 Task 工具。
- System Prompt: Tool usage (direct search) (39 tks) - 对简单、定向搜索直接使用 Glob/Grep。
- System Prompt: Tool usage (edit files) (26 tks) - 优先使用 Edit 工具,而不是
sed/awk。 - System Prompt: Tool usage (read files) (29 tks) - 优先使用 Read 工具,而不是
cat/head/tail/sed。 - System Prompt: Tool usage (reserve Bash) (75 tks) - Bash 工具应专门保留给系统命令和终端操作。
- System Prompt: Tool usage (search content) (30 tks) - 优先使用 Grep,而不是
grep或rg。 - System Prompt: Tool usage (search files) (26 tks) - 优先使用 Glob,而不是
find或ls。 - System Prompt: Tool usage (skill invocation) (102 tks) - slash commands 通过 Skill 工具调用用户可触发的 skills。
- System Prompt: Tool usage (subagent guidance) (103 tks) - 关于何时以及如何有效使用 subagents 的指导。
- System Prompt: Tool usage (task management) (70 tks) - 使用 TodoWrite 来拆分并跟踪工作进度。
- System Prompt: Worker instructions (272 tks) - worker 在实现变更时应遵循的指令。
- System Prompt: Writing subagent prompts (287 tks) - 编写有效 subagent prompts 的准则,覆盖继承上下文和全新上下文两种场景。
System Reminders
大型 system reminders 的文本。
- System Reminder: /btw side question (244 tks) - 用于无工具侧问题的
/btwslash command system reminder。 - System Reminder: Agent mention (45 tks) - 用户想调用某个 agent 的通知。
- System Reminder: Compact file reference (57 tks) - 在对话摘要前需要先阅读的文件引用。
- System Reminder: Exited plan mode (41 tks) - 退出 plan mode 时的通知。
- System Reminder: File exists but empty (27 tks) - 读取空文件时的警告。
- System Reminder: File modified by user or linter (97 tks) - 文件被外部修改的通知。
- System Reminder: File opened in IDE (37 tks) - 用户在 IDE 中打开文件的通知。
- System Reminder: File shorter than offset (59 tks) - 文件读取 offset 超出文件长度时的警告。
- System Reminder: File truncated (74 tks) - 文件因尺寸过大被截断的通知。
- System Reminder: Hook additional context (35 tks) - 来自 hook 的附加上下文。
- System Reminder: Hook blocking error (52 tks) - 阻塞型 hook 命令返回的错误。
- System Reminder: Hook stopped continuation prefix (12 tks) - hook 停止 continuation 消息的前缀。
- System Reminder: Hook stopped continuation (30 tks) - hook 阻止继续执行时的消息。
- System Reminder: Hook success (29 tks) - hook 成功消息。
- System Reminder: Invoked skills (33 tks) - 当前 session 中被调用的 skills 列表。
- System Reminder: Lines selected in IDE (66 tks) - 用户在 IDE 中选中若干行的通知。
- System Reminder: MCP resource no content (41 tks) - MCP resource 没有内容时显示。
- System Reminder: MCP resource no displayable content (43 tks) - MCP resource 没有可显示内容时显示。
- System Reminder: Malware analysis after Read tool call (87 tks) - 指示在不改进或增强恶意软件的前提下进行恶意软件分析。
- System Reminder: Memory file contents (36 tks) - 按路径展示 memory 文件内容。
- System Reminder: Nested memory contents (33 tks) - 嵌套 memory 文件的内容。
- System Reminder: New diagnostics detected (35 tks) - 检测到新诊断问题的通知。
- System Reminder: Output style active (32 tks) - 当前某种输出风格已激活的通知。
- System Reminder: Plan file reference (62 tks) - 对既有 plan 文件的引用。
- System Reminder: Plan mode is active (5-phase) (1297 tks) - 带并行探索和多 agent 规划的增强版 plan mode system reminder。
- System Reminder: Plan mode is active (iterative) (936 tks) - 面向主 agent、带用户访谈工作流的迭代式 plan mode system reminder。
- System Reminder: Plan mode is active (subagent) (307 tks) - 面向 sub agents 的简化版 plan mode system reminder。
- System Reminder: Plan mode re-entry (236 tks) - 用户在曾通过 shift+tab 退出或批准 Claude 计划后再次进入 Plan mode 时发送的 system reminder。
- System Reminder: Session continuation (37 tks) - session 从另一台机器继续的通知。
- System Reminder: Stop hook blocking error (20 tks) - 阻塞型 stop hook 返回的错误。
- System Reminder: Task tools reminder (123 tks) - 提醒使用任务跟踪工具。
- System Reminder: Team Coordination (250 tks) - 团队协作用 system reminder。
- System Reminder: Team Shutdown (136 tks) - 团队关闭用 system reminder。
- System Reminder: Thinking frequency tuning (119 tks) - 指示 Claude 把 system-reminder 标签视为 harness 指令,并按任务复杂度调节 thinking 频率。
- System Reminder: TodoWrite reminder (98 tks) - 提醒使用 TodoWrite 跟踪任务。
- System Reminder: Token usage (39 tks) - 当前 token 使用统计。
- System Reminder: USD budget (42 tks) - 当前美元预算统计。
- System Reminder: Ultraplan mode (437 tks) - 用于 Ultraplan mode 的 system reminder,帮助创建带多 agent 探索和批判的详细实现计划。
- System Reminder: Verify plan reminder (47 tks) - 提醒验证已完成的计划。
Builtin Tool Descriptions
- Tool Description: AskUserQuestion (287 tks) - 用于向用户提问的工具描述。
- Tool Description: Computer (161 tks) - Chrome 浏览器自动化工具的主描述。
- Tool Description: Config (275 tks) - 获取和设置 Claude Code 配置项的工具,附带使用说明和可配置项列表。
- Tool Description: CronCreate (948 tks) - 描述 CronCreate 工具,用于排入一次性或周期性的基于 cron 的任务,并提供 jitter 和错开分钟调度的指导。
- Tool Description: Edit (202 tks) - 用于在文件中执行精确字符串替换的工具。
- Tool Description: EnterPlanMode (878 tks) - 进入 plan mode 以探索并设计实现方案的工具描述。
- Tool Description: EnterWorktree (565 tks) - EnterWorktree 工具的描述。
- Tool Description: ExitPlanMode (417 tks) - ExitPlanMode 工具的描述,用于向用户展示一个待批准的计划对话框。
- Tool Description: ExitWorktree (527 tks) - 大致上,是 ExitWorktree 的反向操作。
- Tool Description: Grep (300 tks) - 使用 ripgrep 进行内容搜索的工具描述。
- Tool Description: LSP (255 tks) - LSP 工具的描述。
- Tool Description: NotebookEdit (121 tks) - 用于编辑 Jupyter notebook 单元格的工具描述。
- Tool Description: PowerShell (1455 tks) - 描述 PowerShell 命令执行工具,包含语法指导、超时设置,以及在文件操作上优先使用专门工具的说明。
- Tool Description: PushNotification (261 tks) - PushNotification 的工具描述。该工具会在用户终端发送桌面通知,并在 Remote Control 已连接时推送到手机。
- Tool Description: REPL (591 tks) - REPL 工具的描述,它是一个 JavaScript 编程接口,可把 Claude Code 工具调用作为 async functions 进行循环、分支和组合。
- Tool Description: ReadFile (449 tks) - 读取文件的工具描述。
- Tool Description: SendMessageTool (362 tks) - Agent teams 版本的 SendMessageTool。
- Tool Description: Skill (326 tks) - 在主对话中执行 skills 的工具描述。
- Tool Description: TaskCreate (499 tks) - TaskCreate 工具的描述。
- Tool Description: TeamDelete (154 tks) - TeamDelete 工具的描述。
- Tool Description: TeammateTool (1585 tks) - 在 swarm 中管理团队并协调 teammates 的工具。
- Tool Description: TodoWrite (2037 tks) - 用于创建和管理任务列表的工具描述。
- Tool Description: WebFetch (297 tks) - Web 抓取功能的工具描述。
- Tool Description: WebSearch (321 tks) - Web 搜索功能的工具描述。
- Tool Description: Write (129 tks) - 把文件写入本地文件系统的工具。
部分 Tool Descriptions 的附加说明
- Tool Description: Agent (usage notes) (791 tks) - Task/Agent 工具的使用说明和注记,包含如何启动 subagents、后台执行、恢复以及 worktree 隔离。
- Tool Description: AskUserQuestion (preview field) (134 tks) - 说明如何在单选题选项上使用 HTML preview 字段显示 UI mockups、代码片段和图示等视觉产物。
- Tool Description: Background monitor (streaming events) (995 tks) - 描述 background monitor 工具:将长时间运行脚本的 stdout 事件作为聊天通知流出,并给出脚本质量、输出量和选择性过滤的指导。
- Tool Description: Bash (Git commit and PR creation instructions) (1611 tks) - 创建 git commits 和 GitHub pull requests 的指令。
- Tool Description: Bash (alternative — communication) (18 tks) - Bash 工具替代建议:直接输出文本,而不是
echo/printf。 - Tool Description: Bash (alternative — content search) (27 tks) - Bash 工具替代建议:内容搜索用 Grep,而不是
grep/rg。 - Tool Description: Bash (alternative — edit files) (27 tks) - Bash 工具替代建议:文件编辑用 Edit,而不是
sed/awk。 - Tool Description: Bash (alternative — file search) (26 tks) - Bash 工具替代建议:文件搜索用 Glob,而不是
find/ls。 - Tool Description: Bash (alternative — read files) (27 tks) - Bash 工具替代建议:文件读取用 Read,而不是
cat/head/tail。 - Tool Description: Bash (alternative — write files) (29 tks) - Bash 工具替代建议:文件写入用 Write,而不是
echo/cat。 - Tool Description: Bash (built-in tools note) (53 tks) - 注明 builtin tools 比 Bash 等价操作提供更好的用户体验。
- Tool Description: Bash (git — avoid destructive ops) (58 tks) - Bash 工具的 git 指令:对破坏性操作优先考虑更安全的替代方案。
- Tool Description: Bash (git — never skip hooks) (59 tks) - Bash 工具的 git 指令:除非用户要求,否则绝不跳过 hooks 或绕过签名。
- Tool Description: Bash (git — prefer new commits) (22 tks) - Bash 工具的 git 指令:优先创建新 commit,而不是 amend。
- Tool Description: Bash (maintain cwd) (41 tks) - Bash 工具指令:使用绝对路径并避免
cd。 - Tool Description: Bash (no newlines) (24 tks) - Bash 工具指令:不要用换行分隔命令。
- Tool Description: Bash (overview) (19 tks) - Bash 工具描述的开场语。
- Tool Description: Bash (parallel commands) (72 tks) - Bash 工具指令:独立命令应以并行工具调用方式运行。
- Tool Description: Bash (prefer dedicated tools) (71 tks) - 警告:对
find、grep、cat等操作优先使用专门工具,而不是 Bash。 - Tool Description: Bash (quote file paths) (35 tks) - Bash 工具指令:文件路径包含空格时要加引号。
- Tool Description: Bash (sandbox — adjust settings) (26 tks) - 失败时与用户协作调整 sandbox 设置。
- Tool Description: Bash (sandbox — default to sandbox) (38 tks) - 默认在 sandbox 中运行;只有在用户要求或有明确 sandbox 限制证据时才绕过。
- Tool Description: Bash (sandbox — evidence list header) (15 tks) - 由 sandbox 导致失败证据列表的标题。
- Tool Description: Bash (sandbox — evidence: access denied) (15 tks) - sandbox 证据:访问允许目录之外路径时被拒绝。
- Tool Description: Bash (sandbox — evidence: network failures) (17 tks) - sandbox 证据:到非白名单主机的网络连接失败。
- Tool Description: Bash (sandbox — evidence: operation not permitted) (18 tks) - sandbox 证据:出现 operation not permitted 错误。
- Tool Description: Bash (sandbox — evidence: unix socket errors) (11 tks) - sandbox 证据:unix socket 连接错误。
- Tool Description: Bash (sandbox — explain restriction) (36 tks) - 解释是哪条 sandbox 限制导致了失败。
- Tool Description: Bash (sandbox — failure evidence condition) (48 tks) - 条件:命令失败且有 sandbox 限制证据。
- Tool Description: Bash (sandbox — mandatory mode) (34 tks) - 策略:所有命令都必须在 sandbox 模式下运行。
- Tool Description: Bash (sandbox — no exceptions) (17 tks) - 命令在任何情况下都不能在 sandbox 外运行。
- Tool Description: Bash (sandbox — no sensitive paths) (36 tks) - 不要建议把敏感路径加入 sandbox allowlist。
- Tool Description: Bash (sandbox — per-command) (52 tks) - 把每个命令单独看待;后续命令默认仍在 sandbox 中运行。
- Tool Description: Bash (sandbox — response header) (17 tks) - 遇到 sandbox 导致失败时的响应标题。
- Tool Description: Bash (sandbox — retry without sandbox) (33 tks) - 因 sandbox 失败后,立即使用 dangerouslyDisableSandbox 重试。
- Tool Description: Bash (sandbox — tmpdir) (58 tks) - 在 sandbox 模式下把
$TMPDIR用作临时文件目录。 - Tool Description: Bash (sandbox — user permission prompt) (14 tks) - 说明关闭 sandbox 会触发用户权限提示。
- Tool Description: Bash (semicolon usage) (29 tks) - Bash 工具指令:当顺序重要但失败不影响后续时,使用分号。
- Tool Description: Bash (sequential commands) (42 tks) - Bash 工具指令:有依赖关系的命令用
&&串联。 - Tool Description: Bash (sleep — keep short) (22 tks) - Bash 工具指令:sleep 时长保持在 1 到 5 秒。
- Tool Description: Bash (sleep — no polling background tasks) (37 tks) - Bash 工具指令:不要轮询后台任务,等待通知即可。
- Tool Description: Bash (sleep — run immediately) (21 tks) - Bash 工具指令:对于可以立刻运行的命令,不要在命令间 sleep。
- Tool Description: Bash (sleep — use check commands) (34 tks) - Bash 工具指令:轮询时优先使用 check 命令,而不是 sleep。
- Tool Description: Bash (timeout) (83 tks) - Bash 工具指令:可选的 timeout 配置。
- Tool Description: Bash (verify parent directory) (38 tks) - Bash 工具指令:创建文件前先验证父目录。
- Tool Description: Bash (working directory) (37 tks) - 关于工作目录持久性和 shell 状态的 Bash 工具说明。
- Tool Description: SendMessageTool (non-agent-teams) (133 tks) - 发送一条用户会读到的消息,对这个工具本身做了较好的说明。
- Tool Description: Snooze (delay and reason guidance) (608 tks) - 在 snooze 工具描述基础上扩展,说明如何根据 5 分钟 prompt cache TTL 选择
delaySeconds,以及如何写出信息充分的 reason 字段。 - Tool Description: TaskList (teammate workflow) (133 tks) - 附加到 TaskList 工具描述中的条件性部分。
- Tool Description: ToolSearch (second part) (202 tks) - 工具描述的主体部分。
- Tool Description: request_teach_access (part of teach mode) (139 tks) - 描述一个请求权限的工具:通过全屏 tooltip overlays 分步骤引导用户完成任务,而不是直接取得控制权。
- Tool Parameter: Computer action (251 tks) - Chrome 浏览器 computer 工具的 action 参数选项。
Skills
用于特定任务的内建 skill prompts。
- Skill: /dream nightly schedule (441 tks) - 通过去重既有调度、创建新的 cron 任务、向用户确认细节并立即执行一次 consolidation,来设置夜间周期性 memory consolidation 作业。
- Skill: /init CLAUDE.md and skill setup (new version) (4618 tks) - 一个完整的 onboarding 流程,用于在当前仓库设置
CLAUDE.md及相关 skills/hooks,包含代码库探索、用户访谈和迭代式方案细化。 - Skill: /insights report output (191 tks) - 在用户运行
/insightsslash command 后,对 insights usage report 结果进行格式化并展示。 - Skill: /loop cloud-first scheduling offer (510 tks) - 在
/loop命令中优先提供基于云的调度方案,只有在不适用时才回退到本地 session loops 的决策树。 - Skill: /loop self-pacing mode (638 tks) - 指示 Claude 如何让一个周期性 loop 自主调速:把事件监控设为主要唤醒信号,并在轮次之间安排后备 heartbeat 延迟。
- Skill: /loop slash command (dynamic mode) (514 tks) - 将用户输入解析为时间间隔和 prompt,用于调度周期性或动态自调速的 loop 执行。
- Skill: /loop slash command (969 tks) - 将用户输入解析为时间间隔和 prompt,把间隔转换为 cron 表达式,并调度一个周期性任务。
- Skill: /stuck slash command (964 tks) - 诊断卡住或变慢的 Claude Code session。
- Skill: Agent Design Patterns (1974 tks) - 参考指南,覆盖在 Claude API 上构建 agents 的决策启发式,包含工具面设计、上下文管理、缓存策略和工具调用组合。
- Skill: Build with Claude API (reference guide) (591 tks) - 用于呈现按语言划分的参考文档并带快速任务导航的模板。
- Skill: Building LLM-powered applications with Claude (7607 tks) - 指导 Claude 使用 Anthropic SDK 构建 LLM 驱动应用,覆盖语言识别、API 面选择(Claude API 与 Managed Agents)、模型默认值、thinking/effort 配置,以及按语言组织的文档阅读路径。
- Skill: Computer Use MCP (1206 tks) - 使用 computer-use MCP tools 的指令,包含工具选择层级、应用访问层级、链接安全和金融操作限制。
- Skill: Create verifier skills (2551 tks) - 为 Verify agent 创建 verifier skills 的 prompt,以自动验证代码变更。
- Skill: Debugging (412 tks) - 针对用户在 Claude Code session 中遇到的问题进行调试的指令。
- Skill: Dynamic pacing loop execution (558 tks) - 分步骤说明如何执行动态节奏 loop:运行任务、挂起持久监控作为事件触发等待、调度后备 heartbeat tick,并处理任务通知。
- Skill: Schedule recurring cron and execute immediately (compact) (173 tks) - 创建周期性 cron 任务、向用户确认日程,并立即执行解析后的 prompt,而不等待首次 cron 触发的指令。
- Skill: Schedule recurring cron and run immediately (271 tks) - 把时间间隔转换为 cron 表达式,通过 cron 创建工具调度周期性任务,向用户确认后立刻执行,不等待第一次 cron 触发。
- Skill: Simplify (877 tks) - 用于简化代码的指令。
- Skill: Team onboarding guide (521 tks) - 为新 teammate 讲解团队 Claude Code 配置的 onboarding 模板,引导他们了解 usage stats、setup checklist、MCP servers、skills 和团队 tips,语气偏温暖对话式。
- Skill: Update Claude Code Config (1190 tks) - 用于修改 Claude Code 配置文件
settings.json的 skill。 - Skill: Verify CLI changes (example for Verify skill) (565 tks) - 作为 Verify skill 一部分的 CLI 变更验证示例工作流。
- Skill: Verify server/API changes (example for Verify skill) (612 tks) - 作为 Verify skill 一部分的 server/API 变更验证示例工作流。
- Skill: Verify skill (runtime-verification) (2696 tks) - 以
/runtime-verificationslash command 名称注册的 Verify skill 别名,内容相同,仅 frontmatter invoke name 不同。 - Skill: Verify skill (2694 tks) - 用于验证代码变更的偏意见式 verification workflow skill。
- Skill: update-config (7-step verification flow) (1160 tks) - 引导 Claude 通过七步流程构造并验证 Claude Code hooks 的 skill,确保它们在用户的具体项目环境中正常工作。
