| name | skill-researcher |
| description | Conduct general research using web search, documentation, and codebase exploration. Invoke for non-Lean research tasks. |
| allowed-tools | Task, Bash, Edit, Read, Write |
| context | fork |
| agent | general-research-agent |
Researcher Skill
Thin wrapper that delegates research to general-research-agent.
OpenCode research skill wrapper.
Delegate research and coordinate postflight updates.
Delegation skill for general research workflows.
Validate inputs, delegate research, and update status/artifacts.
See Execution Flow for preflight/delegation/postflight steps.
Validate metadata file, report artifact, and state updates.
<return_format>Brief text summary; metadata file in specs/{N}_{SLUG}/.return-meta.json.</return_format>
Context References
Reference (do not load eagerly):
- Path:
.opencode/context/core/formats/return-metadata-file.md - Metadata file schema
- Path:
.opencode/context/core/patterns/postflight-control.md - Marker file protocol
- Path:
.opencode/context/core/patterns/file-metadata-exchange.md - Metadata handling
- Path:
.opencode/context/core/patterns/jq-escaping-workarounds.md - jq workaround patterns
- Path:
.opencode/context/index.md - Context discovery index
Trigger Conditions
- Task language is general, meta, markdown, or latex
- /research command invoked
Execution Flow
- Validate task and status.
- Update status to researching.
- Create postflight marker file.
- Delegate to
general-research-agent via Task tool.
- Read metadata file and update state + TODO.
- Link research artifact and commit.
- Clean up marker and metadata files.