jixiaxue 知识库
evidence · 2026-04-15

T0-4-claude-code-tools

/Users/shanfang/Documents/pe/jixiaxuegong/research/提示工程教程/evidence/T0-anthropic/T0-4-claude-code-tools.md

来源:https://github.com/Piebald-AI/claude-code-system-prompts/tree/main/system-prompts 爬取日期:2026-03-22 版本:Claude Code v2.1.81

Claude Code Tools 完整清单

Claude Code 定义了 57 个工具描述文件,以下是完整文件列表及分类。


Bash 工具 (28 个描述文件)

文件名描述
tool-description-bash-overview.mdExecutes a given bash command and returns its output
tool-description-bash-command-description.mdCommand description parameter
tool-description-bash-working-directory.mdWorking directory behavior
tool-description-bash-maintain-cwd.mdMaintain current working directory
tool-description-bash-verify-parent-directory.mdVerify parent directory exists before creating files
tool-description-bash-quote-file-paths.mdQuote file paths with spaces
tool-description-bash-timeout.mdCommand timeout settings
tool-description-bash-parallel-commands.mdMultiple independent commands in parallel
tool-description-bash-sequential-commands.mdSequential dependent commands with &&
tool-description-bash-semicolon-usage.mdUse ; when failure of earlier commands is OK
tool-description-bash-no-newlines.mdDo not use newlines to separate commands
tool-description-bash-prefer-dedicated-tools.mdPrefer dedicated tools over bash
tool-description-bash-alternative-file-search.mdUse Glob instead of find
tool-description-bash-alternative-content-search.mdUse Grep instead of grep/rg
tool-description-bash-alternative-read-files.mdUse Read instead of cat/head/tail
tool-description-bash-alternative-edit-files.mdUse Edit instead of sed/awk
tool-description-bash-alternative-write-files.mdUse Write instead of echo >
tool-description-bash-alternative-communication.mdOutput text directly instead of echo/printf
tool-description-bash-git-prefer-new-commits.mdPrefer new commits over amending
tool-description-bash-git-avoid-destructive-ops.mdAvoid destructive git operations
tool-description-bash-git-never-skip-hooks.mdNever skip hooks (—no-verify)
tool-description-bash-git-commit-and-pr-creation-instructions.mdGit commit and PR creation flow
tool-description-bash-sleep-run-immediately.mdDon’t sleep between commands that can run immediately
tool-description-bash-sleep-no-polling-background-tasks.mdDon’t poll background tasks with sleep
tool-description-bash-sleep-use-check-commands.mdUse check commands instead of sleep
tool-description-bash-sleep-keep-short.mdKeep sleep durations short (1-5 seconds)
tool-description-bash-sandbox-*.mdSandbox mode (17 个子文件): default-to-sandbox, per-command, mandatory-mode, retry-without-sandbox, user-permission-prompt, explain-restriction, no-sensitive-paths, no-exceptions, adjust-settings, tmpdir, failure-evidence-condition, evidence-*
tool-description-bash-built-in-tools-note.mdBuilt-in tools note

核心工具 (15 个)

文件名描述
tool-description-edit.mdExact string replacements in files
tool-description-readfile.mdRead files from local filesystem
tool-description-write.mdWrite files to local filesystem
tool-description-glob.mdFast file pattern matching
tool-description-grep.mdContent search built on ripgrep
tool-description-webfetch.mdFetch and process web content
tool-description-websearch.mdWeb search
tool-description-notebookedit.mdEdit Jupyter notebooks
tool-description-skill.mdInvoke skills
tool-description-sleep.mdSleep/wait
tool-description-lsp.mdLanguage Server Protocol
tool-description-computer.mdComputer use (mouse/keyboard)
tool-description-enterplanmode.mdEnter plan mode
tool-description-exitplanmode.mdExit plan mode
tool-description-enterworktree.mdEnter git worktree
tool-description-exitworktree.mdExit git worktree

Agent/Team 工具 (10 个)

文件名描述
tool-description-agent-usage-notes.mdAgent usage notes
tool-description-agent-when-to-launch-subagents.mdWhen to launch subagents
tool-description-askuserquestion.mdAsk user a question
tool-description-askuserquestion-preview-field.mdPreview field for questions
tool-description-todowrite.mdWrite TODO items
tool-description-taskcreate.mdCreate tasks
tool-description-tasklist-teammate-workflow.mdTask list and teammate workflow
tool-description-sendmessagetool.mdSend message to teammates
tool-description-sendmessagetool-non-agent-teams.mdNon-agent team messaging
tool-description-teammatetool.mdTeammate tool
tool-description-teamdelete.mdDelete team
tool-description-croncreate.mdCreate cron jobs
tool-description-toolsearch-second-part.mdTool search (deferred tools)
tool-description-option-previewer.mdOption previewer

工具参数

文件名描述
tool-parameter-computer-action.mdComputer action parameter definitions

子代理提示词完整列表 (35 个)

文件名用途
agent-prompt-explore.md只读代码探索
agent-prompt-plan-mode-enhanced.md增强计划模式(5阶段)
agent-prompt-agent-creation-architect.mdAgent 创建架构师
agent-prompt-quick-git-commit.md快速 Git 提交
agent-prompt-quick-pr-creation.md快速创建 PR
agent-prompt-review-pr-slash-command.mdPR Review
agent-prompt-review-slash-command-remote.md远程 PR Review
agent-prompt-security-review-slash-command.md安全审查
agent-prompt-pr-comments-slash-command.mdPR 评论处理
agent-prompt-batch-slash-command.md批量操作
agent-prompt-schedule-slash-command.md定时任务
agent-prompt-conversation-summarization.md对话摘要
agent-prompt-recent-message-summarization.md近期消息摘要
agent-prompt-coding-session-title-generator.md会话标题生成
agent-prompt-session-title-and-branch-generation.md会话标题和分支生成
agent-prompt-bash-command-description-writer.mdBash 命令描述生成
agent-prompt-bash-command-prefix-detection.mdBash 命令前缀检测
agent-prompt-claudemd-creation.mdCLAUDE.md 创建
agent-prompt-update-magic-docs.md更新 Magic Docs
agent-prompt-claude-guide-agent.mdClaude 引导代理
agent-prompt-prompt-suggestion-generator-v2.md提示建议生成
agent-prompt-webfetch-summarizer.mdWebFetch 摘要
agent-prompt-session-search-assistant.md会话搜索助手
agent-prompt-worker-fork-execution.mdWorker Fork 执行
agent-prompt-verification-specialist.md验证专家
agent-prompt-auto-mode-rule-reviewer.mdAuto 模式规则审查
agent-prompt-security-monitor-*.md安全监控(2个文件)
agent-prompt-agent-hook.mdAgent Hook
agent-prompt-hook-condition-evaluator.mdHook 条件评估
agent-prompt-determine-which-memory-files-to-attach.md记忆文件选择
agent-prompt-dream-memory-consolidation.mdDream 记忆整合
agent-prompt-session-memory-update-instructions.md会话记忆更新
agent-prompt-explore-strengths-and-guidelines.md探索优势和指南
agent-prompt-status-line-setup.md状态栏设置
agent-prompt-common-suffix-response-format.md通用后缀响应格式

System Reminders 完整列表 (52 个)

运行时根据上下文条件插入的提醒信息: