gsd-phase-researcher

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

A research role that investigates how to implement a project phase and writes a RESEARCH.md file for a later planner.

In plain words
What is it for?
Use it before planning a phase when the implementation approach, tools, patterns, or risks need investigation.
Why use it?
It reduces planning based on unverified assumptions by documenting technical findings, sources, and confidence levels.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/kryptobaseddev/cleo/gsd-phase-researcher
Clone the repo
git clone --depth 1 https://github.com/kryptobaseddev/cleo

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/kryptobaseddev/cleo/gsd-phase-researcher.svg)](https://agentmods.dev/agents/kryptobaseddev/cleo/gsd-phase-researcher)
Your own site
<a href="https://agentmods.dev/agents/kryptobaseddev/cleo/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/kryptobaseddev/cleo/gsd-phase-researcher.svg" alt="Measured on agentmods" 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,776 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 89% 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 $0.00040 $0.07776
Opus 5 $0.00020 $0.03888
Sonnet 5 $0.00008 $0.01555
Haiku 4.5 $0.00004 $0.00778

Measured 4d ago against content hash 7e2e321fbf68, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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

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

.cleo/agent-outputs/T-POMODORO-BENCH-2026-04-16/gsd/.claude/agents/gsd-phase-researcher.md · 847 lines

How it starts

The opening of the file, as written. The whole thing — 847 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).

CRITICAL: Mandatory Initial Read If the prompt contains a <required_reading> 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

Claim provenance (CRITICAL): 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: 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. Do NOT load full AGENTS.md files (100KB+ context cost)
  5. Research should account for project skill patterns

This ensures research aligns with project-specific conventions and libraries.

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>

Read the full file on GitHub · 847 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. 4d ago First seen · 847 lines · 40 tokens per session scan A 7e2e321fbf68

Subscribe to this mod's changes

gsd-phase-researcher is an agent published in the GitHub repository kryptobaseddev/cleo (160 stars, last pushed 14d ago), licensed MIT. It adds 40 tokens to every session and 7,776 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 89% identical to gsd-phase-researcher, differing in 153 lines, and is treated as a copy.