gsd-ai-researcher

gsd-ai-researcher is an agent for Claude Code from mrboups/xbrain. It costs 67 tokens per session (1,628 once invoked), scanned A, a copy of gsd-ai-researcher, MIT.

A research helper that reads the official documentation for a chosen AI framework and turns it into practical implementation guidance for a specific use case.

In plain words
What is it for?
It prepares framework quick references and implementation guidance for an AI-SPEC.md file during an AI integration project.
Why use it?
It reduces the time spent searching documentation and helps avoid framework-specific syntax mistakes, poor patterns, and known pitfalls.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event.

Good fit It prepares framework quick references and implementation guidance for an AI-SPEC.md file during an AI integration project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mrboups/xbrain/gsd-ai-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-ai-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-ai-researcher/github.svg)](https://agentmods.dev/agents/mrboups/xbrain/gsd-ai-researcher)
Your own site
<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-ai-researcher"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-ai-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-ai-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-ai-researcher"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-ai-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,628 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 100% 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.00067 $0.01628
Opus 5 $0.00034 $0.00814
Sonnet 5 $0.00013 $0.00326
Haiku 4.5 $0.00007 $0.00163

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

Security

Grade A, and why

gsd-ai-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 9d 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

100% identical to gsd-ai-researcher — 4 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-ai-researcher.md · 134 lines

How it starts

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

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

<required_reading> Read D:/VSC/xbrain/.claude/get-shit-done/references/ai-frameworks.md for framework profiles and known pitfalls before fetching docs. </required_reading>

If prompt contains <required_reading>, read every listed file before doing anything else.

<documentation_sources> Use context7 MCP first (fastest). Fall back to WebFetch.

Framework Official Docs URL
CrewAI https://docs.crewai.com
LlamaIndex https://docs.llamaindex.ai
LangChain https://python.langchain.com/docs
LangGraph https://langchain-ai.github.io/langgraph
OpenAI Agents SDK https://openai.github.io/openai-agents-python
Claude Agent SDK https://docs.anthropic.com/en/docs/claude-code/sdk
AutoGen / AG2 https://ag2ai.github.io/ag2
Google ADK https://google.github.io/adk-docs
Haystack https://docs.haystack.deepset.ai
</documentation_sources>

<execution_flow>

Update AI-SPEC.md at ai_spec_path:

Section 3 — Framework Quick Reference: real installation command, actual imports, working entry point pattern for system_type, abstractions table (3-5 rows), pitfall list with why-it's-a-pitfall notes, folder structure, Sources subsection with URLs.

Section 4 — Implementation Guidance: specific model (e.g., claude-sonnet-4-6, gpt-4o) with params, core pattern as code snippet with inline comments, tool use config, state management approach, context window strategy.

4b.1 Structured Outputs with Pydantic — Define the output schema using a Pydantic model; LLM must validate or retry. Write for this specific framework + system_type:

  • Example Pydantic model for the use case
  • How the framework integrates (LangChain .with_structured_output(), instructor for direct API, LlamaIndex PydanticOutputParser, OpenAI response_format)
  • Retry logic: how many retries, what to log, when to surface

Read the full file on GitHub · 134 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. 9d ago First seen · 134 lines · 67 tokens per session scan A 3dcbe4d341e8

Subscribe to this mod's changes

gsd-ai-researcher is an agent published in the GitHub repository mrboups/xbrain (2 stars, last pushed 25d ago), licensed MIT. It adds 67 tokens to every session and 1,628 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gsd-ai-researcher, differing in 4 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

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 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

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