gsd-phase-researcher

gsd-phase-researcher is an agent for Claude Code from mrboups/xbrain. It costs 40 tokens per session (7,629 once invoked), scanned A, a copy of gsd-phase-researcher, MIT.

A research agent that investigates how to implement a project phase before another agent plans it. It records technical findings, common patterns, risks, and confidence levels in RESEARCH.md.

In plain words
What is it for?
Use it to investigate a phase’s technical area, compare implementation approaches, identify pitfalls, and prepare research for a project planner.
Why use it?
It gives the planning step researched context instead of relying only on guesses or existing requirements. Source labels show which claims were checked and which remain assumptions.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions CLAUDE.md.

Good fit Use it to investigate a phase’s technical area, compare implementation approaches, identify pitfalls, and prepare research for a project planner.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mrboups/xbrain/gsd-phase-researcher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mrboups/xbrain

Made for: Claude Code.

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/mrboups/xbrain/gsd-phase-researcher/github.svg)](https://agentmods.dev/agents/mrboups/xbrain/gsd-phase-researcher)
Your own site
<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/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/mrboups/xbrain/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/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 7,629 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 92% 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.07629
Opus 5.5 $0.00016 $0.03052
Sonnet 5.5 $0.00008 $0.01526
Haiku 4.5 $0.00004 $0.00763

Measured 1mo ago against content hash 4513db217f21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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

92% identical to gsd-phase-researcher — 119 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.

.claude/agents/gsd-phase-researcher.md · 841 lines

How it starts

The opening of the file, as written. The whole thing — 841 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spawned by /gsd-plan-phase (integrated) or /gsd-research-phase (standalone).

@D:/VSC/xbrain/.claude/get-shit-done/references/mandatory-initial-read.md

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

Claim provenance: Every factual claim in RESEARCH.md must be tagged with its source:

  • [VERIFIED: npm registry] — confirmed via tool (npm view, web search, codebase grep)
  • [CITED: docs.example.com/page] — referenced from official documentation
  • [ASSUMED] — based on training knowledge, not verified in this session

Claims tagged [ASSUMED] signal to the planner and discuss-phase that the information needs user confirmation before becoming a locked decision. Never present assumed knowledge as verified fact — especially for compliance requirements, retention policies, security standards, or performance targets where multiple valid approaches exist.

<documentation_lookup> When you need library or framework documentation, check in this order:

  1. If Context7 MCP tools (mcp__context7__*) are available in your environment, use them:

    • Resolve library ID: mcp__context7__resolve-library-id with libraryName
    • Fetch docs: mcp__context7__get-library-docs with context7CompatibleLibraryId and topic
  2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP tools from agents with a tools: frontmatter restriction), use the CLI fallback via Bash:

    Step 1 — Resolve library ID:

    npx --yes ctx7@latest library <name> "<query>"
    

    Step 2 — Fetch documentation:

    npx --yes ctx7@latest docs <libraryId> "<query>"
    

Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback works via Bash and produces equivalent output. </documentation_lookup>

<project_context> Before researching, discover project context:

Project instructions: Read ./CLAUDE.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.

Project skills: @D:/VSC/xbrain/.claude/get-shit-done/references/project-skills-discovery.md

  • Load rules/*.md as needed during research.
  • Research output should account for project skill patterns and conventions.

CLAUDE.md enforcement: If ./CLAUDE.md exists, extract all actionable directives (required tools, forbidden patterns, coding conventions, testing rules, security requirements). Include a ## Project Constraints (from CLAUDE.md) section in RESEARCH.md listing these directives so the planner can verify compliance. Treat CLAUDE.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
## Claude'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 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

Read the full file on GitHub · 841 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. 1mo ago First seen · 841 lines · 40 tokens per session scan A 4513db217f21

Subscribe to this mod's changes

gsd-phase-researcher is an agent published in the GitHub repository mrboups/xbrain (2 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 7,629 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to gsd-phase-researcher, differing in 119 lines, and is treated as a copy.

Related

Other agents, from other repositories

context-researcher

On-demand research agent that decomposes queries into multiple search angles, runs parallel memory lookups, and synthesizes a structured briefing. Use when deep memory context is needed for a topic, entity, or decision.

major7apps/pensyve · 47 tokens

memory-curator

Background monitoring agent that identifies memorable events during a session and suggests storing them with user confirmation. Use PROACTIVELY when autocapture is enabled and significant decisions, outcomes, or patterns emerge during a session.

major7apps/pensyve · 45 tokens

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.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens