学习工作台文章阅读
工作台/文章/附录 D · 内置 Agent 速查表
返回文章列表
2026年7月11日3 分钟

附录 D内置 Agent 速查表

墨圆
墨圆团队发布于 2026年7月11日

来源与授权

本文来自 Claude-Code-Source-Study 原文,固定导入版本为 31b6e07a82d4。Copyright (c) 2026 Yao,依据 MIT License 提供。

本站仅按“github-public-noncommercial-2026-07-11”用于匿名、免费、非商业学习,并调整章节编排、站内链接、重复标题与阅读标记;不代表原作者对本站的合作、认证或背书。如权利方要求删除,我们会立即下架;授权或删除请求请通过本站首页底部公开联系方式联系。

生成脚本:scripts/gen-agents-table.ts;source_commit: 290fdc9481a70612bc5823aa4ed225c52c52aad3

正表:源码定义 6 个内置 agent(位于 tools/AgentTool/built-in/)。

idwhenToUse(源码原文,未截断)modelHintdefaultEnabled来源
claude-code-guideUse this agent when the user asks questions ("Can Claude...", "Does Claude...", "How do I...") about: (1) Claude Code (the CLI tool) - features, hooks, slash commands, MCP servers, settings, IDE integrations, keyboard shortcuts; (2) Claude Agent SDK - building custom agents; (3) Claude API (formerly Anthropic API) - API usage, tool use, Anthropic SDK usage. IMPORTANT: Before spawning a new agent, check if there is already a running or recently completed claude-code-guide agent that you can continue via ${SEND_MESSAGE_TOOL_NAME}.'haiku'falsetools/AgentTool/built-in/claudeCodeGuideAgent.ts:98-205, tools/AgentTool/builtInAgents.ts:5-5
ExploreFast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.process.env.USER_TYPE === 'ant' ? 'inherit' : 'haiku'falsetools/AgentTool/built-in/exploreAgent.ts:64-83, tools/AgentTool/builtInAgents.ts:6-6
general-purposeGeneral-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you.inherit-defaulttruetools/AgentTool/built-in/generalPurposeAgent.ts:25-34, tools/AgentTool/builtInAgents.ts:7-7
PlanSoftware architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs.'inherit'falsetools/AgentTool/built-in/planAgent.ts:73-92, tools/AgentTool/builtInAgents.ts:8-8
statusline-setupUse this agent to configure the user's Claude Code status line setting.'sonnet'truetools/AgentTool/built-in/statuslineSetup.ts:134-144, tools/AgentTool/builtInAgents.ts:9-9
verificationUse this agent to verify that implementation work is correct before reporting completion. Invoke after non-trivial tasks (3+ file edits, backend/API changes, infrastructure changes). Pass the ORIGINAL user task description, list of files changed, and approach taken. The agent runs builds, tests, linters, and checks to produce a PASS/FAIL/PARTIAL verdict with evidence.'inherit'falsetools/AgentTool/built-in/verificationAgent.ts:134-152, tools/AgentTool/builtInAgents.ts:10-10

副表(运行时可用集合受三类变量影响,见 tools/AgentTool/builtInAgents.ts):

idfeature_flagsentrypoint_gatedcoordinator_required
claude-code-guidenon-sdkfalse
ExploreBUILTIN_EXPLORE_PLAN_AGENTS, tengu_amber_stoatfalse
general-purposefalse
PlanBUILTIN_EXPLORE_PLAN_AGENTS, tengu_amber_stoatfalse
statusline-setupfalse
verificationVERIFICATION_AGENT, tengu_hive_evidencefalse