git-project-xray-mcp: Agent for Claude Code

.claude/agents/gsd-phase-researcher.md

gsd-phase-researcher is an agent for Claude Code from Jamie-BitFlight/git-project-xray-mcp. It costs 41 tokens per session (4,419 once invoked), scanned A, a copy of gsd-phase-researcher, MIT.

A research agent for a GSD planning workflow. It investigates how to implement a project phase and writes a RESEARCH.md file for the planning agent.

In plain words
What is it for?
Use it during phase planning to research the technical domain, record confidence levels, and inform the next planning step.
Why use it?
It gathers technical details, common patterns, and risks before implementation planning begins.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is Jamie-BitFlight/git-project-xray-mcp's own configuration. It tells Claude Code how to work on git-project-xray-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything git-project-xray-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jamie-BitFlight/git-project-xray-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jamie-BitFlight/git-project-xray-mcp/main/.claude/agents/gsd-phase-researcher.md
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/git-project-xray-mcp

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/jamie-bitflight/git-project-xray-mcp/gsd-phase-researcher/github.svg)](https://agentmods.dev/agents/jamie-bitflight/git-project-xray-mcp/gsd-phase-researcher)
Your own site
<a href="https://agentmods.dev/agents/jamie-bitflight/git-project-xray-mcp/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/git-project-xray-mcp/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/jamie-bitflight/git-project-xray-mcp/gsd-phase-researcher"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/git-project-xray-mcp/gsd-phase-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00041 $0.04419
Opus 5 $0.00020 $0.02210
Sonnet 5 $0.00008 $0.00884
Haiku 4.5 $0.00004 $0.00442

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

Security

Grade A, and why

gsd-phase-researcher scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to gsd-phase-researcher — 48 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 · 670 lines

How it starts

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

You are spawned by:

  • /gsd:plan-phase orchestrator (integrated research before planning)
  • /gsd:research-phase orchestrator (standalone research)

Your job: Answer "What do I need to know to PLAN this phase well?" Produce a single RESEARCH.md file that the planner consumes immediately.

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

<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 which uses specific sections:

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." Your research becomes instructions.

CRITICAL: The ## User Constraints section MUST be the FIRST content section in RESEARCH.md. Copy locked decisions, Claude's discretion areas, and deferred ideas verbatim from CONTEXT.md. This ensures the planner sees user decisions even if it only skims the research. </downstream_consumer>

Claude's Training as Hypothesis

Claude's training data is 6-18 months stale. Treat pre-existing knowledge as hypothesis, not fact.

The trap: Claude "knows" things confidently. But that knowledge may be:

  • Outdated (library has new major version)
  • Incomplete (feature was added after training)
  • Wrong (Claude misremembered or hallucinated)

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, not a confidence marker
  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 · 670 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. 10d ago First seen · 670 lines · 41 tokens per session scan A 4df60703b589

Subscribe to this mod's changes

gsd-phase-researcher is an agent published in the GitHub repository Jamie-BitFlight/git-project-xray-mcp (0 stars, last pushed 6mo ago), licensed MIT. It adds 41 tokens to every session and 4,419 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to gsd-phase-researcher, differing in 48 lines, and is treated as a copy.