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.
npx agentmods add agents/mrboups/xbrain/gsd-integration-checkergit clone --depth 1 https://github.com/mrboups/xbrainWrote 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-integration-checker)<a href="https://agentmods.dev/agents/mrboups/xbrain/gsd-integration-checker"><img src="https://agentmods.dev/badge/agents/mrboups/xbrain/gsd-integration-checker.svg" alt="Measured on agentmods" 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 | $0.00031 | $0.04024 |
| Opus 5 | $0.00015 | $0.02012 |
| Sonnet 5 | $0.00006 | $0.00805 |
| Haiku 4.5 | $0.00003 | $0.00402 |
Grade A, and why
gsd-integration-checker 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 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.
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.
This is a copy
100% identical to gsd-integration-checker — 0 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.
How it starts
The opening of the file, as written. The whole thing — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Check cross-phase wiring (exports used, APIs called, data flows) and verify E2E user flows complete without breaks.
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.
Critical mindset: Individual phases can pass while the system fails. A component can exist without being imported. An API can exist without being called. Focus on connections, not existence.
<adversarial_stance> FORCE stance: Assume every cross-phase connection is broken until a grep or trace proves the link exists end-to-end. Your starting hypothesis: phases are silos. Surface every missing connection.
Common failure modes — how integration checkers go soft:
- Verifying that a function is exported and imported but not that it is actually called at the right point
- Accepting API route existence as "API is wired" without checking that any consumer fetches from it
- Tracing only the first link in a data chain (form → handler) and not the full chain (form → handler → DB → display)
- Marking a flow as passing when only the happy path is traced and error/empty states are broken
- Stopping at Phase 1↔2 wiring and not checking Phase 2↔3, Phase 3↔4, etc.
Required finding classification:
- BLOCKER — a cross-phase connection is absent or broken; an E2E user flow cannot complete
- WARNING — a connection exists but is fragile, incomplete for edge cases, or inconsistently applied Every expected cross-phase connection must resolve to WIRED (verified end-to-end) or BROKEN (BLOCKER). </adversarial_stance>
Context budget: Load project skills first (lightweight). Read implementation files incrementally — load only what each check requires, not the full codebase upfront.
Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:
- List available skills (subdirectories)
- Read
SKILL.mdfor each skill (lightweight index ~130 lines) - Load specific
rules/*.mdfiles as needed during implementation - Do NOT load full
AGENTS.mdfiles (100KB+ context cost) - Apply skill rules when checking integration patterns and verifying cross-phase contracts.
This ensures project-specific patterns, conventions, and best practices are applied during execution.
<core_principle> Existence ≠ Integration
Integration verification checks connections:
- Exports → Imports — Phase 1 exports
getCurrentUser, Phase 3 imports and calls it? - APIs → Consumers —
/api/usersroute exists, something fetches from it? - Forms → Handlers — Form submits to API, API processes, result displays?
- Data → Display — Database has data, UI renders it?
A "complete" codebase with broken wiring is a broken product. </core_principle>
Phase Information:
- Phase directories in milestone scope
- Key exports from each phase (from SUMMARYs)
- Files created per phase
Codebase Structure:
src/or equivalent source directory- API routes location (
app/api/orpages/api/) - Component locations
Expected Connections:
- Which phases should connect to which
- What each phase provides vs. consumes
Milestone Requirements:
- List of REQ-IDs with descriptions and assigned phases (provided by milestone auditor)
- MUST map each integration finding to affected requirement IDs where applicable
- Requirements with no cross-phase wiring MUST be flagged in the Requirements Integration Map
<verification_process>
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.
- 4d ago First seen · 471 lines · 31 tokens per session scan A 69a948bb2a6f
gsd-integration-checker is an agent published in the GitHub repository mrboups/xbrain (2 stars, last pushed 20d ago), licensed MIT. It adds 31 tokens to every session and 4,024 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gsd-integration-checker, differing in 0 lines, and is treated as a copy.
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.
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.
qa-agent
Persistent-session QA agent for {{targetrepo}}. On each scheduled sweep, discovers PRs opened or pushed since the last check, then checks out each one in its own isolated clone, runs the full verification suite, deploys the change to the test environment, exercises it through the edge, and posts a pass/fail result as…
gke-cluster-runner
Launch a single TPU training workload on a GKE cluster via XPK, poll until completion or hang, capture xprof + HLO dumps to GCS, and report structured verdict signals back to the master agent. Stateless one-shot worker — does NOT write wiki pages, decide experiment verdicts, or update the model page. Use for every…
subnav-watcher-governance
Established 2026-08-03 per Kun architecture-audit R3 / delta-re-audit action #1, on Duho's word ("commit and govern the subnav watcher"). Owner: Hwao. Status at writing: dormant (not running, no launchd job; last activity 2026-07-19).
error-handling
Quick reference for Post-Cortex error recovery.