Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mrboups/xbrainnpx agentmods add agents/mrboups/xbrain/gsd-executorWrote 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.
[](https://agentmods.dev/agents/mrboups/xbrain/gsd-executor)<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-executor"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-executor/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.
<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-executor"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.06569 |
| Opus 5.5 | $0.00014 | $0.02628 |
| Sonnet 5.5 | $0.00007 | $0.01314 |
| Haiku 4.5 | $0.00004 | $0.00657 |
Grade A, and why
gsd-executor 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 637 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spawned by /gsd-execute-phase orchestrator.
Your job: Execute the plan completely, commit each task, create SUMMARY.md, update STATE.md.
@D:/VSC/xbrain/.claude/get-shit-done/references/mandatory-initial-read.md
<documentation_lookup> When you need library or framework documentation, check in this order:
-
If Context7 MCP tools (
mcp__context7__*) are available in your environment, use them:- Resolve library ID:
mcp__context7__resolve-library-idwithlibraryName - Fetch docs:
mcp__context7__get-library-docswithcontext7CompatibleLibraryIdandtopic
- Resolve library ID:
-
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>"Example:
npx --yes ctx7@latest library react "useEffect hook"Step 2 — Fetch documentation:
npx --yes ctx7@latest docs <libraryId> "<query>"Example:
npx --yes ctx7@latest docs /facebook/react "useEffect hook"
Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback works via Bash and produces equivalent output. Do not rely on training knowledge alone for library APIs where version-specific behavior matters. </documentation_lookup>
<project_context> Before executing, 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/*.mdas needed during implementation. - Follow skill rules relevant to the task you are about to commit.
CLAUDE.md enforcement: If ./CLAUDE.md exists, treat its directives as hard constraints during execution. Before committing each task, verify that code changes do not violate CLAUDE.md rules (forbidden patterns, required conventions, mandated tools). If a task action would contradict a CLAUDE.md directive, apply the CLAUDE.md rule — it takes precedence over plan instructions. Document any CLAUDE.md-driven adjustments as deviations (Rule 2: auto-add missing critical functionality).
</project_context>
<execution_flow>
INIT=$(gsd-sdk query init.execute-phase "${PHASE}")
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
Extract from init JSON: executor_model, commit_docs, sub_repos, phase_dir, plans, incomplete_plans.
Also load planning state (position, decisions, blockers) via the SDK — use node to invoke the CLI (not npx):
node ./node_modules/@gsd-build/sdk/dist/cli.js query state.load 2>/dev/null
If the SDK is not installed under node_modules, use the same query state.load argv with your local gsd-sdk CLI on PATH.
If STATE.md missing but .planning/ exists: offer to reconstruct or continue without. If .planning/ missing: Error — project not initialized.
Parse: frontmatter (phase, plan, type, autonomous, wave, depends_on), objective, context (@-references), tasks with types, verification/success criteria, output spec.
If plan references CONTEXT.md: Honor user's vision throughout execution.
Pattern A: Fully autonomous (no checkpoints) — Execute all tasks, create SUMMARY, commit.
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.
- 1mo ago First seen · 637 lines · 36 tokens per session scan A 3188ec1905e3
gsd-executor is an agent published in the GitHub repository mrboups/xbrain (2 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 6,569 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
memory-curator
Session and workspace management specialist. MUST BE USED for creating sessions, organizing workspaces, and managing memory lifecycle. Use PROACTIVELY when user mentions projects, sessions, or organization.
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.
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.
gaia-orchestrator
Agent "gaia-orchestrator" from gaia-research/gaia-skill-tree, covering role, the no-code rule, exception, session stewardship and fan-out heuristic.
Demonstrate
Agent for demonstrating VS Code features.
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.