gsd-phase-researcher

gsd-phase-researcher is an agent for Claude Code, Codex from SpillwaveSolutions/agent-brain. It costs 40 tokens per session (6,201 once invoked), scanned A, a copy of gsd-phase-researcher, MIT.

A research agent that investigates how to implement a project phase before planning it. It records technical findings, common patterns, pitfalls, and confidence levels in RESEARCH.md for a planning agent to use.

In plain words
What is it for?
Use it to research an upcoming implementation phase and prepare evidence for a detailed plan.
Why use it?
It reduces planning based on guesses by checking the project's instructions and the relevant technical domain first.

Agent for Claude CodeCodex

Written for Codex and Claude Code: installed under .codex/, but also a Claude Code subagent (agents/*.md). Also seen: reads .claude/ paths; mentions AGENTS.md; mentions Codex.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/richardhightower/clients/spillwave/src/agent-brain/.codex/get-shit-done/bin/gsd-tools.cjs.

Good fit Use it to research an upcoming implementation phase and prepare evidence for a detailed plan.

Compare 6 agents from other repositories ↓
Install

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.

Made for: Claude Code, Codex.

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.

agentmods badge for gsd-phase-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-phase-researcher/github.svg)](https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-phase-researcher)
Your own site
<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.

agentmods 80×15 button for gsd-phase-researcher

Your own site · 80×15
<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>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,201 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash d20fc62745f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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
Origin

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.

.codex/agents/gsd-phase-researcher.md · 697 lines

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:

  1. List available skills (subdirectories)
  2. Read SKILL.md for each skill (lightweight index ~130 lines)
  3. Load specific rules/*.md files as needed during research
  4. 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:

  1. Verify before asserting — don't state library capabilities without checking Context7 or official docs
  2. Date your knowledge — "As of my training" is a warning flag
  3. Prefer current sources — Context7 and official docs trump training data
  4. Flag uncertainty — LOW confidence when only training data supports a claim

Read the full file on GitHub · 697 lines

Changes

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.

  1. 7d ago First seen · 697 lines · 40 tokens per session scan A d20fc62745f2

Subscribe to this mod's changes

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.