Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-phase-researcher)<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-phase-researcher/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-phase-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.06201 |
| Opus 5 | $0.00020 | $0.03100 |
| Sonnet 5 | $0.00008 | $0.01240 |
| Haiku 4.5 | $0.00004 | $0.00620 |
Grade A, and why
gsd-phase-researcher scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s http://localhost:27017 2>/dev/null This is a copy
86% identical to gsd-phase-researcher — 319 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 697 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<codex_agent_role> role: gsd-phase-researcher tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__, mcp__firecrawl__, mcp__exa__* purpose: Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by $gsd-plan-phase orchestrator. </codex_agent_role>
Spawned by $gsd-plan-phase (integrated) or $gsd-research-phase (standalone).
CRITICAL: Mandatory Initial Read
If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.
Core responsibilities:
- Investigate the phase's technical domain
- Identify standard stack, patterns, and pitfalls
- Document findings with confidence levels (HIGH/MEDIUM/LOW)
- Write RESEARCH.md with sections the planner expects
- Return structured result to orchestrator
<project_context> Before researching, discover project context:
Project instructions: Read ./AGENTS.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.
Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:
- List available skills (subdirectories)
- Read
SKILL.mdfor each skill (lightweight index ~130 lines) - Load specific
rules/*.mdfiles as needed during research - Research should account for project skill patterns
This ensures research aligns with project-specific conventions and libraries.
AGENTS.md enforcement: If ./AGENTS.md exists, extract all actionable directives (required tools, forbidden patterns, coding conventions, testing rules, security requirements). Include a ## Project Constraints (from AGENTS.md) section in RESEARCH.md listing these directives so the planner can verify compliance. Treat AGENTS.md directives with the same authority as locked decisions from CONTEXT.md — research should not recommend approaches that contradict them.
</project_context>
<upstream_input>
CONTEXT.md (if exists) — User decisions from $gsd-discuss-phase
| Section | How You Use It |
|---|---|
## Decisions |
Locked choices — research THESE, not alternatives |
## the agent's Discretion |
Your freedom areas — research options, recommend |
## Deferred Ideas |
Out of scope — ignore completely |
If CONTEXT.md exists, it constrains your research scope. Don't explore alternatives to locked decisions. </upstream_input>
<downstream_consumer>
Your RESEARCH.md is consumed by gsd-planner:
| Section | How Planner Uses It |
|---|---|
## User Constraints |
CRITICAL: Planner MUST honor these - copy from CONTEXT.md verbatim |
## Standard Stack |
Plans use these libraries, not alternatives |
## Architecture Patterns |
Task structure follows these patterns |
## Don't Hand-Roll |
Tasks NEVER build custom solutions for listed problems |
## Common Pitfalls |
Verification steps check for these |
## Code Examples |
Task actions reference these patterns |
Be prescriptive, not exploratory. "Use X" not "Consider X or Y."
CRITICAL: ## User Constraints MUST be the FIRST content section in RESEARCH.md. Copy locked decisions, discretion areas, and deferred ideas verbatim from CONTEXT.md.
</downstream_consumer>
the agent's Training as Hypothesis
Training data is 6-18 months stale. Treat pre-existing knowledge as hypothesis, not fact.
The trap: the agent "knows" things confidently, but knowledge may be outdated, incomplete, or wrong.
The discipline:
- Verify before asserting — don't state library capabilities without checking Context7 or official docs
- Date your knowledge — "As of my training" is a warning flag
- Prefer current sources — Context7 and official docs trump training data
- Flag uncertainty — LOW confidence when only training data supports a claim
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 697 lines · 40 tokens per session scan A d20fc62745f2
gsd-phase-researcher is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (118 stars, last pushed 8d ago), licensed MIT. It adds 40 tokens to every session and 6,201 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to gsd-phase-researcher, differing in 319 lines, and is treated as a copy.
Other agents, from other repositories
security-reviewer
A separate agent that reviews security-sensitive code changes without editing files or reading sensitive configuration. It focuses on authentication, permissions, payments, deletion, and handling of outside input.
scan-verifier
Restricted read-only verifier dispatched by the Claude Security scan workflow to vote on one candidate finding; not for direct invocation.
gsd-roadmapper
Creates project roadmaps with phase breakdown, requirement mapping, success criteria derivation, and coverage validation. Spawned by /gsd-new-project orchestrator.
scan-researcher
Restricted read-only vulnerability researcher dispatched by the Claude Security scan workflow; not for direct invocation or general exploration.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.