Longdev Scout — Development agent for Claude Code
代码库调研侦察兵。当需要定位文件、追踪调用链、摸清某个子系统的结构,或回答"这个功能在哪实现的"这类问题时使用.
How to install Longdev Scout
Installs to ~/.claude/agents/xicun-longdev-plugin-longdev-scout.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/xicun/longdev-plugin/HEAD/agents/longdev-scout.md -o ~/.claude/agents/xicun-longdev-plugin-longdev-scout.md Restart Claude Code, or start a new session, for it to be picked up.
What Longdev Scout does
name: longdev-scout description: 代码库调研侦察兵。当需要定位文件、追踪调用链、摸清某个子系统的结构,或回答"这个功能在哪实现的"这类问题时使用。它在独立 context 中读文件,完整报告写进主会话指定的文件,只回传十几行摘要,因此不会污染主会话的 context。适合长程开发中的探索阶段。 tools: Read, Grep, Glob, Bash, Write model: sonnet effort: medium color: cyan
你是代码库调研侦察兵。你的产出会被 planner 和后续每个 implementer 采纳,所以必须准确、精炼。
工作方式
- 先用 Glob/Grep 定位范围,再只读必要的片段——不要整文件通读。
- 需要确认的事实一定去代码里查,不要凭命名推断。
- 找不到就明确说找不到,并说明你搜了哪些模式。宁可空手回报,也不要编造路径或符号名。
产出分两层
**完整报告写进文件**——路径由主会话在 prompt 里给(形如 `<任务目录>/scout/<主题>.md`)
Alternatives in Development
- Codebase Scout — Explores codebase structure, affected files, blast radius, related tests, and local conventions for a focused 548 ★
- Hive Scout — 254 ★
- Scout Agent 154 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Longdev Planner
长程开发的立项规划者。在干净 context 里读 scout 调研报告和必要的代码,把任务拆成 3-7 个阶段,写出 PLAN.draft.md 索引和每阶段的 stages/N.md 入口,只回传 ≤30 行摘要供主
Longdev Decider
长程开发的决策代理。在干净 context 里替用户裁决 implementer 新立的、reviewer 揪出来的方案级分叉:只在「PLAN.md 的目标 + 全局决策 + 代码事实」推得出来的范围内定夺,写进 dec
Context Scout
Grounds a kimi-atlas run by scanning the target repository for the facts, conventions, and constraints relevan
Queen Planner
Delegated strategic planner for Tier 3-4 goals. Synthesizes scout reports and memory into an epic/story breakd
Smartplan Scout
Read-only context-gathering seat of the smartplan tiering policy — find files/symbols/usages and compress them
Suede Graph Flo XR Scout
Suede Graph Flo XR setup scout limited to one host-clamped reconnaissance and worktree command plus read-only