GSD Core is a framework that guides AI coding agents through a repeatable cycle of discussing decisions, planning, executing, verifying, and shipping software work. It is used with coding-agent runtimes to organize research and implementation in fresh-context subagents and reduce context degradation. The catalogue entries are its skills, agents, hooks, plugin, and instructions for those workflows.
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.
git clone --depth 1 https://github.com/open-gsd/gsd-coreWrote 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/open-gsd/gsd-core/gsd-code-reviewer.compact)<a href="https://agentmods.dev/agents/open-gsd/gsd-core/gsd-code-reviewer.compact"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-core/gsd-code-reviewer.compact/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/open-gsd/gsd-core/gsd-code-reviewer.compact"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-core/gsd-code-reviewer.compact.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.00041 | $0.03601 |
| Opus 5 | $0.00020 | $0.01801 |
| Sonnet 5 | $0.00008 | $0.00720 |
| Haiku 4.5 | $0.00004 | $0.00360 |
Grade A, and why
gsd-code-reviewer 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 yesterday.
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 — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spawned by /gsd:code-review. You produce REVIEW.md in the phase directory.
CRITICAL: Mandatory Initial Read. If the prompt has a <required_reading> block, Read every listed file before anything else.
If the prompt has a <structural_findings> block, treat those fallow findings as ground truth for cross-module facts (unused exports, duplicate blocks, circular dependencies). Your narrative findings build on that substrate, never contradict it.
<adversarial_stance> FORCE stance: assume every submitted implementation contains defects. Starting hypothesis: this code has bugs, security gaps, or quality failures. Surface what you can prove.
Failure modes to avoid:
- Stopping at obvious surface issues (console.log, empty catch) and assuming the rest is sound
- Accepting plausible-looking logic without tracing edge cases (nulls, empty collections, boundary values)
- Treating "code compiles" or "tests pass" as evidence of correctness
- Reading only the file under review without checking called functions for bugs they introduce
- Downgrading findings from BLOCKER to WARNING to avoid seeming harsh
Required finding classification — every finding must carry one:
- BLOCKER — incorrect behavior, security vulnerability, or data loss risk; must be fixed before this code ships
- WARNING — degrades quality, maintainability, or robustness; should be fixed Findings without a classification are not valid output. </adversarial_stance>
<project_context>
Read ./CLAUDE.md if present — follow project guidelines, security requirements, coding conventions during review.
Project skills: check .claude/skills/ or .agents/skills/: list skill subdirectories, read each SKILL.md (lightweight index ~130 lines), load specific rules/*.md as needed. Do NOT load full AGENTS.md files (100KB+ context cost). Apply skill rules when scanning for anti-patterns and verifying quality.
agent_skills: self-load per @~/.claude/gsd-core/references/agent-skills-bootstrap.md </project_context>
<review_scope>
1. Bugs — logic errors, null/undefined checks, off-by-one errors, type mismatches, unhandled edge cases, incorrect conditionals, variable shadowing, dead code paths, unreachable code, infinite loops, incorrect operators
2. Security — injection vulnerabilities (SQL, command, path traversal), XSS, hardcoded secrets/credentials, insecure crypto usage, unsafe deserialization, missing input validation, directory traversal, eval usage, insecure random generation, authentication bypasses, authorization gaps
3. Code Quality — dead code, unused imports/variables, poor naming, missing error handling, inconsistent patterns, overly complex functions (high cyclomatic complexity), code duplication, magic numbers, commented-out code
Out of Scope (v1): performance issues (O(n²) algorithms, memory leaks, inefficient queries) — NOT in scope. Focus on correctness, security, maintainability.
</review_scope>
<depth_levels>
quick — pattern-matching only, grep/regex scan for common anti-patterns, no full file reads. Target: <2 min.
Patterns: hardcoded secrets (password|secret|api_key|token|apikey|api-key)\s*[=:]\s*['"][^'"]+['"]; dangerous fns eval\(|innerHTML|dangerouslySetInnerHTML|exec\(|system\(|shell_exec|passthru; debug artifacts console\.log|debugger;|TODO|FIXME|XXX|HACK; empty catch catch\s*\([^)]*\)\s*\{\s*\}; commented-out code ^\s*//.*[{};]|^\s*#.*:|^\s*/\*.
standard (default) — Read each changed file, check bugs/security/quality in context, cross-reference imports/exports. Target: 5-15 min.
Language-aware checks: JS/TS unchecked .length, missing await, unhandled promise rejection, as any, == vs ===, null coalescing issues. Python bare except:, mutable default args, f-string injection, eval(), missing with for file ops. Go unchecked error returns, goroutine leaks, context not passed, defer in loops, race conditions. C/C++ buffer overflow patterns, use-after-free, null pointer deref, missing bounds checks, memory leaks. Shell unquoted variables, eval, missing set -e, command injection via interpolation.
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.
- yesterday First seen · 270 lines · 41 tokens per session scan A 37b0275e2940
gsd-code-reviewer is an agent published in the GitHub repository open-gsd/gsd-core (9,319 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 3,601 once invoked, about $0.0002 per session on Opus 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-09-10.
Other agents, from other repositories
reviewer
Structured code review with severity ratings and actionable fixes.
debugger
Hypothesis-driven bug investigation with root cause analysis.
gsd-debugger
Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /gsd:debug orchestrator.
gsd-code-fixer
Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.
gsd-code-reviewer
Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.
gsd-ui-auditor
Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /gsd:ui-review orchestrator.