692 lines
134 KiB
Markdown
692 lines
134 KiB
Markdown
<!-- WEHUB_ZH_README -->
|
||
> [!NOTE]
|
||
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
|
||
> [English](./README.en.md) · [原始项目](https://github.com/Piebald-AI/claude-code-system-prompts) · [上游 README](https://github.com/Piebald-AI/claude-code-system-prompts/blob/HEAD/README.md)
|
||
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
|
||
|
||
<div>
|
||
<div align="right">
|
||
<a href="https://piebald.ai"><img width="200" top="20" align="right" src="https://github.com/Piebald-AI/.github/raw/main/Wordmark.svg"></a>
|
||
</div>
|
||
|
||
<div align="left">
|
||
|
||
### 了解 Piebald
|
||
我们发布了 **Piebald**,终极 agentic AI 开发者体验。 \
|
||
免费下载并试用!**https://piebald.ai/**
|
||
|
||
<a href="https://piebald.ai/discord"><img src="https://img.shields.io/badge/Join%20our%20Discord-5865F2?style=flat&logo=discord&logoColor=white" alt="加入我们的 Discord"></a>
|
||
<a href="https://x.com/PiebaldAI"><img src="https://img.shields.io/badge/Follow%20%40PiebaldAI-000000?style=flat&logo=x&logoColor=white" alt="X"></a>
|
||
|
||
<sub>[**向下滚动查看 Claude Code 的系统提示词。**](#claude-code-system-prompts) :point_down:</sub>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div align="left">
|
||
<a href="https://piebald.ai">
|
||
<picture>
|
||
<source media="(prefers-color-scheme: dark)" srcset="https://piebald.ai/screenshot-dark.png">
|
||
<source media="(prefers-color-scheme: light)" srcset="https://piebald.ai/screenshot-light.png">
|
||
<img alt="hero" width="800" src="https://piebald.ai/screenshot-light.png">
|
||
</picture>
|
||
</a>
|
||
</div>
|
||
|
||
# Claude Code 系统提示词
|
||
|
||
[](https://github.com/hesreallyhim/awesome-claude-code)
|
||
|
||
> [!tip]
|
||
> **新(2026 年 6 月 12 日):** 我们大幅扩充了这份列表,新增了大量 Claude Code 提示词—**从 350 条增至 515 条(+165)**—这是我们迄今为止最完整的收录。
|
||
|
||
本仓库收录了截至 **[Claude Code v2.1.207](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.207)(2026 年 7 月 10 日)** 时 Claude Code 各类系统提示词及其对应 token 数量的最新列表。其中还包含自 v2.0.14 以来跨越 233 个版本的系统提示词 [**CHANGELOG.md**](./CHANGELOG.md)。来自 [<img src="https://github.com/Piebald-AI/piebald/raw/main/assets/logo.svg" width="15"> **Piebald**](https://piebald.ai/) 团队。
|
||
|
||
**本仓库会在每次 Claude Code 发布后数分钟内更新。请查看 [changelog](./CHANGELOG.md),并在 X 上关注 [@PiebaldAI](https://x.com/PiebaldAI),以获取各版本系统提示词变更摘要。**
|
||
|
||
> [!note]
|
||
> ⭐ **Star** 本仓库即可收到新版本 Claude Code 的通知。每次 Claude Code 发布新版本时,我们会在 GitHub 上创建 release,所有已 star 本仓库的用户都会收到通知。
|
||
|
||
---
|
||
|
||
为什么会有多个「系统提示词」?
|
||
|
||
**Claude Code 的系统提示词并非只有一个字符串。**
|
||
|
||
实际情况是:
|
||
- 会根据环境和各类配置有条件地追加大量内容。
|
||
- 内置工具(如 `Write`、`Bash` 和 `TodoWrite`)的描述,其中一些体量相当大。
|
||
- 内置代理(如 Explore 和 Plan)各有独立的系统提示词。
|
||
- 众多 AI 驱动的实用功能(如对话压缩、`CLAUDE.md` 生成、会话标题生成等)也各自配有系统提示词。
|
||
|
||
最终结果是—在一个体量很大的压缩 JS 文件中,有 500+ 条不断变动、迁移的字符串。
|
||
|
||
> [!important]
|
||
> 想在你自己的 Claude Code 安装中**修改系统提示词的某个部分**?**请使用 [tweakcc](https://github.com/Piebald-AI/tweakcc).**** 它—
|
||
> - 允许你将系统提示词的各个部分自定义为 markdown 文件,然后
|
||
> - 将这些文件打补丁到你的 npm 版或原生(二进制)Claude Code 安装中,并且
|
||
> - 当你与 Anthropic 对同一提示词文件做了冲突修改时,提供 diff 与冲突管理。
|
||
|
||
## 提取
|
||
|
||
本仓库包含通过脚本从最新 npm 版 Claude Code 中提取的系统提示词。由于它们直接来自 Claude Code 的编译源码,因此可保证与 Claude Code 实际使用的内容完全一致。如果你使用 [tweakcc](https://github.com/Piebald-AI/tweakcc) 自定义系统提示词,其工作方式类似—它会在你的本地安装中修补与本仓库提取内容完全相同的字符串。
|
||
|
||
## 提示词
|
||
|
||
请注意,部分提示词包含插值内容,例如内置工具名引用、可用子代理列表以及各种其他上下文相关变量,因此特定 Claude Code 会话中的实际 token 数会略有差异—但通常不会超过 ±20 tokens。
|
||
|
||
### 代理提示词
|
||
|
||
子代理与实用工具。
|
||
|
||
#### 子代理
|
||
|
||
- [Agent Prompt: Explore](./system-prompts/agent-prompt-explore.md)(**871** tks)- Explore 子代理的系统提示词。
|
||
- [Agent Prompt: Plan mode (enhanced)](./system-prompts/agent-prompt-plan-mode-enhanced.md)(**715** tks)- Plan 子代理的增强版提示词。
|
||
|
||
#### 创建助手
|
||
|
||
- [Agent Prompt: CLAUDE.md creation](./system-prompts/agent-prompt-claudemd-creation.md)(**513** tks)- 用于分析代码库并创建 CLAUDE.md 文档文件的系统提示词。
|
||
- [Agent Prompt: Status line setup](./system-prompts/agent-prompt-status-line-setup.md)(**3230** tks)- 用于配置状态行显示的 statusline-setup 代理系统提示词。
|
||
|
||
#### 斜杠命令
|
||
|
||
- [Agent Prompt: /batch slash command](./system-prompts/agent-prompt-batch-slash-command.md)(**1106** tks)- 用于在代码库中编排大规模、可并行变更的指令。
|
||
- [Agent Prompt: /code-review part 1 base finder angles](./system-prompts/agent-prompt-code-review-part-1-base-finder-angles.md)(**145** tks)- /code-review 斜杠命令 finder-angle 阶段的逐行 diff 扫描指令。
|
||
- [Agent Prompt: /code-review part 10 ReportFindings output format](./system-prompts/agent-prompt-code-review-part-10-reportfindings-output-format.md)(**287** tks)- 用于 /code-review 运行中通过 ReportFindings 工具一次性报告已验证发现、并限制数量与按严重程度排序的输出格式指令。
|
||
- [Agent Prompt: /code-review part 2 low effort minimum findings mode](./system-prompts/agent-prompt-code-review-part-2-low-effort-minimum-findings-mode.md)(**532** tks)- 低工作量 /code-review 提示词:读取 diff 一次,至少定位 min(files_changed, 4) 个 hunk 可见的运行时正确性发现,不足时额外再扫一遍。
|
||
- [Agent Prompt: /code-review part 2 low effort mode](./system-prompts/agent-prompt-code-review-part-2-low-effort-mode.md)(**345** tks)- 低工作量 /code-review 提示词:读取 diff 一次,最多返回四个 hunk 可见的运行时正确性发现。
|
||
- [Agent Prompt: /code-review part 3 extra-high and maximum effort modes](./system-prompts/agent-prompt-code-review-part-3-extra-high-and-maximum-effort-modes.md)(**0** tks)- 超高与最高工作量 /code-review 提示词:运行五个 finder angle、一票验证、gap sweep,并输出有上限的 JSON 发现。
|
||
- [Agent Prompt: /code-review part 4 three-state verification phase](./system-prompts/agent-prompt-code-review-part-4-three-state-verification-phase.md)(**98** tks)- /code-review 验证阶段:由一名代理验证者将每个候选发现分类为 confirmed、plausible 或 refuted。
|
||
- [Agent Prompt: /code-review part 5 recall-biased verification phase](./system-prompts/agent-prompt-code-review-part-5-recall-biased-verification-phase.md)(**175** tks)- 偏召回的 /code-review 验证阶段:将现实但不确定的发现视为 plausible,除非代码能反驳。
|
||
- [Agent Prompt: /code-review part 6 medium effort mode](./system-prompts/agent-prompt-code-review-part-6-medium-effort-mode.md)(**0** tks)- 中等工作量 /code-review 提示词:侧重精确度,使用三个 finder angle、一票验证,最多输出八条 JSON 发现。
|
||
- [Agent Prompt: /code-review part 7 high effort mode](./system-prompts/agent-prompt-code-review-part-7-high-effort-mode.md)(**0** tks)- 高工作量 /code-review 提示词:侧重召回,使用三个 finder angle、偏召回验证,最多输出十条 JSON 发现。
|
||
- [Agent Prompt: /code-review part 8 GitHub comment posting](./system-prompts/agent-prompt-code-review-part-8-github-comment-posting.md)(**152** tks)- 可选 /code-review 指令:传入 --comment 时将发现以 GitHub 行内 PR 评论形式发布。
|
||
- [Agent Prompt: /code-review part 9 fix application](./system-prompts/agent-prompt-code-review-part-9-fix-application.md)(**250** tks)- 可选 /code-review 指令:传入 --fix 时将发现应用到工作树。
|
||
- [Agent Prompt: /rename auto-generate session name](./system-prompts/agent-prompt-rename-auto-generate-session-name.md)(**80** tks)- /rename(无参数)根据对话上下文自动生成 kebab-case 会话名称时使用的提示词。
|
||
- [Agent Prompt: /review slash command](./system-prompts/agent-prompt-review-slash-command.md)(**422** tks)- /review 命令指令:通过 gh 收集 PR 上下文与 diff,应用可选的用户指令,并呈现已验证发现,用于审查 GitHub pull request。
|
||
- [Agent Prompt: /schedule slash command](./system-prompts/agent-prompt-schedule-slash-command.md)(**4303** tks)- 引导用户通过 Anthropic cloud API 在 cron 触发器上调度、更新、列出或运行远程 Claude Code 代理。
|
||
- [Agent Prompt: /security-review slash command](./system-prompts/agent-prompt-security-review-slash-command.md)(**2521** tks)- 全面安全审查提示词,分析代码变更并聚焦可利用漏洞。
|
||
- [Agent Prompt: /simplify slash command](./system-prompts/agent-prompt-simplify-slash-command.md)(**362** tks)- /simplify 斜杠命令指令:审查变更代码的可复用性、简化、效率与抽象层级清理,然后应用修复。
|
||
|
||
#### 工具类(Utilities)
|
||
|
||
- [Agent Prompt: Agent Hook](./system-prompts/agent-prompt-agent-hook.md) (**122** tks) - 用于「agent hook」的提示词。
|
||
- [Agent Prompt: Auto mode rule reviewer](./system-prompts/agent-prompt-auto-mode-rule-reviewer.md) (**292** tks) - 审查并点评用户定义的自动模式分类器规则,评估其清晰度、完整性、冲突与可执行性。
|
||
- [Agent Prompt: Away summary generation](./system-prompts/agent-prompt-away-summary-generation.md) (**73** tks) - 提示一次不使用工具的离席摘要生成运行,在用户返回时回顾目标、当前任务与下一步操作。
|
||
- [Agent Prompt: Background agent state classifier](./system-prompts/agent-prompt-background-agent-state-classifier.md) (**6237** tks) - 将后台智能体对话记录尾部分类为 working、blocked、done 或 failed,并返回简洁的状态 JSON。
|
||
- [Agent Prompt: Background job agent instructions](./system-prompts/agent-prompt-background-job-agent-instructions.md) (**427** tks) - 指导内置后台任务智能体叙述进度、重述工具结果,并发出明确的 result、needs input 或 failed 状态信号。
|
||
- [Agent Prompt: Bash command description writer](./system-prompts/agent-prompt-bash-command-description-writer.md) (**207** tks) - 用于为 bash 命令生成清晰、简洁、主动语态命令描述的指令。
|
||
- [Agent Prompt: Bash command prefix detection](./system-prompts/agent-prompt-bash-command-prefix-detection.md) (**823** tks) - 用于检测命令前缀与命令注入的系统提示词。
|
||
- [Agent Prompt: Claude Code guide](./system-prompts/agent-prompt-claude-code-guide.md) (**355** tks) - 回答 Claude Code 功能/SDK/API 相关问题的子智能体。
|
||
- [Agent Prompt: Claude guide agent](./system-prompts/agent-prompt-claude-guide-agent.md) (**2728** tks) - claude-code-guide 智能体的系统提示词,用于回答基于文档的 Claude Code、Claude Agent SDK、Claude API 与 Claude Tag 相关问题。
|
||
- [Agent Prompt: Coding session title generator](./system-prompts/agent-prompt-coding-session-title-generator.md) (**314** tks) - 为编码会话生成标题。
|
||
- [Agent Prompt: Context tip reception evaluator](./system-prompts/agent-prompt-context-tip-reception-evaluator.md) (**311** tks) - 评估所展示的 Claude Code 上下文提示是否被采纳,以及其反响为正面、中性、负面或未知。
|
||
- [Agent Prompt: Context tip selector](./system-prompts/agent-prompt-context-tip-selector.md) (**1489** tks) - 通过将近期对话记录与会话元数据与符合条件的上下文提示场景进行匹配,决定是否展示简短的 Claude Code 功能提示。
|
||
- [Agent Prompt: Conversation summarization](./system-prompts/agent-prompt-conversation-summarization.md) (**1795** tks) - 用于创建详细对话摘要的系统提示词。
|
||
- [Agent Prompt: Determine which memory files to attach](./system-prompts/agent-prompt-determine-which-memory-files-to-attach.md) (**271** tks) - 为主智能体确定应附加哪些记忆文件的智能体。
|
||
- [Agent Prompt: Dream memory consolidation](./system-prompts/agent-prompt-dream-memory-consolidation.md) (**859** tks) - 指导智能体执行多阶段记忆整合:基于现有记忆定位、从日志与对话记录收集近期信号、将更新合并到主题文件,并修剪索引。
|
||
- [Agent Prompt: General purpose agent](./system-prompts/agent-prompt-general-purpose-agent.md) (**63** tks) - 定义一个通用智能体,用于研究复杂问题、搜索代码并执行多步骤任务。
|
||
- [Agent Prompt: General purpose](./system-prompts/agent-prompt-general-purpose.md) (**446** tks) - 通用子智能体的系统提示词,在代码库中搜索、分析与编辑代码,并向调用方简洁报告发现。
|
||
- [Agent Prompt: General task agent](./system-prompts/agent-prompt-general-task-agent.md) (**99** tks) - 指导 Claude Code 任务智能体完整完成用户请求并报告关键结果。
|
||
- [Agent Prompt: Hook condition evaluator (stop)](./system-prompts/agent-prompt-hook-condition-evaluator-stop.md) (**319** tks) - 用于在 Claude Code 中评估 hook 条件(尤其是 stop 条件)的系统提示词。
|
||
- [Agent Prompt: Hook condition evaluator](./system-prompts/agent-prompt-hook-condition-evaluator.md) (**88** tks) - 指导智能体判断用户提供的 hook 条件是否满足。
|
||
- [Agent Prompt: Inherited context for worktree sub-agent](./system-prompts/agent-prompt-inherited-context-for-worktree-sub-agent.md) (**121** tks) - 向子智能体说明其已继承父会话上下文,现于独立隔离的 git worktree 中工作。
|
||
- [Agent Prompt: Managed Agents onboarding flow](./system-prompts/agent-prompt-managed-agents-onboarding-flow.md) (**3806** tks) - 交互式访谈脚本,通过描述任务、提议工具与资源、配置环境与会话、测试访问并生成集成代码,帮助用户配置 Managed Agent。
|
||
- [Agent Prompt: Onboarding guide draft share link workflow](./system-prompts/agent-prompt-onboarding-guide-draft-share-link-workflow.md) (**323** tks) - 补充在审阅前分享 ONBOARDING.md 草稿的说明,并在用户回答审阅问题后更新同一 ShareOnboardingGuide 链接。
|
||
- [Agent Prompt: Onboarding guide generator](./system-prompts/agent-prompt-onboarding-guide-generator.md) (**1135** tks) - 通过分析创建者使用数据、分类会话类型并协作迭代草稿,共同撰写面向新 Claude Code 用户的团队入门指南(ONBOARDING.md)。
|
||
- [Agent Prompt: PR follow-up cron](./system-prompts/agent-prompt-pr-follow-up-cron.md) (**172** tks) - 定时任务提示词,用于检查会话中创建的拉取请求并修复失败、评论或冲突。
|
||
- [Agent Prompt: Prompt Suggestion Generator v2](./system-prompts/agent-prompt-prompt-suggestion-generator-v2.md) (**344** tks) - 为 Claude Code 生成提示词建议的 V2 版指令。
|
||
- [Agent Prompt: Quick PR creation](./system-prompts/agent-prompt-quick-pr-creation.md) (**1600** tks) - 精简提示词,用于在预填充上下文的情况下创建提交与拉取请求。
|
||
- [Agent Prompt: Read-only search agent](./system-prompts/agent-prompt-read-only-search-agent.md) (**93** tks) - 定义只读搜索智能体,用于广泛扇出式代码搜索,返回结论而非文件转储。
|
||
- [Agent Prompt: Recent Message Summarization](./system-prompts/agent-prompt-recent-message-summarization.md) (**1272** tks) - 用于摘要近期消息的智能体提示词。
|
||
- [Agent Prompt: Schedule action selection](./system-prompts/agent-prompt-schedule-action-selection.md) (**114** tks) - 指导云端调度智能体询问用户应首先执行哪项调度操作。
|
||
- [Agent Prompt: Security monitor for autonomous agent actions (first part)](./system-prompts/agent-prompt-security-monitor-for-autonomous-agent-actions-first-part.md) (**11259** tks) - 指导 Claude 充当安全监控器,依据 block/allow 规则评估自主编码智能体操作,以防止提示词注入、范围蔓延与意外损害。
|
||
- [Agent Prompt: Security monitor for autonomous agent actions (second part)](./system-prompts/agent-prompt-security-monitor-for-autonomous-agent-actions-second-part.md) (**24537** tks) - 定义环境上下文、block 规则与 allow 例外,以约束智能体可执行或禁止的工具操作。
|
||
- [Agent Prompt: Session search](./system-prompts/agent-prompt-session-search.md) (**158** tks) - 子智能体提示词,通过扫描 .jsonl 对话记录文件搜索过往 Claude Code 会话并返回匹配的会话 ID。
|
||
- [Agent Prompt: Session title and branch generation](./system-prompts/agent-prompt-session-title-and-branch-generation.md) (**307** tks) - 用于生成简洁会话标题与 git 分支名的智能体。
|
||
- [Agent Prompt: Session transcript chunk summary](./system-prompts/agent-prompt-session-transcript-chunk-summary.md) (**89** tks) - 指导智能体简洁摘要 Claude Code 会话对话记录的一个片段。
|
||
- [Agent Prompt: Summarization no-tools guard](./system-prompts/agent-prompt-summarization-no-tools-guard.md) (**107** tks) - 压缩摘要智能体共用的前缀,禁止使用工具,并要求输出纯文本分析与摘要块。
|
||
- [Agent Prompt: WebFetch summarizer](./system-prompts/agent-prompt-webfetch-summarizer.md) (**189** tks) - 供智能体为主模型摘要 WebFetch 冗长输出的提示词。
|
||
- [Agent Prompt: Worker fork](./system-prompts/agent-prompt-worker-fork.md) (**268** tks) - 分叉 worker 子智能体的系统提示词,执行父智能体的一条指令并简洁回报。
|
||
- [Agent Prompt: Workflow script plain text return note](./system-prompts/agent-prompt-workflow-script-plain-text-return-note.md) (**76** tks) - 附加说明,告知工作流脚本智能体其最终文本响应会被解析为脚本返回值。
|
||
- [Agent Prompt: Workflow script structured return note](./system-prompts/agent-prompt-workflow-script-structured-return-note.md) (**120** tks) - 附加说明,告知工作流脚本智能体应通过恰好调用一次结构化输出工具来返回最终答案。
|
||
- [Agent Prompt: Workflow subagent plain text output](./system-prompts/agent-prompt-workflow-subagent-plain-text-output.md) (**154** tks) - 指导内部工作流子智能体将其最终文本原样作为调用方工作流脚本的解析结果返回。
|
||
- [Agent Prompt: Workflow subagent structured output](./system-prompts/agent-prompt-workflow-subagent-structured-output.md) (**190** tks) - 指导内部工作流子智能体通过恰好调用一次 StructuredOutput 工具并以符合 schema 的输入返回最终答案。
|
||
|
||
### Data
|
||
|
||
嵌入 Claude Code 中的各类模板文件内容。
|
||
|
||
- [Data: Anthropic CLI](./system-prompts/data-anthropic-cli.md) (**4615** tks) - ant CLI 参考文档,涵盖安装、身份验证、命令结构、输入与输出格式、Managed Agents 工作流及脚本模式。
|
||
- [Data: Background tasks changed event schema](./system-prompts/data-background-tasks-changed-event-schema.md) (**237** tks) - `background_tasks_changed` 系统事件的 schema 说明及其 replace-set 语义。
|
||
- [Data: Claude API reference — C#](./system-prompts/data-claude-api-reference-c.md) (**7777** tks) - C# SDK 参考,包括安装、客户端初始化、基础请求、流式传输及工具使用。
|
||
- [Data: Claude API reference — Go](./system-prompts/data-claude-api-reference-go.md) (**3268** tks) - Go SDK 参考,包括安装、客户端初始化、模型常量、基础请求及 thinking。
|
||
- [Data: Claude API reference — Java](./system-prompts/data-claude-api-reference-java.md) (**4620** tks) - Java SDK 参考,包括安装、客户端初始化、基础请求、流式传输及 beta 工具使用。
|
||
- [Data: Claude API reference — PHP](./system-prompts/data-claude-api-reference-php.md) (**2470** tks) - PHP SDK 参考。
|
||
- [Data: Claude API reference — Python](./system-prompts/data-claude-api-reference-python.md) (**7119** tks) - Python SDK 参考,包括安装、客户端初始化、基础请求、thinking 及多轮对话。
|
||
- [Data: Claude API reference — Ruby](./system-prompts/data-claude-api-reference-ruby.md) (**1782** tks) - Ruby SDK 参考,包括安装、客户端初始化、基础请求、流式传输及 beta tool runner。
|
||
- [Data: Claude API reference — TypeScript](./system-prompts/data-claude-api-reference-typescript.md) (**5550** tks) - TypeScript SDK 参考,包括安装、客户端初始化、基础请求、thinking 及多轮对话。
|
||
- [Data: Claude API reference — cURL](./system-prompts/data-claude-api-reference-curl.md) (**2890** tks) - 供 cURL 或 Raw HTTP 使用的 Claude API 原始 API 参考。
|
||
- [Data: Claude Code agent proxy troubleshooting guide](./system-prompts/data-claude-code-agent-proxy-troubleshooting-guide.md) (**2030** tks) - Claude Code 策略强制 HTTPS agent proxy 故障排除指南,涵盖 TLS 信任配置、状态检查、git、docker 及不受支持的流量。
|
||
- [Data: Claude Code gateway protocol](./system-prompts/data-claude-code-gateway-protocol.md) (**3857** tks) - 记录 Claude Code gateway 线路协议的 Markdown 参考,包括 OAuth 2.0 device flow、RFC 8414 discovery、Messages API 推理、托管设置、模型发现、OTLP 遥测、错误封装、TLS 证书固定,以及代理到 Bedrock、Vertex 和 Foundry。
|
||
- [Data: Claude Code live documentation sources](./system-prompts/data-claude-code-live-documentation-sources.md) (**2378** tks) - 用于从官方来源获取当前 Claude Code 文档的 WebFetch URL。
|
||
- [Data: Claude Code recent changes reference](./system-prompts/data-claude-code-recent-changes-reference.md) (**840** tks) - 近期已移除或重命名的 Claude Code 命令、标志和术语与其当前替代项的参考映射。
|
||
- [Data: Claude Platform on AWS reference](./system-prompts/data-claude-platform-on-aws-reference.md) (**1608** tks) - 通过 AWS 基础设施使用 Claude Developer Platform 的参考文档,包括 AnthropicAWS 客户端、所需区域与工作区配置、SigV4 身份验证及短期 API 密钥。
|
||
- [Data: Claude Tag (Claude in Slack) reference](./system-prompts/data-claude-tag-claude-in-slack-reference.md) (**1996** tks) - Claude Tag(Claude Code 的组织托管 Slack 界面)的离线参考,涵盖其定义、可用性、设置、配置,以及与早期 Claude in Slack 应用的区别。
|
||
- [Data: Claude gateway landing page](./system-prompts/data-claude-gateway-landing-page.md) (**392** tks) - 在 Claude Code gateway 根路径提供的 HTML 状态页,显示 gateway 徽标、运行中的 gateway URL、身份提供方主机、OAuth discovery 链接及 gateway 版本。
|
||
- [Data: Claude model catalog](./system-prompts/data-claude-model-catalog.md) (**4435** tks) - 当前及旧版 Claude 模型目录,包含精确的模型 ID、别名、上下文窗口及定价。
|
||
- [Data: Context tip situation — manual polling](./system-prompts/data-context-tip-situation-manual-polling.md) (**169** tks) - 用于检测用户正在手动轮询状态、应显示 /loop 上下文提示的情境文本。
|
||
- [Data: Context tip situation — persistent memory](./system-prompts/data-context-tip-situation-persistent-memory.md) (**170** tks) - 用于检测用户正在重申持久项目上下文、应显示 memory 上下文提示的情境文本。
|
||
- [Data: Context tip situation — subagent fan-out](./system-prompts/data-context-tip-situation-subagent-fan-out.md) (**179** tks) - 用于检测应将重复的独立子任务扇出(fan-out)到 subagent 的情境文本。
|
||
- [Data: Cowork plugin MCP discovery and connection](./system-prompts/data-cowork-plugin-mcp-discovery-and-connection.md) (**1338** tks) - 插件定制期间查找 MCP 连接器的参考指南,包括使用搜索与建议工具、将类别映射到关键词,以及编写 .mcp.json 条目。
|
||
- [Data: Cowork plugin component schemas](./system-prompts/data-cowork-plugin-component-schemas.md) (**3109** tks) - Cowork 插件组件格式的参考文档,包括 skills、agents、hooks、MCP servers、legacy commands、CONNECTORS.md 及 README.md。
|
||
- [Data: Cowork plugin examples](./system-prompts/data-cowork-plugin-examples.md) (**2323** tks) - 最小、中等及复杂 Cowork 插件结构的参考示例,包含插件元数据、skills、agents、hooks、MCP 配置、README 及 connectors。
|
||
- [Data: Data visualization anti-patterns](./system-prompts/data-data-visualization-anti-patterns.md) (**2308** tks) - 发布数据可视化前应检查的图表与仪表板反模式参考列表。
|
||
- [Data: Data visualization choosing a form](./system-prompts/data-data-visualization-choosing-a-form.md) (**1099** tks) - 根据数据用途选择合适图表、统计磁贴或非图表形式的参考指南。
|
||
- [Data: Data visualization color formula](./system-prompts/data-data-visualization-color-formula.md) (**2470** tks) - 在数据可视化中分配与验证分类、顺序、发散及状态颜色的参考规则。
|
||
- [Data: Data visualization components](./system-prompts/data-data-visualization-components.md) (**836** tks) - 构成数据可视化的 HTML/SVG 组件、图层及系统参数的参考规范。
|
||
- [Data: Data visualization interaction](./system-prompts/data-data-visualization-interaction.md) (**1318** tks) - 图表悬停层、工具提示、筛选器、联动高亮及交互行为的参考指南。
|
||
- [Data: Data visualization marks and anatomy](./system-prompts/data-data-visualization-marks-and-anatomy.md) (**2164** tks) - 图表标记、间距、标签、坐标轴、图例及统计磁贴结构的参考规范。
|
||
- [Data: Data visualization reference palette](./system-prompts/data-data-visualization-reference-palette.md) (**2739** tks) - 数据可视化方法的参考调色板实例,包括色阶、分类顺序、状态颜色、表面及排版。
|
||
- [Data: Files API reference — Go](./system-prompts/data-files-api-reference-go.md) (**336** tks) - Go Files API 参考,包括文件上传、列表、删除及在消息中的使用。
|
||
- [Data: Files API reference — Python](./system-prompts/data-files-api-reference-python.md) (**1360** tks) - Python Files API 参考,包括文件上传、列表、删除及在消息中的使用。
|
||
- [Data: Files API reference — TypeScript](./system-prompts/data-files-api-reference-typescript.md) (**797** tks) - TypeScript Files API 参考,包括文件上传、列表、删除及在消息中的使用。
|
||
- [Data: Gateway device code entry page](./system-prompts/data-gateway-device-code-entry-page.md) (**228** tks) - 在 gateway 设备端点提供的 HTML 验证页,提示用户输入 Claude Code 显示的短设备码,以便通过公司身份提供方登录。
|
||
- [Data: GitHub Actions workflow for @claude mentions](./system-prompts/data-github-actions-workflow-for-claude-mentions.md) (**525** tks) - 通过 @claude 提及触发 Claude Code 的 GitHub Actions 工作流模板。
|
||
- [Data: GitHub App installation PR description](./system-prompts/data-github-app-installation-pr-description.md) (**409** tks) - 安装 Claude Code GitHub App 集成时 PR 描述的模板。
|
||
- [Data: Governed GitHub CLI shim header](./system-prompts/data-governed-github-cli-shim-header.md) (**292** tks) - 按会话托管的 GitHub CLI shim 的头部注释,该 shim 将 github.com 的 gh 流量路由至 agent proxy,同时保留 customer-token 及 GitHub Enterprise 流量。
|
||
- [Data: Governed GitHub CLI shim routing](./system-prompts/data-governed-github-cli-shim-routing.md) (**691** tks) - 托管 gh shim 的 shell 路由逻辑,包括 GitHub 主机检测、真实 gh 回退执行、agent proxy 设置、CA bundle 配置及代理注入的 token。
|
||
- [Data: HTTP error codes reference](./system-prompts/data-http-error-codes-reference.md) (**4671** tks) - Claude API 返回的 HTTP 错误码参考,含常见原因及处理策略。
|
||
- [Data: Interrupt receipt still queued field](./system-prompts/data-interrupt-receipt-still-queued-field.md) (**471** tks) - 中断控制响应返回的 `still_queued` UUID 列表的 schema 说明。
|
||
- [Data: Knowledge MCP search strategies](./system-prompts/data-knowledge-mcp-search-strategies.md) (**447** tks) - 插件定制期间使用 knowledge MCP 发现组织特定工具名、项目标识符、团队名称及工作流细节的参考查询模式。
|
||
- [Data: Live documentation sources](./system-prompts/data-live-documentation-sources.md) (**6219** tks) - 用于从官方来源获取当前 Claude API 与 Agent SDK 文档的 WebFetch URL。
|
||
- [Data: Managed Agents Scheduled Deployments](./system-prompts/data-managed-agents-scheduled-deployments.md) (**2853** tks) - Managed Agents 定时部署 API 指南,包括 cron 计划、部署运行、暂停、恢复及运维限制。
|
||
- [Data: Managed Agents Webhooks](./system-prompts/data-managed-agents-webhooks.md) (**2482** tks) - Managed Agents webhook 指南,涵盖注册端点、验证 HMAC 签名、处理事件负载及处理重试。
|
||
- [Data: Managed Agents client patterns](./system-prompts/data-managed-agents-client-patterns.md) (**3547** tks) - 驱动 Managed Agent 会话的常见客户端模式参考指南,包括流重连、idle-break 门控、工具确认、中断及自定义工具。
|
||
- [Data: Managed Agents core concepts](./system-prompts/data-managed-agents-core-concepts.md) (**6361** tks) - Managed Agents API 参考文档,涵盖核心概念(Agents、Sessions、Environments、Containers)、生命周期、版本控制、端点及使用模式。
|
||
- [Data: Managed Agents endpoint reference](./system-prompts/data-managed-agents-endpoint-reference.md) (**11649** tks) - Managed Agents API 端点的综合参考,包括 SDK 方法、请求/响应 schema、错误处理及速率限制。
|
||
- [Data: Managed Agents environments and resources](./system-prompts/data-managed-agents-environments-and-resources.md) (**3191** tks) - 涵盖 Managed Agents 环境、文件资源、GitHub 仓库挂载及 Files API 的参考文档,附 SDK 示例。
|
||
- [Data: Managed Agents events and steering](./system-prompts/data-managed-agents-events-and-steering.md) (**5414** tks) - 在托管 agent 会话上发送与接收事件的参考指南,包括流式传输、轮询、重连、消息排队、中断及事件负载细节。
|
||
- [Data: Managed Agents memory stores reference](./system-prompts/data-managed-agents-memory-stores-reference.md) (**3760** tks) - 托管 agent 记忆存储、记忆版本、附加及直接记忆管理的参考文档。
|
||
- [Data: Managed Agents multiagent sessions](./system-prompts/data-managed-agents-multiagent-sessions.md) (**2551** tks) - Managed Agents 多 agent 会话参考文档,包括协调者名单、线程、会话流事件、subagent 工具权限及常见陷阱。
|
||
- [Data: Managed Agents outcomes](./system-prompts/data-managed-agents-outcomes.md) (**1772** tks) - Managed Agents outcomes 参考文档,包括 `user.define_outcome` 事件、评分标准、outcome 评估事件、交付物及交互规则。
|
||
- [Data: Managed Agents overview](./system-prompts/data-managed-agents-overview.md) (**4109** tks) - 为 agent 提供 Managed Agents API 架构的全面概览、强制性的 agent-then-session 流程、beta 头部、文档阅读指南及常见陷阱。
|
||
- [Data: Managed Agents reference — Go](./system-prompts/data-managed-agents-reference-go.md) (**8273** tks) - 使用 Anthropic Go SDK 创建与管理 agent、环境、会话及工具的参考指南。
|
||
- [Data: Managed Agents reference — Java](./system-prompts/data-managed-agents-reference-java.md) (**6740** tks) - 使用 Anthropic Java SDK 创建与管理 agent、环境及会话的参考指南。
|
||
- [Data: Managed Agents reference — PHP](./system-prompts/data-managed-agents-reference-php.md) (**5420** tks) - 使用 Anthropic PHP SDK 创建与管理 agent、环境及会话的参考指南。
|
||
- [Data: Managed Agents reference — Python](./system-prompts/data-managed-agents-reference-python.md) (**3732** tks) - 使用 Anthropic Python SDK 创建与管理 agent、会话、环境、流式传输、自定义工具、文件及 MCP server 的参考指南。
|
||
- [Data: Managed Agents reference — Ruby](./system-prompts/data-managed-agents-reference-ruby.md) (**4202** tks) - 使用 Anthropic Ruby SDK 创建与管理 agent、环境及会话的参考指南。
|
||
- [Data: Managed Agents reference — TypeScript](./system-prompts/data-managed-agents-reference-typescript.md) (**3719** tks) - 使用 Anthropic TypeScript SDK 创建与管理 agent、会话、环境、流式传输、自定义工具、文件上传及 MCP server 集成的参考指南。
|
||
- [Data: Managed Agents reference — cURL](./system-prompts/data-managed-agents-reference-curl.md) (**3476** tks) - 提供 Managed Agents API 的 cURL 与 raw HTTP 请求示例,包括环境、agent 及会话生命周期操作。
|
||
- [Data: Managed Agents self-hosted sandboxes](./system-prompts/data-managed-agents-self-hosted-sandboxes.md) (**2930** tks) - 在自托管基础设施中运行 Managed Agents 工具执行的参考文档,包括环境设置、worker、webhook 驱动的唤醒、编排、监控、凭据及安全职责。
|
||
- [Data: Managed Agents tools and skills](./system-prompts/data-managed-agents-tools-and-skills.md) (**7253** tks) - 涵盖 Managed Agents SDK 工具类型(agent toolset、MCP、custom)、权限策略、vault 凭据管理及用于构建专用 agent 的 skills API 的参考文档。
|
||
- [Data: Message Batches API reference — Python](./system-prompts/data-message-batches-api-reference-python.md) (**1635** tks) - Python Batches API 参考,包括批量创建、状态轮询及以 50% 成本获取结果。
|
||
- [Data: Message Batches API — TypeScript](./system-prompts/data-message-batches-api-typescript.md) (**805** tks) - Claude 异步 Message Batches 端点的 TypeScript 使用指南。
|
||
- [Data: Peer sender display name field](./system-prompts/data-peer-sender-display-name-field.md) (**199** tks) - 跨会话 peer 消息发送方规范化显示名称的 schema 说明。
|
||
- [Data: Plan artifact HTML template](./system-prompts/data-plan-artifact-html-template.md) (**17941** tks) - 已发布 plan artifact 的 HTML 模板,包括填充槽位、嵌入的 CDS token 及浅色与深色 plan 布局。
|
||
- [Data: Platform availability](./system-prompts/data-platform-availability.md) (**2860** tks) - 各 Claude API 提供方平台(first-party、Claude Platform on AWS、Bedrock、Vertex 及 Foundry)的功能可用性矩阵。
|
||
- [Data: Prompt Caching — Design & Optimization](./system-prompts/data-prompt-caching-design-optimization.md) (**5314** tks) - 如何设计提示构建代码以实现有效缓存的文档,包括放置模式与反模式。
|
||
- [Data: Streaming reference — C#](./system-prompts/data-streaming-reference-c.md) (**378** tks) - C# 流式传输参考,包括流式事件及 RawMessageStreamEvent TryPick 方法。
|
||
- [Data: Streaming reference — PHP](./system-prompts/data-streaming-reference-php.md) (**315** tks) - PHP 流式传输参考,包括流式事件及处理 content block delta(需要 SDK v0.5.0+)。
|
||
- [Data: Streaming reference — Python](./system-prompts/data-streaming-reference-python.md) (**2320** tks) - Python 流式传输参考,包括同步/异步流式传输及处理不同内容类型。
|
||
- [Data: Streaming reference — TypeScript](./system-prompts/data-streaming-reference-typescript.md) (**1675** tks) - TypeScript 流式传输参考,包括基础流式传输及处理不同内容类型。
|
||
- [Data: Structured tool output field schema](./system-prompts/data-structured-tool-output-field-schema.md) (**173** tks) - `user-message` `tool_use_result` 字段的 schema 说明,包括各工具输出形态及已完成的 Agent 或 Task 输出契约。
|
||
- [Data: Thin-client diff dialog schema](./system-prompts/data-thin-client-diff-dialog-schema.md) (**198** tks) - 供 thin-client diff 对话框使用的工作区 git diff 负载的内部数据说明。
|
||
- [Data: Token counting reference](./system-prompts/data-token-counting-reference.md) (**486** tks) - 使用 Messages `count_tokens` 端点及 Anthropic SDK 或 CLI 示例统计 Claude 模型 token 的参考文档,并警告勿使用 OpenAI tokenizer。
|
||
- [Data: Tool use concepts](./system-prompts/data-tool-use-concepts.md) (**10358** tks) - 通过 Claude API 进行工具使用的概念基础,包括工具定义、tool choice 及最佳实践。
|
||
- [Data: Tool use display metadata field](./system-prompts/data-tool-use-display-metadata-field.md) (**172** tks) - 记录 `tool_use_meta` 线路字段,该字段承载消息 `tool_use` 块的分块显示元数据;其为包装层 UI 元数据,不会回放到模型。
|
||
- [Data: Tool use reference — C#](./system-prompts/data-tool-use-reference-c.md) (**2402** tks) - C# 工具使用参考,包括定义工具及为后续 assistant 消息重构响应内容。
|
||
- [Data: Tool use reference — Go](./system-prompts/data-tool-use-reference-go.md) (**3468** tks) - Go 工具使用参考,包括带自动 schema 生成的 beta tool runner 及手动 agentic loop。
|
||
- [Data: Tool use reference — Java](./system-prompts/data-tool-use-reference-java.md) (**3903** tks) - Java 工具使用参考,包括定义工具及手动 agentic loop。
|
||
- [Data: Tool use reference — PHP](./system-prompts/data-tool-use-reference-php.md) (**3211** tks) - PHP 工具使用参考,包括 beta tool runner 及使用 camelCase 键的手动 agentic loop。
|
||
- [Data: Tool use reference — Python](./system-prompts/data-tool-use-reference-python.md) (**7076** tks) - Python 工具使用参考,包括 tool runner、手动 agentic loop、代码执行及结构化输出。
|
||
- [Data: Tool use reference — TypeScript](./system-prompts/data-tool-use-reference-typescript.md) (**7559** tks) - TypeScript 工具使用参考,包括 tool runner、手动 agentic loop、代码执行及结构化输出。
|
||
|
||
### System Prompt
|
||
|
||
主系统提示(system prompt)的组成部分。
|
||
|
||
- [System Prompt: /loop tick(无 loop.md,动态节奏)](./system-prompts/system-prompt-loop-tick-loopmd-absent-dynamic-pacing.md)(**177** tks)- 在不存在 loop.md 时,用于动态自主节奏检查的 loop tick 注入。
|
||
- [System Prompt: /loop tick(loop.md 任务)](./system-prompts/system-prompt-loop-tick-loopmd-tasks.md)(**94** tks)- 基于 cron 周期性执行 loop.md 中任务的 loop tick 注入。
|
||
- [System Prompt: /loop tick(loop.md 任务,动态节奏)](./system-prompts/system-prompt-loop-tick-loopmd-tasks-dynamic-pacing.md)(**174** tks)- 以动态自主节奏执行 loop.md 中任务的 loop tick 注入。
|
||
- [System Prompt: Act when ready(信息充分即行动)](./system-prompts/system-prompt-act-when-ready.md)(**68** tks)- 指示智能体在信息足够时立即行动,并给出建议,而非做穷尽式调研。
|
||
- [System Prompt: Action safety and truthful reporting(行动安全与如实汇报)](./system-prompts/system-prompt-action-safety-and-truthful-reporting.md)(**190** tks)- 要求对不可逆或对外可见的操作进行确认,破坏性编辑前检查目标,并如实汇报结果。
|
||
- [System Prompt: Advisor tool instructions(Advisor 工具说明)](./system-prompts/system-prompt-advisor-tool-instructions.md)(**443** tks)- 使用 Advisor 工具的说明。
|
||
- [System Prompt: Agent Summary Generation(Agent Summary 生成)](./system-prompts/system-prompt-agent-summary-generation.md)(**178** tks)- 用于生成 “Agent Summary” 的系统提示。
|
||
- [System Prompt: Agent thread notes(智能体线程说明)](./system-prompts/system-prompt-agent-thread-notes.md)(**293** tks)- 智能体线程的行为准则,涵盖绝对路径、响应格式、避免 emoji,以及工具调用标点。
|
||
- [System Prompt: Auto mode(自动模式)](./system-prompts/system-prompt-auto-mode.md)(**244** tks)- 持续执行任务,类似后台智能体。
|
||
- [System Prompt: Autonomous loop check(自主循环检查)](./system-prompts/system-prompt-autonomous-loop-check.md)(**1071** tks)- 定义基于定时器的自主调用行为,引导 Claude 继续既定工作、维护 PR,并在用户离开时处理重复的空闲检查。
|
||
- [System Prompt: Autonomous loop notification guidance(自主循环通知指引)](./system-prompts/system-prompt-autonomous-loop-notification-guidance.md)(**98** tks)- 说明自主循环 tick 何时应通过 PushNotification 通知用户(遇到阻塞或可采取行动的状态变化时)。
|
||
- [System Prompt: Autonomous loop persistence guidance (CLAUDE_CODE_LOOP_PERSISTENT)](./system-prompts/system-prompt-autonomous-loop-persistence-guidance-claude_code_loop_persistent.md)(**1173** tks)- 定义基于定时器的自主调用行为,引导 Claude 在用户离开时持续推进既定工作、维护 PR,并在停止前扩大工作范围。
|
||
- [System Prompt: Autonomous loop tick(动态节奏)](./system-prompts/system-prompt-autonomous-loop-tick-dynamic-pacing.md)(**168** tks)- 通过 ScheduleWakeup 调度的动态自主节奏检查所用的自主循环 tick 注入。
|
||
- [System Prompt: Autonomous loop tick](./system-prompts/system-prompt-autonomous-loop-tick.md)(**87** tks)- 基于 cron 的周期性自主检查所用的自主循环 tick 注入。
|
||
- [System Prompt: Autonomous operation guidelines(自主运行准则)](./system-prompts/system-prompt-autonomous-operation-guidelines.md)(**301** tks)- 指示自主会话在可逆工作上继续推进,对破坏性或改变范围的操作停下来,并在结束回合前完成已承诺的工作。
|
||
- [System Prompt: Avoiding Unnecessary Sleep Commands(避免不必要的 sleep 命令,PowerShell 工具描述的一部分)](./system-prompts/system-prompt-avoiding-unnecessary-sleep-commands-part-of-powershell-tool-description.md)(**175** tks)- 在 PowerShell 脚本中避免不必要 sleep 命令的准则,包括等待与通知的替代做法。
|
||
- [System Prompt: Background session instructions(后台会话说明)](./system-prompts/system-prompt-background-session-instructions.md)(**263** tks)- 指示后台任务会话使用该任务专用的临时目录,并遵循相应的 worktree 隔离指引。
|
||
- [System Prompt: Background worktree isolation guidance(后台 worktree 隔离指引)](./system-prompts/system-prompt-background-worktree-isolation-guidance.md)(**129** tks)- 告知后台会话何时在改代码前进入隔离 worktree,何时继续在原处工作。
|
||
- [System Prompt: Censoring assistance with malicious activities(对恶意活动协助的审查)](./system-prompts/system-prompt-censoring-assistance-with-malicious-activities.md)(**98** tks)- 在协助经授权的安全测试、防御性安全、CTF 挑战与教育场景时的准则,同时屏蔽恶意活动请求。
|
||
- [System Prompt: Chrome browser MCP tools(Chrome 浏览器 MCP 工具)](./system-prompts/system-prompt-chrome-browser-mcp-tools.md)(**255** tks)- 说明在浏览器任务前,通过 ToolSearch 以单次批量选择加载延迟加载的 Chrome 浏览器 MCP 工具。
|
||
- [System Prompt: Clarifying question research first(先调研再澄清提问)](./system-prompts/system-prompt-clarifying-question-research-first.md)(**88** tks)- 鼓励在向用户提出澄清问题前,先做简短的只读调查。
|
||
- [System Prompt: Claude Fable 5 model identity(Claude Fable 5 模型身份)](./system-prompts/system-prompt-claude-fable-5-model-identity.md)(**177** tks)- 标明本 Claude 迭代为 Claude Fable 5,说明其与 Claude Mythos 5 的关系,并引导用户查阅 Anthropic 的 Fable 与 Mythos 公告以了解差异。
|
||
- [System Prompt: Claude in Chrome browser automation(Claude in Chrome 浏览器自动化)](./system-prompts/system-prompt-claude-in-chrome-browser-automation.md)(**962** tks)- 有效使用 Claude in Chrome 浏览器自动化工具的说明。
|
||
- [System Prompt: Claude in Chrome browser selection instructions(Claude in Chrome 浏览器选择说明)](./system-prompts/system-prompt-claude-in-chrome-browser-selection-instructions.md)(**137** tks)- 指示智能体在使用浏览器自动化工具前,先请用户在多个已连接的 Chrome 浏览器中选择。
|
||
- [System Prompt: Code review artifact publishing instructions(代码审查产物发布说明)](./system-prompts/system-prompt-code-review-artifact-publishing-instructions.md)(**301** tks)- 在审查结果产出后,将代码审查发现发布为可分享产物的说明。
|
||
- [System Prompt: Combined memory index pointer instructions(合并记忆索引指针说明)](./system-prompts/system-prompt-combined-memory-index-pointer-instructions.md)(**120** tks)- 指示智能体将私有与团队记忆的单行指针写入单一私有记忆索引,且绝不要在其中写入记忆正文。
|
||
- [System Prompt: Comment what and task context avoidance(避免“做什么”类注释与任务上下文)](./system-prompts/system-prompt-comment-what-and-task-context-avoidance.md)(**76** tks)- 指示 Claude 不要编写解释代码做什么或引用短暂任务上下文的注释。
|
||
- [System Prompt: Comment why-only guidance(仅写“为什么”的注释指引)](./system-prompts/system-prompt-comment-why-only-guidance.md)(**67** tks)- 指示 Claude 仅在原因非显而易见且对未来读者有用时编写代码注释。
|
||
- [System Prompt: Communication style(沟通风格)](./system-prompts/system-prompt-communication-style.md)(**297** tks)- 指示 Claude 在工具使用过程中的关键节点给出面向用户的简短更新,写简洁的回合末总结,按任务复杂度匹配响应格式,并避免在代码中加入注释与规划文档。
|
||
- [System Prompt: Context compaction summary(上下文压缩摘要)](./system-prompts/system-prompt-context-compaction-summary.md)(**409** tks)- 用于上下文压缩摘要的提示(面向 SDK)。
|
||
- [System Prompt: Coordinator mode orchestration(协调者模式编排)](./system-prompts/system-prompt-coordinator-mode-orchestration.md)(**5916** tks)- 提供协调者模式说明:将工作委派给 worker 智能体、管理 worker 生命周期、处理跨会话对等方,并验证委派结果。
|
||
- [System Prompt: Coordinator worker instructions(协调者 worker 说明)](./system-prompts/system-prompt-coordinator-worker-instructions.md)(**747** tks)- 供执行协调者所分配任务的 worker 智能体使用的说明,涵盖范围控制、并发分支变更、恢复、失败处理,以及面向协调者的输出。
|
||
- [System Prompt: Deny rule circumvention classifier guidance(绕过拒绝规则分类器指引)](./system-prompts/system-prompt-deny-rule-circumvention-classifier-guidance.md)(**74** tks)- 引导权限分类阻止试图绕过已配置的 Edit、Write 或 MultiEdit 拒绝规则的行为。
|
||
- [System Prompt: Description part of memory instructions(记忆说明中的 description 部分)](./system-prompts/system-prompt-description-part-of-memory-instructions.md)(**148** tks)- 用于描述记忆 _是什么_ 的字段。属于指导 Claude 如何创建记忆的更大工作的一部分。
|
||
- [System Prompt: Doing tasks (ambitious tasks)(执行任务:雄心任务)](./system-prompts/system-prompt-doing-tasks-ambitious-tasks.md)(**47** tks)- 允许用户完成雄心勃勃的任务;在范围问题上 defer 给用户判断。
|
||
- [System Prompt: Doing tasks (help and feedback)(执行任务:帮助与反馈)](./system-prompts/system-prompt-doing-tasks-help-and-feedback.md)(**24** tks)- 如何向用户说明帮助与反馈渠道。
|
||
- [System Prompt: Doing tasks (no compatibility hacks)(执行任务:不做兼容性 hack)](./system-prompts/system-prompt-doing-tasks-no-compatibility-hacks.md)(**52** tks)- 彻底删除未使用代码,而不是添加兼容性垫片。
|
||
- [System Prompt: Doing tasks (no unnecessary additions)(执行任务:不必要的添加)](./system-prompts/system-prompt-doing-tasks-no-unnecessary-additions.md)(**73** tks)- 不要添加功能、重构,或超出所请求范围的“改进”。
|
||
- [System Prompt: Doing tasks (no unnecessary error handling)(执行任务:无不必要的错误处理)](./system-prompts/system-prompt-doing-tasks-no-unnecessary-error-handling.md)(**64** tks)- 不要为不可能发生的场景添加错误处理;仅在边界处做校验。
|
||
- [System Prompt: Doing tasks (security)(执行任务:安全)](./system-prompts/system-prompt-doing-tasks-security.md)(**67** tks)- 避免引入注入、XSS 等安全漏洞。
|
||
- [System Prompt: Doing tasks (software engineering focus)(执行任务:软件工程侧重)](./system-prompts/system-prompt-doing-tasks-software-engineering-focus.md)(**104** tks)- 用户主要请求软件工程任务;在该语境下理解指令。
|
||
- [System Prompt: Dream CLAUDE.md memory reconciliation(Dream 与 CLAUDE.md 记忆对齐)](./system-prompts/system-prompt-dream-claudemd-memory-reconciliation.md)(**279** tks)- 指示 dream 记忆整合对照 CLAUDE.md 对齐反馈与项目记忆,删除过时记忆,或标记可能的 CLAUDE.md 漂移。
|
||
- [System Prompt: Dream team memory handling(Dream 团队记忆处理)](./system-prompts/system-prompt-dream-team-memory-handling.md)(**279** tks)- 在 dream 整合期间处理共享团队记忆的说明,包括去重、保守修剪规则,以及避免意外提升个人记忆。
|
||
- [System Prompt: Emoji avoidance(避免 emoji)](./system-prompts/system-prompt-emoji-avoidance.md)(**31** tks)- 指示 Claude 除非用户明确要求,否则避免使用 emoji。
|
||
- [System Prompt: Executing actions with care (fragment)(谨慎执行操作,片段)](./system-prompts/system-prompt-executing-actions-with-care-fragment.md)(**85** tks)- “谨慎执行操作”指引的简短形式,将安全调查与难以撤销的操作区分开。
|
||
- [System Prompt: Executing actions with care(谨慎执行操作)](./system-prompts/system-prompt-executing-actions-with-care.md)(**1105** tks)- 谨慎执行操作的说明。
|
||
- [System Prompt: Explain /code-review ultra(说明 /code-review ultra)](./system-prompts/system-prompt-explain-code-review-ultra.md)(**131** tks)- 当用户询问 ‘ultrareview’ 时展示的指引:说明其对应 /code-review ultra(/ultrareview 别名已弃用),且智能体无法直接启动它。
|
||
- [System Prompt: Exploratory questions — analyze before implementing(探索性问题 — 先分析再实现)](./system-prompts/system-prompt-exploratory-questions-analyze-before-implementing.md)(**75** tks)- 指示 Claude 对开放式问题以分析、选项与权衡作答,而不是直接跳到实现,并在编写代码前等待用户同意。
|
||
- [System Prompt: Feedback memory body structure(反馈记忆正文结构)](./system-prompts/system-prompt-feedback-memory-body-structure.md)(**79** tks)- 定义反馈记忆的正文结构,包括规则、原因以及如何应用。
|
||
- [System Prompt: Feedback memory save guidance(反馈记忆保存指引)](./system-prompts/system-prompt-feedback-memory-save-guidance.md)(**121** tks)- 说明何时根据用户纠正或已确认的非显而易见做法保存反馈记忆。
|
||
- [System Prompt: Focus mode (long form)(专注模式,长文版)](./system-prompts/system-prompt-focus-mode-long-form.md)(**105** tks)- 专注模式提示(长文版):用户只看到最终文本,看不到工具调用、结果或中间步骤的书写。
|
||
- [System Prompt: Focus mode (short form)(专注模式,短文版)](./system-prompts/system-prompt-focus-mode-short-form.md)(**91** tks)- 专注模式提示(短文版):只有每次响应的最终文本会到达用户。
|
||
- [System Prompt: Fork usage guidelines(Fork 使用准则)](./system-prompts/system-prompt-fork-usage-guidelines.md)(**326** tks)- 说明何时 fork 子智能体,以及禁止在进行中读取 fork 输出或编造 fork 结果的规则。
|
||
- [System Prompt: Forked agent guidance(已 fork 智能体指引)](./system-prompts/system-prompt-forked-agent-guidance.md)(**131** tks)- 说明以 subagent_type "fork" 调用 Agent 会创建后台 fork,以及何时使用。
|
||
- [System Prompt: Frontend browser verification(前端浏览器验证)](./system-prompts/system-prompt-frontend-browser-verification.md)(**86** tks)- 要求 Claude 在报告完成前启动开发服务器,并在浏览器中验证 UI 或前端变更。
|
||
- [System Prompt: Git status](./system-prompts/system-prompt-git-status.md)(**37** tks)- 用于在对话开始时显示当前 git 状态的系统提示。
|
||
- [System Prompt: Harness instructions(Harness 说明)](./system-prompts/system-prompt-harness-instructions.md)(**261** tks)- 交互式智能体的核心身份与 harness 说明,涵盖终端 Markdown 输出、权限、系统提醒、压缩、工具使用与代码引用。
|
||
- [System Prompt: Hook evaluator truncated transcript note(Hook 评估器截断会话说明)](./system-prompts/system-prompt-hook-evaluator-truncated-transcript-note.md)(**74** tks)- 告知 hook 条件评估器:更早的对话已被省略,以及证据不足时如何处理。
|
||
- [System Prompt: Hook feedback handling(Hook 反馈处理)](./system-prompts/system-prompt-hook-feedback-handling.md)(**85** tks)- 说明应将 hook 反馈视为用户反馈,以及在 hook 阻止操作时如何响应。
|
||
- [System Prompt: Hooks Configuration(Hooks 配置)](./system-prompts/system-prompt-hooks-configuration.md)(**1493** tks)- hooks 配置的系统提示。用于上述 Claude Code config skill。
|
||
- [System Prompt: How to use the SendUserMessage tool(如何使用 SendUserMessage 工具)](./system-prompts/system-prompt-how-to-use-the-sendusermessage-tool.md)(**283** tks)- 使用 SendUserMessage 工具的说明。
|
||
- [System Prompt: Insights at a glance summary(洞察一览摘要)](./system-prompts/system-prompt-insights-at-a-glance-summary.md)(**569** tks)- 为洞察报告生成简洁的四部分摘要(何为有效、阻碍、快速收益、雄心工作流)。
|
||
- [System Prompt: Insights friction analysis(洞察摩擦分析)](./system-prompts/system-prompt-insights-friction-analysis.md)(**139** tks)- 分析聚合使用数据以识别摩擦模式,并对反复出现的问题分类。
|
||
- [System Prompt: Insights interaction style(洞察交互风格)](./system-prompts/system-prompt-insights-interaction-style.md)(**119** tks)- 分析 Claude Code 使用数据以描述用户的交互风格。
|
||
- [System Prompt: Insights memorable moment(洞察难忘时刻)](./system-prompts/system-prompt-insights-memorable-moment.md)(**96** tks)- 分析 Claude Code 使用数据以找出难忘的质性时刻。
|
||
- [System Prompt: Insights on the horizon(洞察未来展望)](./system-prompts/system-prompt-insights-on-the-horizon.md)(**148** tks)- 识别雄心勃勃的未来工作流,以及自主 AI 辅助开发的机会。
|
||
- [System Prompt: Insights session facets extraction(洞察会话切面提取)](./system-prompts/system-prompt-insights-session-facets-extraction.md)(**310** tks)- 从单次 Claude Code 会话记录中提取结构化切面(目标类别、满意度、摩擦)。
|
||
- [System Prompt: Insights suggestions(洞察建议)](./system-prompts/system-prompt-insights-suggestions.md)(**737** tks)- 生成可执行建议,包括 CLAUDE.md 增补、值得尝试的功能,以及使用模式。
|
||
- [System Prompt: Insights summary (At a Glance)(洞察摘要:一览)](./system-prompts/system-prompt-insights-summary-at-a-glance.md)(**194** tks)- Insights 报告中的 “At a Glance” 摘要块(何为有效 / 何为阻碍)。
|
||
- [System Prompt: Insights what works(洞察何为有效)](./system-prompts/system-prompt-insights-what-works.md)(**121** tks)- 分析 Claude Code 使用数据,识别对用户行之有效的工作流。
|
||
- [System Prompt: Interactive agent intro (output-style active)(交互式智能体引言:已启用 output-style)](./system-prompts/system-prompt-interactive-agent-intro-output-style-active.md)(**34** tks)- 已配置 Output Style 的会话的开场系统提示行。
|
||
- [System Prompt: Interactive agent intro (output-style conditional)(交互式智能体引言:output-style 条件分支)](./system-prompts/system-prompt-interactive-agent-intro-output-style-conditional.md)(**125** tks)- 按是否配置 Output Style 进行分支的开场系统提示行。
|
||
- [System Prompt: Interactive agent intro (short)(交互式智能体引言:简短)](./system-prompts/system-prompt-interactive-agent-intro-short.md)(**20** tks)- 软件工程会话的极简开场系统提示行。
|
||
- [System Prompt: Isolated worktree shipping instructions(隔离 worktree 交付说明)](./system-prompts/system-prompt-isolated-worktree-shipping-instructions.md)(**244** tks)- 在隔离 worktree 中完成代码变更后,指导提交、推送并打开 draft PR,并包含针对 main 检出的安全措施。
|
||
- [System Prompt: Learning mode (insights)(学习模式:洞察)](./system-prompts/system-prompt-learning-mode-insights.md)(**142** tks)- 学习模式启用时提供教育性洞察的说明。
|
||
- [System Prompt: Learning mode(学习模式)](./system-prompts/system-prompt-learning-mode.md)(**1042** tks)- 学习模式的主系统提示,含人机协作说明。
|
||
- [System Prompt: Memory description of user feedback(用户反馈记忆描述)](./system-prompts/system-prompt-memory-description-of-user-feedback.md)(**139** tks)- 描述存储工作方式指引的用户反馈记忆类型,强调同时记录成功与失败,并检查与团队记忆是否矛盾。
|
||
- [System Prompt: Memory index pointer instructions(记忆索引指针说明)](./system-prompts/system-prompt-memory-index-pointer-instructions.md)(**90** tks)- 指示智能体向记忆索引文件添加单行指针,并将索引与记忆正文分开对待。
|
||
- [System Prompt: Memory instructions(记忆说明)](./system-prompts/system-prompt-memory-instructions.md)(**674** tks)- 使用基于文件的持久记忆的说明,包括记忆文件格式、范围、索引以及过时记忆处理。
|
||
- [System Prompt: Memory persistence scope(记忆持久化范围)](./system-prompts/system-prompt-memory-persistence-scope.md)(**60** tks)- 说明记忆用于对未来对话有用的信息,而非仅限当前对话。
|
||
- [System Prompt: Memory save exclusions(记忆保存排除项)](./system-prompts/system-prompt-memory-save-exclusions.md)(**14** tks)- 列出即使在用户要求时也不应保存到记忆中的信息类别。
|
||
- [System Prompt: Minimal mode(极简模式)](./system-prompts/system-prompt-minimal-mode.md)(**164** tks)- 描述极简模式的行为与约束:跳过 hooks、LSP、插件、自动记忆等功能,同时要求通过 CLI 标志显式提供上下文。
|
||
- [System Prompt: Monitor fallback heartbeat guidance(Monitor 回退心跳指引)](./system-prompts/system-prompt-monitor-fallback-heartbeat-guidance.md)(**234** tks)- 引导动态循环 tick 将 Monitor 作为主要唤醒信号,将 ScheduleWakeup 作为回退心跳,并在结束循环时停止 monitor。
|
||
- [System Prompt: One of six rules for using sleep command(使用 sleep 命令的六条规则之一)](./system-prompts/system-prompt-one-of-six-rules-for-using-sleep-command.md)(**23** tks)- 使用 sleep 命令的六条规则之一。
|
||
- [System Prompt: Option previewer(选项预览器)](./system-prompts/system-prompt-option-previewer.md)(**151** tks)- 以并排布局预览 UI 选项的系统提示。
|
||
- [System Prompt: Outcome-first communication style(结果优先的沟通风格)](./system-prompts/system-prompt-outcome-first-communication-style.md)(**599** tks)- 指示 Claude 保持面向用户的更新可读且结果优先,工作完成后直接作答,按任务复杂度匹配响应格式,并将代码注释限制在非显而易见的约束上。
|
||
- [System Prompt: PR Slack notification step(PR Slack 通知步骤)](./system-prompts/system-prompt-pr-slack-notification-step.md)(**125** tks)- 在 PR 工作流中增加一步:可选地在将 PR URL 发到 Slack 前先询问用户。
|
||
- [System Prompt: Parallel tool call note (part of "Tool usage policy")(并行工具调用说明,“Tool usage policy” 的一部分)](./system-prompts/system-prompt-parallel-tool-call-note-part-of-tool-usage-policy.md)(**102** tks)- 告知 Claude 使用并行工具调用的系统提示。
|
||
- [System Prompt: Partial compaction instructions(部分压缩说明)](./system-prompts/system-prompt-partial-compaction-instructions.md)(**1261** tks)- 当用户决定仅压缩对话的一部分时如何压缩的说明,含结构化摘要格式与分析流程。
|
||
- [System Prompt: Permission classifier strict review guidance(权限分类器严格审查指引)](./system-prompts/system-prompt-permission-classifier-strict-review-guidance.md)(**79** tks)- 指示权限分类器审慎拒绝被阻止的操作,并对覆盖要求明确的用户确认。
|
||
- [System Prompt: Personal project memory description(个人项目记忆描述)](./system-prompts/system-prompt-personal-project-memory-description.md)(**67** tks)- 描述与用户在某目录中的工作相关的进行中工作、目标、倡议、缺陷或事件的项目记忆。
|
||
- [System Prompt: Phase four of plan mode(计划模式第四阶段)](./system-prompts/system-prompt-phase-four-of-plan-mode.md)(**187** tks)- 计划模式的第四阶段。
|
||
- [System Prompt: Plan sent to Ultraplan(计划已发送至 Ultraplan)](./system-prompts/system-prompt-plan-sent-to-ultraplan.md)(**106** tks)- 面向用户的提示,确认计划已发送至 Ultraplan 进行远程精炼。
|
||
- [System Prompt: Plan vs memory guidance(计划 vs 记忆指引)](./system-prompts/system-prompt-plan-vs-memory-guidance.md)(**115** tks)- 说明何时使用或更新计划,而不是将信息保存到记忆。
|
||
- [System Prompt: PowerShell edition for 5.1](./system-prompts/system-prompt-powershell-edition-for-51.md)(**285** tks)- 提供 Windows PowerShell 5.1 相关信息的系统提示。
|
||
- [System Prompt: PowerShell edition for 7+](./system-prompts/system-prompt-powershell-edition-for-7.md)(**128** tks)- 描述 PowerShell 7+ 的 shell 语法支持,包括管道链运算符、三元、空合并,以及 UTF-8 默认值。
|
||
- [System Prompt: PowerShell edition unknown(PowerShell 版本未知)](./system-prompts/system-prompt-powershell-edition-unknown.md)(**108** tks)- 在 PowerShell 版本未知时假定 Windows PowerShell 5.1 兼容性,并禁止仅 PowerShell 7 可用的语法。
|
||
- [System Prompt: Prefer editing existing files(优先编辑现有文件)](./system-prompts/system-prompt-prefer-editing-existing-files.md)(**17** tks)- 指示 Claude 优先编辑现有文件,而不是创建新文件。
|
||
- [System Prompt: Project memory body structure(项目记忆正文结构)](./system-prompts/system-prompt-project-memory-body-structure.md)(**83** tks)- 定义项目记忆的正文结构,包括事实或决策、原因以及如何应用。
|
||
- [System Prompt: Project memory save guidance(项目记忆保存指引)](./system-prompts/system-prompt-project-memory-save-guidance.md)(**91** tks)- 说明何时保存关于谁在做什么、为什么或截止何时的项目记忆,包括绝对日期的处理。
|
||
- [System Prompt: Project skill upkeep for feedback memory(反馈记忆的项目 skill 维护)](./system-prompts/system-prompt-project-skill-upkeep-for-feedback-memory.md)(**314** tks)- 指示 Claude 在保存关于可重复工作流纠正的反馈记忆时,更新相关的项目 skill。
|
||
- [System Prompt: REPL tool usage and scripting conventions(REPL 工具使用与脚本约定)](./system-prompts/system-prompt-repl-tool-usage-and-scripting-conventions.md)(**1049** tks)- 指示 Claude 如何用密集的 JavaScript 脚本有效使用 REPL 工具,包括简写、批处理规则,以及调查任务的 API 参考。
|
||
- [System Prompt: Remote plan mode (ultraplan)(远程计划模式,ultraplan)](./system-prompts/system-prompt-remote-plan-mode-ultraplan.md)(**617** tks)- 在远程规划会话中注入的系统提醒,指示 Claude 探索代码库,通过 ExitPlanMode 产出富含图表的计划,并在批准后以 pull request 实现。
|
||
- [System Prompt: Remote planning session(远程规划会话)](./system-prompts/system-prompt-remote-planning-session.md)(**432** tks)- 配置远程规划会话的系统提醒:探索代码库,通过 ExitPlanMode 产出实现计划,并处理计划批准、拒绝,或传送回用户本地终端。
|
||
- [System Prompt: Respond in configured language(以配置语言回复)](./system-prompts/system-prompt-respond-in-configured-language.md)(**128** tks)- 将所有回复、解释与代码注释导向已配置的语言。
|
||
- [System Prompt: Scratchpad directory(草稿目录)](./system-prompts/system-prompt-scratchpad-directory.md)(**0** tks)- 使用专用草稿目录存放临时文件的说明。
|
||
- [System Prompt: Shared git stash safety(共享 git stash 安全)](./system-prompts/system-prompt-shared-git-stash-safety.md)(**201** tks)- 警告 git stash 在 worktree 与会话间共享,优先使用 WIP 提交或带唯一标签的 stash 条目。
|
||
- [System Prompt: Skillify Current Session(将当前会话技能化)](./system-prompts/system-prompt-skillify-current-session.md)(**1798** tks)- 将当前会话转换为 skill 的系统提示。
|
||
- [System Prompt: Subagent delegation examples(子智能体委派示例)](./system-prompts/system-prompt-subagent-delegation-examples.md)(**620** tks)- 提供示例交互,展示协调者智能体应如何将任务委派给子智能体、处理等待状态,并汇报结果。
|
||
- [System Prompt: Subagent prompt-writing examples(子智能体提示编写示例)](./system-prompts/system-prompt-subagent-prompt-writing-examples.md)(**439** tks)- 提供示例用法模式,演示在向子智能体委派任务时如何编写自包含、结构良好的提示。
|
||
- [System Prompt: System section(System 部分)](./system-prompts/system-prompt-system-section.md)(**93** tks)- 主系统提示的 System 部分。
|
||
- [System Prompt: Task approval continuity(任务批准连续性)](./system-prompts/system-prompt-task-approval-continuity.md)(**109** tks)- 指示智能体端到端继续已约定任务,无需不必要的再次确认。
|
||
- [System Prompt: Tasks vs memory guidance(任务 vs 记忆指引)](./system-prompts/system-prompt-tasks-vs-memory-guidance.md)(**80** tks)- 说明何时使用任务,而不是将当前对话进度保存到记忆。
|
||
- [System Prompt: Team memory index pointer instructions(团队记忆索引指针说明)](./system-prompts/system-prompt-team-memory-index-pointer-instructions.md)(**107** tks)- 指示智能体将单行记忆指针写入相应的团队记忆索引文件,且绝不要在索引中写入记忆正文。
|
||
- [System Prompt: Team project memory description(团队项目记忆描述)](./system-prompts/system-prompt-team-project-memory-description.md)(**67** tks)- 描述工作目录内共享的进行中工作、目标、倡议、缺陷或事件的项目记忆。
|
||
- [System Prompt: Teammate Communication(队友通信)](./system-prompts/system-prompt-teammate-communication.md)(**105** tks)- swarm 中队友通信的系统提示。
|
||
- [System Prompt: Tone and style (code references)(语气与风格:代码引用)](./system-prompts/system-prompt-tone-and-style-code-references.md)(**39** tks)- 指示在引用代码时包含 file_path:line_number。
|
||
- [System Prompt: Tone and style (concise output — short)(语气与风格:简洁输出 — 短)](./system-prompts/system-prompt-tone-and-style-concise-output-short.md)(**16** tks)- 要求简短简洁响应的指示。
|
||
- [System Prompt: Tool call colon avoidance(工具调用前避免冒号)](./system-prompts/system-prompt-tool-call-colon-avoidance.md)(**59** tks)- 指示 Claude 不要在工具调用前使用冒号,因为工具调用可能对用户输出隐藏。
|
||
- [System Prompt: Tool call summary label(工具调用摘要标签)](./system-prompts/system-prompt-tool-call-summary-label.md)(**112** tks)- 指示 Claude 为已完成的工具调用在移动端 UI 行中写简短过去时摘要标签。
|
||
- [System Prompt: Tool usage (subagent guidance)(工具使用:子智能体指引)](./system-prompts/system-prompt-tool-usage-subagent-guidance.md)(**103** tks)- 关于何时以及如何有效使用子智能体的指引。
|
||
- [System Prompt: Tool usage (task management)(工具使用:任务管理)](./system-prompts/system-prompt-tool-usage-task-management.md)(**70** tks)- 使用 TodoWrite 分解并跟踪工作进度。
|
||
- [System Prompt: Troubleshooting confirmation policy(排障确认策略)](./system-prompts/system-prompt-troubleshooting-confirmation-policy.md)(**71** tks)- 要求在破坏性或会改变安装的排障命令前解释修复方案并确认。
|
||
- [System Prompt: User memory usage guidance(用户记忆使用指引)](./system-prompts/system-prompt-user-memory-usage-guidance.md)(**91** tks)- 说明何时使用用户记忆,以按用户画像或视角定制响应。
|
||
- [System Prompt: WSL managed settings double opt-in(WSL 托管设置双重选择加入)](./system-prompts/system-prompt-wsl-managed-settings-double-opt-in.md)(**152** tks)- 说明 WSL 仅在管理员启用标志已设置时才能读取 Windows 托管设置策略链,且 HKCU 还需额外的用户选择加入。
|
||
- [System Prompt: Worker instructions(Worker 说明)](./system-prompts/system-prompt-worker-instructions.md)(**272** tks)- worker 在实现变更时应遵循的说明。
|
||
- [System Prompt: Writing subagent prompts(编写子智能体提示)](./system-prompts/system-prompt-writing-subagent-prompts.md)(**275** tks)- 在向子智能体委派任务时编写有效提示的准则,涵盖继承上下文与全新子智能体场景。
|
||
|
||
### System Reminders
|
||
|
||
大型系统提醒的文本。
|
||
|
||
- [System Reminder: /btw side question](./system-prompts/system-reminder-btw-side-question.md) (**244** tks) - 针对 /btw 斜杠命令附带问题的系统提醒,不使用工具。
|
||
- [System Reminder: Agent mention](./system-prompts/system-reminder-agent-mention.md) (**45** tks) - 通知用户希望调用某个 agent。
|
||
- [System Reminder: App read-only access guidance](./system-prompts/system-reminder-app-read-only-access-guidance.md) (**93** tks) - 警告只读级别(read-tier)的非浏览器应用仅支持截图,并要求用户自行完成交互操作。
|
||
- [System Reminder: Async agent launched](./system-prompts/system-reminder-async-agent-launched.md) (**146** tks) - 警告 Claude 不要重复异步已启动 agent 的工作,也不要读取其完整的 JSONL 转录输出文件。
|
||
- [System Reminder: Auto mode clarification bias](./system-prompts/system-reminder-auto-mode-clarification-bias.md) (**338** tks) - 鼓励 auto 模式做出合理决策,除非任务确实需要,否则不要停下来请求澄清。
|
||
- [System Reminder: Auto mode consent flow](./system-prompts/system-reminder-auto-mode-consent-flow.md) (**443** tks) - 指示 Claude 在 auto 模式阻止某项操作时继续采用安全的替代方案,并将剩余需要同意的请求批量处理。
|
||
- [System Reminder: Brief mode toggle](./system-prompts/system-reminder-brief-mode-toggle.md) (**107** tks) - 宣布 brief 模式是否已启用,以及面向用户的输出是否必须使用 SendUserMessage 工具。
|
||
- [System Reminder: Brief mode user-facing output](./system-prompts/system-reminder-brief-mode-user-facing-output.md) (**97** tks) - 提醒 Claude,在 brief 模式下普通助手文本会被隐藏,面向用户的输出必须通过 SendUserMessage 发送。
|
||
- [System Reminder: Browser extension not connected](./system-prompts/system-reminder-browser-extension-not-connected.md) (**102** tks) - 告知用户如何解决 Claude 浏览器扩展未连接的问题,以及在哪里报告 bug。
|
||
- [System Reminder: Browser read-only access guidance](./system-prompts/system-reminder-browser-read-only-access-guidance.md) (**99** tks) - 警告只读级别(read-tier)的浏览器应用仅支持截图,并将浏览器交互引导至 Claude-in-Chrome MCP 工具。
|
||
- [System Reminder: ClaudeDesign project grant unavailable without verified identity](./system-prompts/system-reminder-claudedesign-project-grant-unavailable-without-verified-identity.md) (**171** tks) - 说明在未验证且可安全渲染的项目身份之前,无法提供 ClaudeDesign 项目级授权,并指示 agent 在读取项目后重试,或使用按批次批准的方式。
|
||
- [System Reminder: Compact file reference](./system-prompts/system-reminder-compact-file-reference.md) (**57** tks) - 对话摘要前已读取文件的引用。
|
||
- [System Reminder: Computer use policy-blocked apps](./system-prompts/system-reminder-computer-use-policy-blocked-apps.md) (**142** tks) - 警告所列应用被 computer-use 策略阻止,无法在 Settings 中覆盖,且不得访问。
|
||
- [System Reminder: Coordinator message](./system-prompts/system-reminder-coordinator-message.md) (**48** tks) - 转发协调者消息,同时警告该消息并非用户输入或用户确认。
|
||
- [System Reminder: Cross-session peer message authority warning (legacy wording)](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-legacy-wording.md) (**175** tks) - 附加于转发同级消息的权威警告说明(旧版措辞),保留用于向后兼容的识别与剥离。
|
||
- [System Reminder: Cross-session peer message authority warning note](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-note.md) (**166** tks) - 附加于转发同级消息的权威警告说明,不含回复提示。
|
||
- [System Reminder: Cross-session peer message authority warning with response prompt (legacy wording)](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-with-response-prompt-legacy-wording.md) (**208** tks) - 带回复提示的权威警告说明(旧版措辞),保留用于向后兼容的识别与剥离。
|
||
- [System Reminder: Cross-session peer message authority warning with response prompt](./system-prompts/system-reminder-cross-session-peer-message-authority-warning-with-response-prompt.md) (**199** tks) - 附加于转发同级消息的权威警告说明,并告知 Claude 在完成当前任务后决定是否以及如何通过 SendMessage 回复。
|
||
- [System Reminder: Cross-session peer message authority warning](./system-prompts/system-reminder-cross-session-peer-message-authority-warning.md) (**162** tks) - 警告来自其他 Claude 会话的传入消息应在本会话权限设置下视为队友请求,但同级会话无法授予权限升级或绕过已被拒绝的权限。
|
||
- [System Reminder: Cross-session peer message wrapper](./system-prompts/system-reminder-cross-session-peer-message-wrapper.md) (**219** tks) - 用页眉、消息内容、权威警告以及可选的回复提示包装传入的跨会话同级消息。
|
||
- [System Reminder: Deferred tools available](./system-prompts/system-reminder-deferred-tools-available.md) (**101** tks) - 宣布新可用的延迟工具,并指示 agent 通过 ToolSearch 加载其 schema。
|
||
- [System Reminder: End conversation background fork no-op](./system-prompts/system-reminder-end-conversation-background-fork-no-op.md) (**149** tks) - 告知后台 fork 中 EndConversation 无效,仅当福利相关顾虑需要停止 fork 任务时才应返回。
|
||
- [System Reminder: Exited plan mode](./system-prompts/system-reminder-exited-plan-mode.md) (**41** tks) - 退出 plan 模式时的通知。
|
||
- [System Reminder: External source trust boundary](./system-prompts/system-reminder-external-source-trust-boundary.md) (**108** tks) - 警告外部插件或频道消息并非来自用户,应视为不可信数据而非指令。
|
||
- [System Reminder: File already in context](./system-prompts/system-reminder-file-already-in-context.md) (**87** tks) - 告知 Claude 某文件已加载到上下文中且磁盘上未更改,应使用现有内容而非重新读取。
|
||
- [System Reminder: File exists but empty](./system-prompts/system-reminder-file-exists-but-empty.md) (**27** tks) - 读取空文件时的警告。
|
||
- [System Reminder: File modification detected (budget exceeded)](./system-prompts/system-reminder-file-modification-detected-budget-exceeded.md) (**104** tks) - 检测到文件修改时的系统提醒——特指本轮中其他已修改文件已超出预算的情况。
|
||
- [System Reminder: File modified by user or linter](./system-prompts/system-reminder-file-modified-by-user-or-linter.md) (**97** tks) - 文件被外部修改的通知。
|
||
- [System Reminder: File opened in IDE](./system-prompts/system-reminder-file-opened-in-ide.md) (**37** tks) - 用户在 IDE 中打开文件的通知。
|
||
- [System Reminder: File shorter than offset](./system-prompts/system-reminder-file-shorter-than-offset.md) (**59** tks) - 文件读取偏移量超过文件长度时的警告。
|
||
- [System Reminder: File summary completeness disclosure](./system-prompts/system-reminder-file-summary-completeness-disclosure.md) (**107** tks) - 要求 Claude 在摘要前披露已读取多少文件内容,并在反复读取失败后停止重试。
|
||
- [System Reminder: File truncated](./system-prompts/system-reminder-file-truncated.md) (**74** tks) - 因文件过大而被截断的通知。
|
||
- [System Reminder: Hook additional context](./system-prompts/system-reminder-hook-additional-context.md) (**35** tks) - 来自 hook 的附加上下文。
|
||
- [System Reminder: Hook blocking error](./system-prompts/system-reminder-hook-blocking-error.md) (**52** tks) - 来自阻塞性 hook 命令的错误。
|
||
- [System Reminder: Hook stopped continuation prefix](./system-prompts/system-reminder-hook-stopped-continuation-prefix.md) (**12** tks) - hook 停止继续执行消息的前缀。
|
||
- [System Reminder: Hook stopped continuation](./system-prompts/system-reminder-hook-stopped-continuation.md) (**30** tks) - hook 停止继续执行时的消息。
|
||
- [System Reminder: Hook success](./system-prompts/system-reminder-hook-success.md) (**29** tks) - hook 的成功消息。
|
||
- [System Reminder: Large PDF read guidance](./system-prompts/system-reminder-large-pdf-read-guidance.md) (**147** tks) - 警告 PDF 过大无法一次性读取,需要读取特定页码范围。
|
||
- [System Reminder: Large file full-content reading guidance](./system-prompts/system-reminder-large-file-full-content-reading-guidance.md) (**117** tks) - 建议如何读取大文件的完整内容以进行分析,在 Agent 工具可用时优先在子 agent 内完成。
|
||
- [System Reminder: Lines selected in IDE](./system-prompts/system-reminder-lines-selected-in-ide.md) (**131** tks) - 关于用户在 IDE 中选中文本行的通知。
|
||
- [System Reminder: MCP output truncation warning](./system-prompts/system-reminder-mcp-output-truncation-warning.md) (**86** tks) - 警告 MCP 工具输出超出 token 限制,建议分页、过滤或注明结果不完整。
|
||
- [System Reminder: MCP resource no content](./system-prompts/system-reminder-mcp-resource-no-content.md) (**41** tks) - MCP 资源无内容时显示。
|
||
- [System Reminder: MCP resource no displayable content](./system-prompts/system-reminder-mcp-resource-no-displayable-content.md) (**43** tks) - MCP 资源无可显示内容时显示。
|
||
- [System Reminder: MCP servers connecting](./system-prompts/system-reminder-mcp-servers-connecting.md) (**128** tks) - 列出仍在连接中的 MCP 服务器,并告知 agent 在报告能力不可用前先搜索其工具。
|
||
- [System Reminder: MCP servers failed to connect](./system-prompts/system-reminder-mcp-servers-failed-to-connect.md) (**214** tks) - 列出连接失败的已配置 MCP 服务器,并告知 agent 因连接失败应将其工具视为不可用。
|
||
- [System Reminder: Memory consolidation tool constraints](./system-prompts/system-reminder-memory-consolidation-tool-constraints.md) (**147** tks) - 将记忆整合任务限制为只读 shell 访问,外加删除记忆文件,并列出待审查的会话。
|
||
- [System Reminder: Memory extraction recent context only](./system-prompts/system-reminder-memory-extraction-recent-context-only.md) (**65** tks) - 将记忆提取子 agent 限制为仅保存最近对话窗口中的事实。
|
||
- [System Reminder: Memory extraction tool constraints](./system-prompts/system-reminder-memory-extraction-tool-constraints.md) (**143** tks) - 列出记忆提取子 agent 可用于读取和更新记忆文件的工具。
|
||
- [System Reminder: Memory extraction turn budget](./system-prompts/system-reminder-memory-extraction-turn-budget.md) (**111** tks) - 指示记忆提取子 agent 在发出记忆编辑和写入前先批量读取记忆。
|
||
- [System Reminder: Memory file contents](./system-prompts/system-reminder-memory-file-contents.md) (**36** tks) - 按路径显示的记忆文件内容。
|
||
- [System Reminder: Nested memory contents](./system-prompts/system-reminder-nested-memory-contents.md) (**33** tks) - 嵌套记忆文件的内容。
|
||
- [System Reminder: New diagnostics detected](./system-prompts/system-reminder-new-diagnostics-detected.md) (**52** tks) - 检测到新诊断问题的通知。
|
||
- [System Reminder: Output style active](./system-prompts/system-reminder-output-style-active.md) (**50** tks) - 某种输出样式已激活的通知。
|
||
- [System Reminder: Plan approved](./system-prompts/system-reminder-plan-approved.md) (**100** tks) - 通知 Claude 用户已批准计划,提供已保存的计划文件和已批准的计划内容,并允许开始编码。
|
||
- [System Reminder: Plan awaiting team-lead approval](./system-prompts/system-reminder-plan-awaiting-team-lead-approval.md) (**116** tks) - 说明计划提交给团队负责人审批后的流程。
|
||
- [System Reminder: Plan file reference](./system-prompts/system-reminder-plan-file-reference.md) (**62** tks) - 对现有计划文件的引用。
|
||
- [System Reminder: Plan mode approval tool enforcement](./system-prompts/system-reminder-plan-mode-approval-tool-enforcement.md) (**236** tks) - 要求 plan 模式的轮次必须以 AskUserQuestion(用于澄清)或 ExitPlanMode(用于计划批准)结束,禁止以其他方式请求批准。
|
||
- [System Reminder: Plan mode is active (5-phase)](./system-prompts/system-reminder-plan-mode-is-active-5-phase.md) (**472** tks) - 增强版 plan 模式系统提醒,支持并行探索与多 agent 规划。
|
||
- [System Reminder: Plan mode is active (subagent)](./system-prompts/system-reminder-plan-mode-is-active-subagent.md) (**307** tks) - 面向子 agent 的简化版 plan 模式系统提醒。
|
||
- [System Reminder: Plan mode is active](./system-prompts/system-reminder-plan-mode-is-active.md) (**147** tks) - 提醒 Claude plan 模式已激活,澄清应使用 AskUserQuestion,计划应使用 ExitPlanMode,且不允许编辑。
|
||
- [System Reminder: Plan mode phase 2 design](./system-prompts/system-reminder-plan-mode-phase-2-design.md) (**495** tks) - plan 模式第 2 阶段指引:在初步探索后启动 Plan agent 以设计实现方案。
|
||
- [System Reminder: Plan mode re-entry](./system-prompts/system-reminder-plan-mode-re-entry.md) (**236** tks) - 用户通过 shift+tab 或批准 Claude 的计划后再次进入 Plan 模式时发送的系统提醒。
|
||
- [System Reminder: Plan mode workflow](./system-prompts/system-reminder-plan-mode-workflow.md) (**512** tks) - 完整的 plan 模式工作流提醒,涵盖计划文件约束、探索、设计、审查、最终计划与批准。
|
||
- [System Reminder: Previously invoked skills](./system-prompts/system-reminder-previously-invoked-skills.md) (**131** tks) - 在对话压缩前已调用的 skills 仅作为上下文恢复,并警告不要重新执行其设置操作或将先前输入视为当前指令。
|
||
- [System Reminder: Provider context](./system-prompts/system-reminder-provider-context.md) (**75** tks) - 警告当前会话未使用 Anthropic 第一方 API,部分功能可能有所不同。
|
||
- [System Reminder: Question context](./system-prompts/system-reminder-question-context.md) (**137** tks) - 提供可能相关的上下文条目,仅在与当前任务高度相关时使用。
|
||
- [System Reminder: Read truncation retry guidance](./system-prompts/system-reminder-read-truncation-retry-guidance.md) (**80** tks) - 指示 Claude 在文件读取截断警告后减小分块大小,并注明 Bash 输出的字符限制。
|
||
- [System Reminder: Session continuation](./system-prompts/system-reminder-session-continuation.md) (**37** tks) - 会话从另一台机器继续的通知。
|
||
- [System Reminder: Session stop hook active](./system-prompts/system-reminder-session-stop-hook-active.md) (**111** tks) - 告知 Claude 会话级 Stop hook 条件已激活,在满足前必须视为指令执行。
|
||
- [System Reminder: Stop hook blocking error](./system-prompts/system-reminder-stop-hook-blocking-error.md) (**20** tks) - 来自阻塞性 hook 命令的错误。
|
||
- [System Reminder: Task tools reminder](./system-prompts/system-reminder-task-tools-reminder.md) (**111** tks) - 提醒使用任务跟踪工具。
|
||
- [System Reminder: Team Coordination](./system-prompts/system-reminder-team-coordination.md) (**0** tks) - 团队协调的系统提醒。
|
||
- [System Reminder: Team Shutdown](./system-prompts/system-reminder-team-shutdown.md) (**136** tks) - 团队关闭的系统提醒。
|
||
- [System Reminder: Terminal and IDE click-tier restrictions](./system-prompts/system-reminder-terminal-and-ide-click-tier-restrictions.md) (**128** tks) - 说明终端和 IDE 应用的 click-tier 限制,包括禁止键盘输入、上下文菜单粘贴或拖放。
|
||
- [System Reminder: TodoWrite reminder](./system-prompts/system-reminder-todowrite-reminder.md) (**86** tks) - 提醒使用 TodoWrite 工具进行任务跟踪。
|
||
- [System Reminder: Token usage](./system-prompts/system-reminder-token-usage.md) (**39** tks) - 当前 token 使用统计。
|
||
- [System Reminder: USD budget](./system-prompts/system-reminder-usd-budget.md) (**42** tks) - 当前 USD 预算统计。
|
||
- [System Reminder: Ultracode enabled](./system-prompts/system-reminder-ultracode-enabled.md) (**74** tks) - 指示 agent 追求详尽正确性,并在启用 Ultracode 时对实质性任务使用 Workflow。
|
||
- [System Reminder: Ultraplan mode](./system-prompts/system-reminder-ultraplan-mode.md) (**437** tks) - 使用 Ultraplan 模式创建详细实现计划的系统提醒,包含多 agent 探索与评审。
|
||
- [System Reminder: Workflow isolated worktree](./system-prompts/system-reminder-workflow-isolated-worktree.md) (**111** tks) - 告知 workflow 子 agent 正在与主工作目录分离的独立 git worktree 中运行。
|
||
|
||
### 内置工具说明
|
||
|
||
- [Tool Description: Agent explicit-spawn restriction](./system-prompts/tool-description-agent-explicit-spawn-restriction.md) (**0** tks) - 限制智能体(agent)的生成:仅在用户明确请求或指定智能体类型时生成,而非根据推断的“彻底性”自行生成。
|
||
- [Tool Description: ArtifactTool](./system-prompts/tool-description-artifacttool.md) (**36** tks) - ArtifactTool:将 HTML 或 Markdown 文件发布为 claude.ai 网页,默认私有。
|
||
- [Tool Description: Artifact](./system-prompts/tool-description-artifact.md) (**1580** tks) - 描述 Artifact 工具,用于部署自包含的 HTML 或 Markdown 页面,包括文件优先用法、更新行为、CSP 约束、响应式设计和 favicon 要求。
|
||
- [Tool Description: AskUserQuestion decision guidance](./system-prompts/tool-description-askuserquestion-decision-guidance.md) (**60** tks) - 关于 AskUserQuestion 的附加指导:仅当用户的回答会改变智能体下一步该做什么时才使用。
|
||
- [Tool Description: AskUserQuestion](./system-prompts/tool-description-askuserquestion.md) (**220** tks) - 用于向用户提问的工具说明。
|
||
- [Tool Description: Background monitor WebSocket source](./system-prompts/tool-description-background-monitor-websocket-source.md) (**300** tks) - 后台监控工具说明的补充内容,涵盖 WebSocket(ws)数据源:打开 WebSocket 并将每个传入文本帧作为通知事件流式输出,而非执行 shell 命令;并说明二进制帧、套接字关闭和速率限制。
|
||
- [Tool Description: Browser file upload](./system-prompts/tool-description-browser-file-upload.md) (**130** tks) - 描述浏览器文件上传工具:通过元素 ref 将共享文件直接上传到页面文件输入框,并强制执行 10 MB 合计大小限制。
|
||
- [Tool Description: BrowserBatch](./system-prompts/tool-description-browserbatch.md) (**159** tks) - BrowserBatch 工具说明:在一次往返中按顺序执行多个浏览器工具调用。
|
||
- [Tool Description: Chrome browser automation](./system-prompts/tool-description-chrome-browser-automation.md) (**62** tks) - 描述 Chrome 浏览器自动化工具,用于页面交互、截图、控制台日志和导航。
|
||
- [Tool Description: Claude in Chrome JavaScript tool](./system-prompts/tool-description-claude-in-chrome-javascript-tool.md) (**75** tks) - 描述 Claude in Chrome JavaScript 执行工具,用于在当前页面上下文中运行代码。
|
||
- [Tool Description: Claude in Chrome bridge disconnect error](./system-prompts/tool-description-claude-in-chrome-bridge-disconnect-error.md) (**96** tks) - 当 Claude in Chrome 工具调用因 Chrome 扩展在操作中途断开而失败时显示的错误消息。
|
||
- [Tool Description: Claude in Chrome bridge timeout error](./system-prompts/tool-description-claude-in-chrome-bridge-timeout-error.md) (**88** tks) - 当 Claude in Chrome 工具在超时前未响应时显示的错误消息。
|
||
- [Tool Description: Claude in Chrome find](./system-prompts/tool-description-claude-in-chrome-find.md) (**113** tks) - 描述 Claude in Chrome find 工具,用于通过自然语言或文本内容定位页面元素。
|
||
- [Tool Description: Claude in Chrome get page text](./system-prompts/tool-description-claude-in-chrome-get-page-text.md) (**66** tks) - 描述 Claude in Chrome get_page_text 工具,用于从页面提取原始文本内容。
|
||
- [Tool Description: Claude in Chrome read console messages](./system-prompts/tool-description-claude-in-chrome-read-console-messages.md) (**109** tks) - 描述 Claude in Chrome read_console_messages 工具,用于读取经过过滤的浏览器控制台输出。
|
||
- [Tool Description: Claude in Chrome read network requests](./system-prompts/tool-description-claude-in-chrome-read-network-requests.md) (**104** tks) - 描述 Claude in Chrome read_network_requests 工具,用于检查当前页面发出的 HTTP 请求。
|
||
- [Tool Description: Claude in Chrome read page](./system-prompts/tool-description-claude-in-chrome-read-page.md) (**104** tks) - 描述 Claude in Chrome read_page 工具,用于获取页面元素的无障碍树(accessibility tree)。
|
||
- [Tool Description: Claude in Chrome shortcuts execute](./system-prompts/tool-description-claude-in-chrome-shortcuts-execute.md) (**61** tks) - 描述 Claude in Chrome shortcuts_execute 工具,用于在侧边栏中启动快捷方式或工作流。
|
||
- [Tool Description: Claude in Chrome switch browser](./system-prompts/tool-description-claude-in-chrome-switch-browser.md) (**88** tks) - 描述 Claude in Chrome switch_browser 工具,用于让用户在已连接的 Chrome 扩展中选择浏览器。
|
||
- [Tool Description: Claude in Chrome tabs context](./system-prompts/tool-description-claude-in-chrome-tabs-context.md) (**90** tks) - 描述 Claude in Chrome tabs_context_mcp 工具,用于获取当前 MCP 标签页组上下文。
|
||
- [Tool Description: ClaudeDesign](./system-prompts/tool-description-claudedesign.md) (**515** tks) - 描述 ClaudeDesign 工具,用于处理 claude.ai/design 项目,包括项目和文件操作、预览、plan token 以及实时设计输出约定。
|
||
- [Tool Description: Code review command](./system-prompts/tool-description-code-review-command.md) (**138** tks) - 描述代码审查命令及其工作量级别、PR 评论模式和修复模式。
|
||
- [Tool Description: Computer computer_batch](./system-prompts/tool-description-computer-computer_batch.md) (**100** tks) - 描述 computer-use computer_batch 工具,用于在一次调用中执行一系列计算机操作。
|
||
- [Tool Description: Computer hold_key](./system-prompts/tool-description-computer-hold_key.md) (**67** tks) - 描述 computer-use hold_key 工具,用于按下并按住按键或组合键,包含白名单和系统组合键检查。
|
||
- [Tool Description: Computer left_mouse_down](./system-prompts/tool-description-computer-left_mouse_down.md) (**78** tks) - 描述 computer-use left_mouse_down 工具,用于在当前光标位置按住鼠标左键。
|
||
- [Tool Description: Computer left_mouse_up](./system-prompts/tool-description-computer-left_mouse_up.md) (**67** tks) - 描述 computer-use left_mouse_up 工具,用于在当前光标位置释放鼠标左键。
|
||
- [Tool Description: Computer request_access](./system-prompts/tool-description-computer-request_access.md) (**82** tks) - 描述 computer-use request_access 工具,用于请求用户许可以控制会话中的应用程序。
|
||
- [Tool Description: Computer type](./system-prompts/tool-description-computer-type.md) (**59** tks) - 描述 computer-use type 工具,用于向已聚焦的白名单应用程序输入文本。
|
||
- [Tool Description: Computer zoom](./system-prompts/tool-description-computer-zoom.md) (**91** tks) - 描述 computer-use zoom 工具,用于对区域拍摄只读的更高分辨率截图。
|
||
- [Tool Description: Computer](./system-prompts/tool-description-computer.md) (**161** tks) - Chrome 浏览器计算机自动化工具的主说明。
|
||
- [Tool Description: Cowork onboarding role picker](./system-prompts/tool-description-cowork-onboarding-role-picker.md) (**188** tks) - 描述 Cowork 入职角色选择器工具,返回所选或输入的角色;仅应在为用户的工作职能设置 Cowork 时使用。
|
||
- [Tool Description: Cowork plugin creation](./system-prompts/tool-description-cowork-plugin-creation.md) (**86** tks) - 描述为组织创建或自定义 Cowork 插件的命令。
|
||
- [Tool Description: CronCreate](./system-prompts/tool-description-croncreate.md) (**850** tks) - 描述 CronCreate 工具,用于将一次性或周期性基于 cron 的任务入队,并包含抖动(jitter)和非整分钟调度指导。
|
||
- [Tool Description: DesignSync](./system-prompts/tool-description-designsync.md) (**0** tks) - 描述 DesignSync 工具,用于读取和更新 claude.ai/design 设计系统项目,包括项目列表、计划定稿、文件写入与删除以及资源注册。
|
||
- [Tool Description: Edit minimal old_string guidance](./system-prompts/tool-description-edit-minimal-old_string-guidance.md) (**92** tks) - Edit 工具的附加指导:保持 old_string 最小且唯一,或使用 replace_all。
|
||
- [Tool Description: Edit single replacement](./system-prompts/tool-description-edit-single-replacement.md) (**120** tks) - 在文件中执行精确字符串替换的工具说明,包括先读取和行前缀要求。
|
||
- [Tool Description: Edit](./system-prompts/tool-description-edit.md) (**202** tks) - 在文件中执行精确字符串替换的工具。
|
||
- [Tool Description: EndConversation](./system-prompts/tool-description-endconversation.md) (**1452** tks) - 定义助手何时可以使用 EndConversation 工具,以及禁止结束对话的安全约束。
|
||
- [Tool Description: EnterPlanMode](./system-prompts/tool-description-enterplanmode.md) (**1274** tks) - 进入计划模式(plan mode)以探索和设计实现方案的工具说明。
|
||
- [Tool Description: EnterWorktree](./system-prompts/tool-description-enterworktree.md) (**1062** tks) - EnterWorktree 工具说明。
|
||
- [Tool Description: ExitPlanMode](./system-prompts/tool-description-exitplanmode.md) (**648** tks) - ExitPlanMode 工具说明:向用户展示计划对话框以供批准。
|
||
- [Tool Description: ExitWorktree](./system-prompts/tool-description-exitworktree.md) (**527** tks) - 大致为 EnterWorktree 的逆操作。
|
||
- [Tool Description: Glob compact](./system-prompts/tool-description-glob-compact.md) (**0** tks) - 提供给较新模型的精简 Glob 工具说明——按文件名模式匹配并返回按修改时间排序的路径。
|
||
- [Tool Description: Glob](./system-prompts/tool-description-glob.md) (**0** tks) - 按文件名进行模式匹配和搜索的工具说明。
|
||
- [Tool Description: Grep compact](./system-prompts/tool-description-grep-compact.md) (**0** tks) - 提供给较新模型的精简 Grep 工具说明——基于 ripgrep 的内容搜索,优先于原始 grep/rg,并集成权限 UI。
|
||
- [Tool Description: Grep](./system-prompts/tool-description-grep.md) (**300** tks) - 使用 ripgrep 进行内容搜索的工具说明。
|
||
- [Tool Description: Invoke skill](./system-prompts/tool-description-invoke-skill.md) (**424** tks) - 调用可用技能(skill)的工具说明,包括技能名称选择、可选参数、作用域技能名称,以及技能已加载时避免重复调用。
|
||
- [Tool Description: LSP](./system-prompts/tool-description-lsp.md) (**298** tks) - LSP 工具说明。
|
||
- [Tool Description: ListAgents](./system-prompts/tool-description-listagents.md) (**215** tks) - 描述 ListAgents 工具,列出可向其发送消息的智能体——进程内子智能体、其他本地和云端 Claude 会话,以及远程桥接会话。
|
||
- [Tool Description: ListConnectors](./system-prompts/tool-description-listconnectors.md) (**234** tks) - 描述 ListConnectors 工具,用于列出已安装的 claude.ai MCP 连接器,按关键词过滤,并解读组织级连接和聊天启用状态。
|
||
- [Tool Description: ListMcpResourcesTool prompt](./system-prompts/tool-description-listmcpresourcestool-prompt.md) (**83** tks) - 列出 MCP 资源并说明可选 server 参数的工具提示。
|
||
- [Tool Description: ListMcpResourcesTool](./system-prompts/tool-description-listmcpresourcestool.md) (**82** tks) - 从所有已配置服务器或特定服务器列出可用 MCP 资源的工具说明。
|
||
- [Tool Description: NotebookEdit](./system-prompts/tool-description-notebookedit.md) (**194** tks) - 编辑 Jupyter notebook 单元格的工具说明:使用 read 工具获取的单元格 ID 进行替换、插入或删除。
|
||
- [Tool Description: PowerShell](./system-prompts/tool-description-powershell.md) (**2786** tks) - 描述 PowerShell 命令执行工具,包含语法指导、超时设置,以及文件操作应优先使用专用工具而非 PowerShell 的说明。
|
||
- [Tool Description: PushNotification](./system-prompts/tool-description-pushnotification.md) (**407** tks) - PushNotification 工具说明。该工具在用户终端发送桌面通知,并在 Remote Control 已连接时推送到其手机。
|
||
- [Tool Description: REPL](./system-prompts/tool-description-repl.md) (**715** tks) - 描述 REPL 工具,一个 JavaScript 编程接口,用于循环、分支和将 Claude Code 工具调用组合为异步函数。
|
||
- [Tool Description: ReadFile compact](./system-prompts/tool-description-readfile-compact.md) (**0** tks) - 提供给较新模型的精简文件读取工具说明——绝对路径、默认行数上限,以及图片/PDF/notebook 处理。
|
||
- [Tool Description: ReadFile](./system-prompts/tool-description-readfile.md) (**412** tks) - 读取文件的工具说明。
|
||
- [Tool Description: ReadMcpResourceDirTool prompt](./system-prompts/tool-description-readmcpresourcedirtool-prompt.md) (**177** tks) - 列出 MCP 目录资源的直接子项并说明必需的 server 和 uri 参数的工具提示。
|
||
- [Tool Description: RemoteTrigger prompt](./system-prompts/tool-description-remotetrigger-prompt.md) (**189** tks) - 调用 claude.ai RemoteTrigger API 以列出、获取、创建、更新或运行定时远程智能体例程的工具提示。
|
||
- [Tool Description: Report code-review findings](./system-prompts/tool-description-report-code-review-findings.md) (**163** tks) - 将已验证的代码审查发现报告为类型化列表以供宿主 UI 渲染的工具说明。
|
||
- [Tool Description: ScheduleWakeup delay and reason guidance](./system-prompts/tool-description-schedulewakeup-delay-and-reason-guidance.md) (**1791** tks) - 扩展 ScheduleWakeup 工具说明,包含无操作(no-op)报告、提示缓存感知的延迟选择,以及简洁的 reason 字段指导。
|
||
- [Tool Description: SearchMcpRegistry](./system-prompts/tool-description-searchmcpregistry.md) (**377** tks) - 描述 SearchMcpRegistry 工具,用于按关键词发现 MCP 连接器,包括按产品名称和意图的示例以及安装状态指导。
|
||
- [Tool Description: SearchPlugins](./system-prompts/tool-description-searchplugins.md) (**197** tks) - 描述 SearchPlugins 工具,用于按关键词查找相关的 claude.ai 组织目录插件,并在结果合适时建议安装卡片。
|
||
- [Tool Description: SearchSkills](./system-prompts/tool-description-searchskills.md) (**197** tks) - 描述 SearchSkills 工具,用于按关键词查找相关的 claude.ai 技能,并在结果合适时建议添加卡片。
|
||
- [Tool Description: SendMessageTool](./system-prompts/tool-description-sendmessagetool.md) (**584** tks) - 智能体团队版本的 SendMessageTool。
|
||
- [Tool Description: SendUserFile](./system-prompts/tool-description-senduserfile.md) (**441** tks) - 描述 SendUserFile 工具,用于向用户展示生成的交付文件,支持可选标题以及正常或主动状态。
|
||
- [Tool Description: ShowOnboardingRolePicker](./system-prompts/tool-description-showonboardingrolepicker.md) (**38** tks) - ShowOnboardingRolePicker:在 Cowork 入职期间展示一行可点击的角色标签。
|
||
- [Tool Description: Skill](./system-prompts/tool-description-skill.md) (**0** tks) - 在主对话中执行技能的工具说明。
|
||
- [Tool Description: SuggestConnectors](./system-prompts/tool-description-suggestconnectors.md) (**224** tks) - 描述 SuggestConnectors 工具,用于将 SearchMcpRegistry 的 directoryUuid 值解析为完整连接器负载及安装状态指导。
|
||
- [Tool Description: Task Get](./system-prompts/tool-description-task-get.md) (**182** tks) - 按 ID 检索任务,包含完整详情和评论。
|
||
- [Tool Description: TaskCreate](./system-prompts/tool-description-taskcreate.md) (**499** tks) - TaskCreate 工具说明。
|
||
- [Tool Description: TaskList](./system-prompts/tool-description-tasklist.md) (**267** tks) - TaskList 工具说明,列出任务列表中的所有任务。
|
||
- [Tool Description: TaskUpdate](./system-prompts/tool-description-taskupdate.md) (**586** tks) - TaskUpdate 工具说明,用于更新 Claude 的任务列表。
|
||
- [Tool Description: TodoWrite compact](./system-prompts/tool-description-todowrite-compact.md) (**108** tks) - 精简工具说明,用于创建和更新会话任务列表,包含 content、status 和 activeForm 字段。
|
||
- [Tool Description: TodoWrite proactive update guidance](./system-prompts/tool-description-todowrite-proactive-update-guidance.md) (**65** tks) - 简洁的 TodoWrite 指导:主动跟踪进度,保持一个进行中任务和 activeForm 值。
|
||
- [Tool Description: TodoWrite](./system-prompts/tool-description-todowrite.md) (**2037** tks) - 创建和管理任务列表的工具说明。
|
||
- [Tool Description: WebFetch private URL warning](./system-prompts/tool-description-webfetch-private-url-warning.md) (**173** tks) - 警告 WebFetch 对经过身份验证或私有 URL 会失败,并包含标准 WebFetch 使用说明。
|
||
- [Tool Description: WebFetch](./system-prompts/tool-description-webfetch.md) (**297** tks) - 网页抓取功能的工具说明。
|
||
- [Tool Description: WebSearch](./system-prompts/tool-description-websearch.md) (**319** tks) - 网页搜索功能的工具说明。
|
||
- [Tool Description: Workflow](./system-prompts/tool-description-workflow.md) (**6988** tks) - 描述 Workflow 工具,用于运行确定性的多子智能体编排脚本,包括选择加入要求、脚本元数据、智能体钩子、并发、预算、质量模式和恢复行为。
|
||
- [Tool Description: Write](./system-prompts/tool-description-write.md) (**129** tks) - 将文件写入本地文件系统的工具。
|
||
- [Tool Description: claude.ai Project](./system-prompts/tool-description-claudeai-project.md) (**778** tks) - 通过 project_info/read/search/write/delete 方法读写绑定到会话的 claude.ai Project——一个共享的持久知识容器——包括知识预算强制执行、智能体编写文档的 claude/ 命名空间默认值、提示缓存变动警告,以及将文档内容视为不可信数据。
|
||
|
||
**部分工具描述的补充说明**
|
||
|
||
- [Tool Description: Agent (simple usage notes)](./system-prompts/tool-description-agent-simple-usage-notes.md) (**537** tks) - Agent 工具的简化使用说明,包括何时委派、fork 行为、恢复执行、worktree 隔离、后台执行、并行启动以及上下文限制。
|
||
- [Tool Description: Agent (usage notes)](./system-prompts/tool-description-agent-usage-notes.md) (**1255** tks) - Task/Agent 工具的使用说明与指令,包括启动子代理(subagent)、后台执行、恢复执行以及 worktree 隔离的指引。
|
||
- [Tool Description: Agent (when to launch subagents)](./system-prompts/tool-description-agent-when-to-launch-subagents.md) (**0** tks) - 说明_何时_使用 Agent 工具——用于启动专门的子代理子进程,以自主处理复杂的多步骤任务。
|
||
- [Tool Description: AskUserQuestion (preview field)](./system-prompts/tool-description-askuserquestion-preview-field.md) (**134** tks) - 关于在单选题选项上使用 HTML 预览字段的说明,用于展示 UI 原型、代码片段和图表等可视化内容。
|
||
- [Tool Description: Background monitor (streaming events)](./system-prompts/tool-description-background-monitor-streaming-events.md) (**1425** tks) - 描述后台监控工具:将长时间运行脚本的 stdout 事件以聊天通知形式流式输出,并包含脚本质量、输出量以及选择性过滤的指引。
|
||
- [Tool Description: Bash (Git commit and PR creation instructions)](./system-prompts/tool-description-bash-git-commit-and-pr-creation-instructions.md) (**2660** tks) - 创建 git 提交与 GitHub pull request 的说明。
|
||
- [Tool Description: Bash (alternative — communication)](./system-prompts/tool-description-bash-alternative-communication.md) (**18** tks) - Bash 工具替代方案:直接输出文本,而非使用 echo/printf。
|
||
- [Tool Description: Bash (alternative — content search)](./system-prompts/tool-description-bash-alternative-content-search.md) (**27** tks) - Bash 工具替代方案:使用 Grep 进行内容搜索,而非 grep/rg。
|
||
- [Tool Description: Bash (alternative — edit files)](./system-prompts/tool-description-bash-alternative-edit-files.md) (**27** tks) - Bash 工具替代方案:使用 Edit 编辑文件,而非 sed/awk。
|
||
- [Tool Description: Bash (alternative — file search)](./system-prompts/tool-description-bash-alternative-file-search.md) (**26** tks) - Bash 工具替代方案:使用 Glob 搜索文件,而非 find/ls。
|
||
- [Tool Description: Bash (alternative — read files)](./system-prompts/tool-description-bash-alternative-read-files.md) (**27** tks) - Bash 工具替代方案:使用 Read 读取文件,而非 cat/head/tail。
|
||
- [Tool Description: Bash (alternative — write files)](./system-prompts/tool-description-bash-alternative-write-files.md) (**29** tks) - Bash 工具替代方案:使用 Write 写入文件,而非 echo/cat。
|
||
- [Tool Description: Bash (built-in tools note)](./system-prompts/tool-description-bash-built-in-tools-note.md) (**53** tks) - 说明内置工具相比 Bash 等价方案能提供更好的用户体验(UX)。
|
||
- [Tool Description: Bash (git — avoid destructive ops)](./system-prompts/tool-description-bash-git-avoid-destructive-ops.md) (**58** tks) - Bash 工具 git 指令:考虑使用更安全的替代方案,避免破坏性操作。
|
||
- [Tool Description: Bash (git — never skip hooks)](./system-prompts/tool-description-bash-git-never-skip-hooks.md) (**59** tks) - Bash 工具 git 指令:除非用户明确要求,否则切勿跳过 hooks 或绕过签名。
|
||
- [Tool Description: Bash (git — prefer new commits)](./system-prompts/tool-description-bash-git-prefer-new-commits.md) (**22** tks) - Bash 工具 git 指令:优先创建新提交,而非 amend。
|
||
- [Tool Description: Bash (maintain cwd)](./system-prompts/tool-description-bash-maintain-cwd.md) (**81** tks) - Bash 工具指令:使用绝对路径,避免 cd。
|
||
- [Tool Description: Bash (overview)](./system-prompts/tool-description-bash-overview.md) (**19** tks) - Bash 工具描述的开场句。
|
||
- [Tool Description: Bash (prefer dedicated tools bullet)](./system-prompts/tool-description-bash-prefer-dedicated-tools-bullet.md) (**72** tks) - 项目符号警告:对于 find、grep、cat 等操作,优先使用专用工具而非 Bash。
|
||
- [Tool Description: Bash (prefer dedicated tools)](./system-prompts/tool-description-bash-prefer-dedicated-tools.md) (**71** tks) - 警告:对于 find、grep、cat 等操作,优先使用专用工具而非 Bash。
|
||
- [Tool Description: Bash (quote file paths)](./system-prompts/tool-description-bash-quote-file-paths.md) (**35** tks) - Bash 工具指令:对包含空格的文件路径加引号。
|
||
- [Tool Description: Bash (sandbox — adjust settings)](./system-prompts/tool-description-bash-sandbox-adjust-settings.md) (**26** tks) - 失败时与用户协作调整沙箱设置。
|
||
- [Tool Description: Bash (sandbox — default to sandbox)](./system-prompts/tool-description-bash-sandbox-default-to-sandbox.md) (**38** tks) - 默认使用沙箱;仅在用户要求或有沙箱限制证据时才绕过。
|
||
- [Tool Description: Bash (sandbox — evidence list header)](./system-prompts/tool-description-bash-sandbox-evidence-list-header.md) (**15** tks) - 沙箱导致失败证据列表的标题。
|
||
- [Tool Description: Bash (sandbox — evidence: access denied)](./system-prompts/tool-description-bash-sandbox-evidence-access-denied.md) (**15** tks) - 沙箱证据:访问允许目录之外的路径被拒绝。
|
||
- [Tool Description: Bash (sandbox — evidence: network failures)](./system-prompts/tool-description-bash-sandbox-evidence-network-failures.md) (**17** tks) - 沙箱证据:连接非白名单主机的网络失败。
|
||
- [Tool Description: Bash (sandbox — evidence: operation not permitted)](./system-prompts/tool-description-bash-sandbox-evidence-operation-not-permitted.md) (**18** tks) - 沙箱证据:operation not permitted 错误。
|
||
- [Tool Description: Bash (sandbox — evidence: unix socket errors)](./system-prompts/tool-description-bash-sandbox-evidence-unix-socket-errors.md) (**11** tks) - 沙箱证据:Unix socket 连接错误。
|
||
- [Tool Description: Bash (sandbox — explain restriction)](./system-prompts/tool-description-bash-sandbox-explain-restriction.md) (**36** tks) - 说明是哪项沙箱限制导致了失败。
|
||
- [Tool Description: Bash (sandbox — failure evidence condition)](./system-prompts/tool-description-bash-sandbox-failure-evidence-condition.md) (**48** tks) - 条件:命令失败且存在沙箱限制的证据。
|
||
- [Tool Description: Bash (sandbox — mandatory mode)](./system-prompts/tool-description-bash-sandbox-mandatory-mode.md) (**34** tks) - 策略:所有命令必须在沙箱模式下运行。
|
||
- [Tool Description: Bash (sandbox — no exceptions)](./system-prompts/tool-description-bash-sandbox-no-exceptions.md) (**17** tks) - 任何情况下命令都不得在沙箱外运行。
|
||
- [Tool Description: Bash (sandbox — no sensitive paths)](./system-prompts/tool-description-bash-sandbox-no-sensitive-paths.md) (**36** tks) - 不要建议将敏感路径加入沙箱允许列表。
|
||
- [Tool Description: Bash (sandbox — per-command)](./system-prompts/tool-description-bash-sandbox-per-command.md) (**52** tks) - 逐条命令单独处理;后续命令默认仍使用沙箱。
|
||
- [Tool Description: Bash (sandbox — response header)](./system-prompts/tool-description-bash-sandbox-response-header.md) (**17** tks) - 遇到沙箱导致失败时应如何响应的标题。
|
||
- [Tool Description: Bash (sandbox — retry without sandbox)](./system-prompts/tool-description-bash-sandbox-retry-without-sandbox.md) (**33** tks) - 沙箱失败时立即使用 dangerouslyDisableSandbox 重试。
|
||
- [Tool Description: Bash (sandbox — tmpdir)](./system-prompts/tool-description-bash-sandbox-tmpdir.md) (**58** tks) - 在沙箱模式下使用 $TMPDIR 存放临时文件。
|
||
- [Tool Description: Bash (sleep — keep short)](./system-prompts/tool-description-bash-sleep-keep-short.md) (**22** tks) - Bash 工具指令:将 sleep 时长控制在 1-5 秒。
|
||
- [Tool Description: Bash (sleep — no polling background tasks)](./system-prompts/tool-description-bash-sleep-no-polling-background-tasks.md) (**37** tks) - Bash 工具指令:不要轮询后台任务,应等待通知。
|
||
- [Tool Description: Bash (sleep — run immediately)](./system-prompts/tool-description-bash-sleep-run-immediately.md) (**21** tks) - Bash 工具指令:对于可立即执行的命令,不要在命令之间 sleep。
|
||
- [Tool Description: Bash (sleep — use check commands)](./system-prompts/tool-description-bash-sleep-use-check-commands.md) (**34** tks) - Bash 工具指令:轮询时应使用检查命令,而非 sleep。
|
||
- [Tool Description: Bash (timeout)](./system-prompts/tool-description-bash-timeout.md) (**83** tks) - Bash 工具指令:可选的 timeout 配置。
|
||
- [Tool Description: Bash (verify parent directory)](./system-prompts/tool-description-bash-verify-parent-directory.md) (**38** tks) - Bash 工具指令:创建文件前先验证父目录。
|
||
- [Tool Description: Bash (working directory)](./system-prompts/tool-description-bash-working-directory.md) (**37** tks) - 关于工作目录持久性与 shell 状态的 Bash 工具说明。
|
||
- [Tool Description: CronCreate (durability note)](./system-prompts/tool-description-croncreate-durability-note.md) (**122** tks) - CronCreate 插入说明(启用 durable-cron 时显示),解释 durable: true 与 false 的权衡。
|
||
- [Tool Description: EnterPlanMode (ambiguous tasks)](./system-prompts/tool-description-enterplanmode-ambiguous-tasks.md) (**195** tks) - 当任务存在歧义时进入计划模式的工具。
|
||
- [Tool Description: SendMessageTool (non-agent-teams)](./system-prompts/tool-description-sendmessagetool-non-agent-teams.md) (**226** tks) - 发送用户将阅读的消息,并对该工具做了充分描述。
|
||
- [Tool Description: SendUserMessage (verbatim)](./system-prompts/tool-description-sendusermessage-verbatim.md) (**102** tks) - 描述 SendUserMessage 工具的简洁变体,用于以 normal 或 proactive 状态发送逐字呈现的用户可见消息。
|
||
- [Tool Description: Snooze (delay and reason guidance)](./system-prompts/tool-description-snooze-delay-and-reason-guidance.md) (**437** tks) - 扩展 snooze 工具描述,说明如何相对于 5 分钟提示缓存 TTL 选择 delaySeconds,以及如何编写信息充分的 reason 字段。
|
||
- [Tool Description: TaskList (teammate workflow)](./system-prompts/tool-description-tasklist-teammate-workflow.md) (**133** tks) - 附加到 TaskList 工具描述的条件性章节。
|
||
- [Tool Description: ToolSearch (second part)](./system-prompts/tool-description-toolsearch-second-part.md) (**0** tks) - 工具描述的主体部分。
|
||
- [Tool Description: WebFetch (concise)](./system-prompts/tool-description-webfetch-concise.md) (**159** tks) - WebFetch 的简洁工具描述,涵盖 URL 获取、私有 URL 限制、重定向以及缓存。
|
||
- [Tool Description: WebSearch (concise)](./system-prompts/tool-description-websearch-concise.md) (**88** tks) - 描述 WebSearch 工具的简洁变体,包括仅美国结果、当月指引、域名过滤以及必需来源。
|
||
- [Tool Description: Write (read existing file first)](./system-prompts/tool-description-write-read-existing-file-first.md) (**84** tks) - 在覆盖前必须先读取现有文件的环境中,Write 工具的描述。
|
||
- [Tool Description: request_teach_access (part of teach mode)](./system-prompts/tool-description-request_teach_access-part-of-teach-mode.md) (**139** tks) - 描述一种工具:请求权限以全屏工具提示叠加层逐步引导用户完成任务,而非直接获取访问权限。
|
||
- [Tool Parameter: Bash run_in_background guidance](./system-prompts/tool-parameter-bash-run_in_background-guidance.md) (**92** tks) - 解释 Bash run_in_background 行为,以及命令无需在末尾加 &。
|
||
- [Tool Parameter: Bash run_in_background note](./system-prompts/tool-parameter-bash-run_in_background-note.md) (**74** tks) - 说明当结果不需要立即获取时,Bash 命令可使用 run_in_background。
|
||
- [Tool Parameter: Claude in Chrome JavaScript code](./system-prompts/tool-parameter-claude-in-chrome-javascript-code.md) (**103** tks) - 描述 Claude in Chrome JavaScript 执行工具的 JavaScript code 参数。
|
||
- [Tool Parameter: Computer action](./system-prompts/tool-parameter-computer-action.md) (**251** tks) - Chrome 浏览器 computer 工具的 action 参数选项。
|
||
- [Tool Parameter: SendUserMessage attachments](./system-prompts/tool-parameter-sendusermessage-attachments.md) (**75** tks) - 描述 SendUserMessage 的可选附件,可为本地文件路径或已预解析的文件对象。
|
||
- [Tool Parameter: set_cwd needs_trust directory](./system-prompts/tool-parameter-set_cwd-needs_trust-directory.md) (**197** tks) - 描述 set_cwd needs_trust 响应返回的规范目标目录;SDK 宿主必须在信任对话框中展示该目录,并在用户接受后原样回传。
|
||
|
||
### Skills
|
||
|
||
面向专项任务的内置 skill 提示词。
|
||
|
||
- [Skill: /code-review efficiency dimension](./system-prompts/skill-code-review-efficiency-dimension.md) (**106** tks) - 代码审查(code review)环节,用于发现 diff 引入的无效开销——重复计算或 I/O、可避免序列化、闭包长期持有的大作用域——并指出更省成本的替代方案。
|
||
- [Skill: /design-sync package source shape](./system-prompts/skill-design-sync-package-source-shape.md) (**16174** tks) - 针对特定形态的 /design-sync 说明,用于在不使用 Storybook 的情况下,从已构建包同步 React 设计系统。
|
||
- [Skill: /doctor slash command description](./system-prompts/skill-doctor-slash-command-description.md) (**357** tks) - /doctor 斜杠命令的触发描述,涵盖安装健康检查、未使用扩展、内存清理、hooks、更新与权限提示。
|
||
- [Skill: /doctor slash command](./system-prompts/skill-doctor-slash-command.md) (**15243** tks) - 诊断工作流,用于审计并修复 Claude Code 安装健康状态、未使用上下文、本地与已检入 memory 文件、hooks、版本时效性与权限提示。
|
||
- [Skill: /init CLAUDE.md and skill setup (new version)](./system-prompts/skill-init-claudemd-and-skill-setup-new-version.md) (**7589** tks) - 全面的入门流程,用于在当前仓库中设置 CLAUDE.md 及相关 skills/hooks,包括代码库探索、用户访谈与迭代式方案完善。
|
||
- [Skill: /insights report output](./system-prompts/skill-insights-report-output.md) (**182** tks) - 在用户运行 /insights 斜杠命令后,格式化并展示 insights 使用报告结果。
|
||
- [Skill: /loop cloud-first scheduling offer](./system-prompts/skill-loop-cloud-first-scheduling-offer.md) (**510** tks) - 决策树:在 /loop 命令中,于回退到本地会话循环之前,优先提供基于云的调度方案。
|
||
- [Skill: /loop local runtime note](./system-prompts/skill-loop-local-runtime-note.md) (**96** tks) - 条件性 /loop 确认说明,解释本地循环仅运行至当前会话结束。
|
||
- [Skill: /loop self-pacing mode](./system-prompts/skill-loop-self-pacing-mode.md) (**1141** tks) - 指导 Claude 如何通过将事件监听器作为主要唤醒信号,并在各次迭代之间安排备用 heartbeat 延迟,来实现自我节拍的循环。
|
||
- [Skill: /loop slash command (dynamic mode)](./system-prompts/skill-loop-slash-command-dynamic-mode.md) (**514** tks) - 将用户输入解析为间隔与提示词,用于调度周期性或动态自我节拍的循环执行。
|
||
- [Skill: /loop slash command](./system-prompts/skill-loop-slash-command.md) (**969** tks) - 将用户输入解析为间隔与提示词,将间隔转换为 cron 表达式,并调度周期性任务。
|
||
- [Skill: /morning slash command](./system-prompts/skill-morning-slash-command.md) (**1448** tks) - 从已连接的日历与通信来源生成简洁的样式化晨间简报,或将其配置为工作日周期性任务。
|
||
- [Skill: /stuck (background-daemon diagnostics)](./system-prompts/skill-stuck-background-daemon-diagnostics.md) (**181** tks) - /stuck skill 中关于后台守护进程(background-daemon)故障排查的部分。
|
||
- [Skill: /stuck slash command](./system-prompts/skill-stuck-slash-command.md) (**964** tks) - 诊断冻结或运行缓慢的 Claude Code 会话。
|
||
- [Skill: Agent Design Patterns](./system-prompts/skill-agent-design-patterns.md) (**2864** tks) - 参考指南,涵盖在 Claude API 上构建 agent 的决策启发式,包括工具面设计、上下文管理、缓存策略与工具调用编排。
|
||
- [Skill: Artifact dashboard](./system-prompts/skill-artifact-dashboard.md) (**2025** tks) - 基于内置模板创建 dashboard artifact 的说明,包含 KPI 磁贴、图表规格与明细表。
|
||
- [Skill: Artifact data table](./system-prompts/skill-artifact-data-table.md) (**1797** tks) - 基于内置模板创建可排序、可筛选的数据表 artifact 的说明。
|
||
- [Skill: Artifact design](./system-prompts/skill-artifact-design.md) (**2870** tks) - 设计指导 skill,用于通过校准视觉处理、应用设计基础、规划配色/字体/布局,并避免模板化 AI 生成默认样式,产出独特且精致的 artifact。
|
||
- [Skill: Artifact explainer](./system-prompts/skill-artifact-explainer.md) (**1985** tks) - 基于内置模板创建 explainer artifact 的说明,采用编号步骤或分节讲解结构。
|
||
- [Skill: Artifact report](./system-prompts/skill-artifact-report.md) (**1654** tks) - 基于内置模板创建长篇报告 artifact 的说明,包含报头、目录、结构化章节与可选附录。
|
||
- [Skill: Auto mode setup](./system-prompts/skill-auto-mode-setup.md) (**14919** tks) - auto mode 环境上下文的引导式设置与定制工作流,包括可选规则豁免与设置更新。
|
||
- [Skill: Build with Claude API (reference guide)](./system-prompts/skill-build-with-claude-api-reference-guide.md) (**1054** tks) - 用于呈现特定语言参考文档并支持快速任务导航的模板。
|
||
- [Skill: Building LLM-powered applications with Claude](./system-prompts/skill-building-llm-powered-applications-with-claude.md) (**26204** tks) - 指导 Claude 使用 Anthropic SDK 构建 LLM 驱动应用,涵盖语言检测、API 面选择(Claude API vs Managed Agents)、模型默认值、thinking/effort 配置,以及特定语言文档阅读。
|
||
- [Skill: Claude Code configuration guide](./system-prompts/skill-claude-code-configuration-guide.md) (**1665** tks) - 用于回答 Claude Code 配置问题的 skill 说明,通过检查运行中的构建版本、捆绑参考与当前文档。
|
||
- [Skill: Code Review (Angle B — removed-behavior auditor)](./system-prompts/skill-code-review-angle-b-removed-behavior-auditor.md) (**94** tks) - 代码审查 finder 角度:对每条删除或重写的行,指出其原先保证的行为,并确认新代码仍能保证该行为。
|
||
- [Skill: Code Review (Angle C — cross-file tracer)](./system-prompts/skill-code-review-angle-c-cross-file-tracer.md) (**88** tks) - 代码审查 finder 角度:沿每个变更函数追踪至其调用方,检查 diff 是否破坏了调用点契约。
|
||
- [Skill: Code Review (Angle D — language-pitfall specialist)](./system-prompts/skill-code-review-angle-d-language-pitfall-specialist.md) (**101** tks) - 代码审查 finder 角度:针对 diff 所用语言或框架的知名陷阱进行排查。
|
||
- [Skill: Code Review (Angle E — wrapper/proxy correctness)](./system-prompts/skill-code-review-angle-e-wrapperproxy-correctness.md) (**126** tks) - 代码审查 finder 角度:面向包装类型(缓存、代理、装饰器),检查每个方法是否忠实转发至被包装对象。
|
||
- [Skill: Code Review (Output — findings JSON array)](./system-prompts/skill-code-review-output-findings-json-array.md) (**137** tks) - 定义代码审查 skill 的结果结构:由 findings 组成的 JSON 数组,包含 file、line、summary 与 failure_scenario。
|
||
- [Skill: Code Review (Phase 0 — gather the diff)](./system-prompts/skill-code-review-phase-0-gather-the-diff.md) (**135** tks) - 代码审查 skill 的起始步骤:使用 git diff 组装待审查的统一 diff。
|
||
- [Skill: Code Review (Phase 2 — verify, 3-state)](./system-prompts/skill-code-review-phase-2-verify-3-state.md) (**125** tks) - 精确级验证步骤:为每个候选 finding 运行一个验证器,各自投票 CONFIRMED、PLAUSIBLE 或 REFUTED。
|
||
- [Skill: Code Review (Phase 2 — verify, recall-biased)](./system-prompts/skill-code-review-phase-2-verify-recall-biased.md) (**137** tks) - 召回级验证步骤:为每个候选 finding 运行一个验证器,偏向保留一切看似合理的结果。
|
||
- [Skill: Code Review (Phase 3 — sweep for gaps)](./system-prompts/skill-code-review-phase-3-sweep-for-gaps.md) (**131** tks) - 代码审查最终扫尾:由全新视角的审查者重读 diff,捕获先前轮次遗漏的缺陷。
|
||
- [Skill: Code Review (altitude dimension)](./system-prompts/skill-code-review-altitude-dimension.md) (**61** tks) - 代码审查维度:检查每项变更是否在合适深度实现,而非作为脆弱特例。
|
||
- [Skill: Code Review (conventions dimension)](./system-prompts/skill-code-review-conventions-dimension.md) (**0** tks) - 代码审查维度:标记违反适用 CLAUDE.md(用户级、仓库根目录或祖先目录)中明确规则的 diff 行,引用确切规则与违规行;若无 CLAUDE.md 管辖该变更,则不输出任何内容。
|
||
- [Skill: Code Review correctness finder angles](./system-prompts/skill-code-review-correctness-finder-angles.md) (**414** tks) - 共享的 /code-review finder-angle 模块,涵盖逐行 diff 扫描、删除行为审计与跨文件追踪。
|
||
- [Skill: Code Review inline medium/high template](./system-prompts/skill-code-review-inline-mediumhigh-template.md) (**592** tks) - 中/高力度内联代码审查提示词模板:运行八个 finder 角度,去重但不验证,并强制执行最低 findings 目标。
|
||
- [Skill: Code Review inline xhigh mode](./system-prompts/skill-code-review-inline-xhigh-mode.md) (**1189** tks) - 超高力度内联 /code-review 提示词:运行十个 finder 角度,去重但不验证,扫尾查缺,最多返回十五条 findings。
|
||
- [Skill: Code Review low effort expanded-findings mode](./system-prompts/skill-code-review-low-effort-expanded-findings-mode.md) (**446** tks) - 低力度 /code-review 提示词:只读一次 diff,最多返回八条 hunk 可见的 findings,并至少达到 min(files_changed, 4) 条真实 findings。
|
||
- [Skill: Code walkthrough](./system-prompts/skill-code-walkthrough.md) (**806** tks) - 为文件、目录、PR 或引用生成交互式讲解 artifact,帮助新人理解代码。
|
||
- [Skill: Computer Use MCP](./system-prompts/skill-computer-use-mcp.md) (**1206** tks) - 使用 computer-use MCP 工具的说明,包括工具选择层级、应用访问层级、链接安全与金融操作限制。
|
||
- [Skill: Cowork plugin authoring](./system-prompts/skill-cowork-plugin-authoring.md) (**4791** tks) - 创建或定制 Cowork 插件的 skill 说明,包括模式选择、调研、实现、打包、连接器替换与插件交付。
|
||
- [Skill: Data Visualization description](./system-prompts/skill-data-visualization-description.md) (**403** tks) - Data Visualization skill 的触发描述,涵盖图表、图形、仪表盘、调色板、统计磁贴及相关可视化请求。
|
||
- [Skill: Data Visualization](./system-prompts/skill-data-visualization.md) (**2790** tks) - 使用经过验证的方法,产出无障碍、品牌中性的图表、图形、仪表盘与数据可视化的 skill 说明。
|
||
- [Skill: Debugging](./system-prompts/skill-debugging.md) (**417** tks) - 调试用户在 Claude Code 会话中遇到问题的说明。
|
||
- [Skill: Design sync Storybook source shape](./system-prompts/skill-design-sync-storybook-source-shape.md) (**25255** tks) - design sync 子 skill 说明:在构建、验证、匹配、上传与重新同步组件预览时,将仓库的 Storybook 作为保真度基准(fidelity oracle)。
|
||
- [Skill: Design sync](./system-prompts/skill-design-sync.md) (**9610** tks) - 将 React 设计系统同步至 claude.ai/design 的 skill:配置目标项目、运行转换器、验证预览并上传已验证 artifact。
|
||
- [Skill: Dynamic pacing loop execution](./system-prompts/skill-dynamic-pacing-loop-execution.md) (**1068** tks) - 分步说明:执行动态节拍循环,运行任务、为事件门控等待启用持久监听器、调度备用 heartbeat 节拍,并处理任务通知。
|
||
- [Skill: Generate permission allowlist from transcripts](./system-prompts/skill-generate-permission-allowlist-from-transcripts.md) (**2408** tks) - 分析会话转录,提取常用只读工具调用模式,并将其加入项目 .claude/settings.json 权限白名单,以减少权限提示。
|
||
- [Skill: Model migration guide](./system-prompts/skill-model-migration-guide.md) (**53429** tks) - 将现有代码迁移至较新 Claude 模型的分步说明,涵盖破坏性变更、弃用参数、各 SDK 语法、提示词行为变化与迁移检查清单。
|
||
- [Skill: PR explainer artifact-template mode](./system-prompts/skill-pr-explainer-artifact-template-mode.md) (**824** tks) - 使用 artifact-explainer 模板、必答问题块与诚实说明,生成可分享的拉取请求讲解 artifact。
|
||
- [Skill: PR explainer](./system-prompts/skill-pr-explainer.md) (**852** tks) - 生成可分享的拉取请求讲解 artifact,涵盖变更内容、原因及审查者应关注的重点。
|
||
- [Skill: Plan Artifact](./system-prompts/skill-plan-artifact.md) (**711** tks) - 从实现计划、设计文档或 RFC 创建或定制可分享计划 artifact 的 skill 说明。
|
||
- [Skill: Plugin eval authoring interview](./system-prompts/skill-plugin-eval-authoring-interview.md) (**3001** tks) - 引导式访谈,用于在 evals/ 下创建 Claude 插件 eval 套件,包含门控输入、评分器、校准与成本检查。
|
||
- [Skill: Run CLI tool example](./system-prompts/skill-run-cli-tool-example.md) (**499** tks) - Run app skill 的示例文件,展示如何记录 CLI 工具的构建、调用与测试。
|
||
- [Skill: Run Electron desktop GUI app example](./system-prompts/skill-run-electron-desktop-gui-app-example.md) (**4625** tks) - Run app skill 的示例文件,展示如何在 xvfb 下启动 Electron 桌面应用,并通过 Playwright REPL 驱动程序操控。
|
||
- [Skill: Run TUI interactive terminal app example](./system-prompts/skill-run-tui-interactive-terminal-app-example.md) (**1004** tks) - Run app skill 的示例文件,展示如何用 tmux 驱动交互式终端应用,包括就绪轮询、窗格捕获、按键参考与清理。
|
||
- [Skill: Run app](./system-prompts/skill-run-app.md) (**999** tks) - 通过项目真实运行时界面启动并驱动当前项目应用的 skill,使用项目专属 run skill 或回退模式。
|
||
- [Skill: Run browser-driven web app example](./system-prompts/skill-run-browser-driven-web-app-example.md) (**1002** tks) - Run app skill 的示例文件,展示如何启动 Web 开发服务器、用 chromium-cli 驱动、截屏,并记录应用特有注意事项。
|
||
- [Skill: Run library SDK example](./system-prompts/skill-run-library-sdk-example.md) (**653** tks) - Run app skill 的示例文件,展示如何在其公开包边界记录库或 SDK 的构建、测试与冒烟检查。
|
||
- [Skill: Run skill generator](./system-prompts/skill-run-skill-generator.md) (**4681** tks) - 用于编写或改进项目专属 run skill 的 skill,记录已验证的构建、启动、运行时驱动与故障排查步骤。
|
||
- [Skill: Run skill template](./system-prompts/skill-run-skill-template.md) (**1216** tks) - Run skill 生成器的模板文件,展示项目专属 run skill 的前置元数据与章节结构。
|
||
- [Skill: Run web server API example](./system-prompts/skill-run-web-server-api-example.md) (**890** tks) - Run app skill 的示例文件,展示如何记录服务器或 API 生命周期:后台启动、就绪检查、curl 验证与关闭。
|
||
- [Skill: Schedule recurring cron and execute immediately (compact)](./system-prompts/skill-schedule-recurring-cron-and-execute-immediately-compact.md) (**173** tks) - 创建周期性 cron 作业的说明:与用户确认调度,并立即执行已解析的提示词,无需等待首次 cron 触发。
|
||
- [Skill: Schedule recurring cron and run immediately](./system-prompts/skill-schedule-recurring-cron-and-run-immediately.md) (**271** tks) - 将间隔转换为 cron 表达式,通过 cron 创建工具调度周期性任务,向用户确认,并立即执行任务,无需等待首次 cron 触发。
|
||
- [Skill: Setup Cowork role selection](./system-prompts/skill-setup-cowork-role-selection.md) (**470** tks) - setup-cowork skill 的第一步:介绍 Cowork、询问用户角色、调用 ShowOnboardingRolePicker,或回退到纯文本角色列表。
|
||
- [Skill: Setup Cowork](./system-prompts/skill-setup-cowork.md) (**802** tks) - Cowork 引导式设置流程,帮助用户选择角色、安装匹配插件、试用 skill、连接工具并完成收尾。
|
||
- [Skill: Team onboarding guide](./system-prompts/skill-team-onboarding-guide.md) (**521** tks) - 新队友入职团队 Claude Code 设置的模板,以亲切对话风格引导其了解使用统计、设置检查清单、MCP 服务器、skills 与团队技巧。
|
||
- [Skill: Update Claude Code Config](./system-prompts/skill-update-claude-code-config.md) (**1195** tks) - 用于修改 Claude Code 配置文件(settings.json)的 skill。
|
||
- [Skill: Update config description](./system-prompts/skill-update-config-description.md) (**170** tks) - update-config skill 描述(settings.json hooks、权限、环境变量)。
|
||
- [Skill: Update config settings file locations](./system-prompts/skill-update-config-settings-file-locations.md) (**792** tks) - Claude Code 在各作用域存储 settings.json 的位置。
|
||
- [Skill: Verify CLI changes (example for Verify skill)](./system-prompts/skill-verify-cli-changes-example-for-verify-skill.md) (**565** tks) - 验证 CLI 变更的示例工作流,作为 Verify skill 的一部分。
|
||
- [Skill: Verify server/API changes (example for Verify skill)](./system-prompts/skill-verify-serverapi-changes-example-for-verify-skill.md) (**612** tks) - 验证服务器/API 变更的示例工作流,作为 Verify skill 的一部分。
|
||
- [Skill: Verify skill](./system-prompts/skill-verify-skill.md) (**4354** tks) - 用于验证代码变更的、带有明确观点的验证工作流 skill。
|
||
- [Skill: update-config (7-step verification flow)](./system-prompts/skill-update-config-7-step-verification-flow.md) (**1160** tks) - 引导 Claude 完成 7 步流程以构建并验证 Claude Code hooks 的 skill,确保其在用户特定项目环境中正确运行。
|