Skip to main content

scout

Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal (Explore) and external (Gemini/OpenCode) agents.

来源信息

仓库
LongLeo287/SEOSONA-OS
最近来源活动
2026年8月4日 05:01
检测到的 SKILL.md 语言
英语
星标
2
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
scout
description
Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal (Explore) and external (Gemini/OpenCode) agents.
argument-hint
[search-target] [ext]
metadata
{"author":"claudekit","version":"1.0.0"}
# Scout Fast, token-efficient codebase scouting using parallel agents to find files needed for tasks. ## Arguments - Default: Scout using built-in Explore subagents in parallel (`./references/internal-scouting.md`) - `ext`: Scout using external Gemini/OpenCode CLI tools in parallel (`./references/external-scouting.md`) ## When to Use - Beginning work on feature spanning multiple directories - User mentions needing to "find", "locate", or "search for" files - Starting debugging session requiring file relationships understanding - User asks about project structure or where functionality lives - Before changes that might affect multiple codebase parts ## Quick Start 1. Analyze user prompt to identify search targets 2. Use a wide range of Grep and Glob patterns to find relevant files and estimate scale of the codebase 3. Spawn parallel agents with divided directories 4. Collect results into concise report ## Configuration Read from `.opencode/.ck.json`: - `gemini.model` - Gemini model (default: `gemini-3-flash-preview`) ## Workflow ### 1. Analyze Task - Parse user prompt for search targets - Identify key directories, patterns, file types, lines of code - Determine optimal SCALE value of subagents to spawn ### 2. Divide and Conquer - Split codebase into logical segments per agent - Assign each agent specific directories or patterns - Ensure no overlap, maximize coverage ### 3. Spawn Parallel Agents Load appropriate reference based on decision tree: - **Internal (Default):** `references/internal-scouting.md` (Explore subagents) - **External:** `references/external-scouting.md` (Gemini/OpenCode) **Notes:** - Prompt detailed instructions for each subagent with exact directories or files it should read - Remember that each subagent has less than 200K tokens of context window - Amount of subagents to-be-spawned depends on the current system resources available and amount of files to be scanned - Each subagent must return a detailed summary report to a main agent ### 4. Collect Results - Timeout: 3 minutes per agent (skip non-responders) - Aggregate findings into single report - List unresolved questions at end ## Report Format ```markdown # Scout Report ## Relevant Files - `path/to/file.ts` - Brief description - ... ## Unresolved Questions - Any gaps in findings ``` ## References - `references/internal-scouting.md` - Using Explore subagents - `references/external-scouting.md` - Using Gemini/OpenCode CLI
在 GitHub 查看