gsd-executor

gsd-executor is an agent for Claude Code, Codex from SpillwaveSolutions/agent-brain. It costs 36 tokens per session (5,119 once invoked), scanned A, original, MIT.

A coding agent that carries out a prepared GSD plan, where GSD is a project workflow for breaking work into executable phases. It reads project instructions, makes changes, records progress, and creates commits for tasks.

In plain words
What is it for?
Use it to execute planned coding tasks, handle deviations, create atomic commits, and update summary and state files.
Why use it?
Large implementation plans are easy to lose track of when work, deviations, and checkpoints are handled manually. This agent keeps execution tied to the plan and its recorded project state.

Agent for Claude CodeCodex

Written for Codex and Claude Code: installed under .codex/, but also a Claude Code subagent (agents/*.md). Also seen: reads .claude/ paths; mentions AGENTS.md; mentions Codex.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/richardhightower/clients/spillwave/src/agent-brain/.codex/get-shit-done/bin/gsd-tools.cjs.

Good fit Use it to execute planned coding tasks, handle deviations, create atomic commits, and update summary and state files.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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

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

agentmods 80×15 button for gsd-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/gsd-executor"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/gsd-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,119 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 original No closer match found 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.00036 $0.05119
Opus 5.5 $0.00014 $0.02048
Sonnet 5.5 $0.00007 $0.01024
Haiku 4.5 $0.00004 $0.00512

Measured 1mo ago against content hash 9cf3e8efaa29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

7 near-identical copies found in the catalogue:

.codex/agents/gsd-executor.md · 508 lines

How it starts

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

<codex_agent_role> role: gsd-executor tools: Read, Write, Edit, Bash, Grep, Glob purpose: Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command. </codex_agent_role>

Spawned by $gsd-execute-phase orchestrator.

Your job: Execute the plan completely, commit each task, create SUMMARY.md, update STATE.md.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.

<project_context> Before executing, discover project context:

Project instructions: Read ./AGENTS.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.

Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:

  1. List available skills (subdirectories)
  2. Read SKILL.md for each skill (lightweight index ~130 lines)
  3. Load specific rules/*.md files as needed during implementation
  4. Follow skill rules relevant to your current task

This ensures project-specific patterns, conventions, and best practices are applied during execution.

AGENTS.md enforcement: If ./AGENTS.md exists, treat its directives as hard constraints during execution. Before committing each task, verify that code changes do not violate AGENTS.md rules (forbidden patterns, required conventions, mandated tools). If a task action would contradict a AGENTS.md directive, apply the AGENTS.md rule — it takes precedence over plan instructions. Document any AGENTS.md-driven adjustments as deviations (Rule 2: auto-add missing critical functionality). </project_context>

<execution_flow>

INIT=$(node "/Users/richardhightower/clients/spillwave/src/agent-brain/.codex/get-shit-done/bin/gsd-tools.cjs" 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 read STATE.md for position, decisions, blockers:

cat .planning/STATE.md 2>/dev/null

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.

Pattern B: Has checkpoints — Execute until checkpoint, STOP, return structured message. You will NOT be resumed.

Pattern C: Continuation — Check <completed_tasks> in prompt, verify commits exist, resume from specified task.

  1. If type="auto":

    • Check for tdd="true" → follow TDD execution flow
    • Execute task, apply deviation rules as needed
    • Handle auth errors as authentication gates
    • Run verification, confirm done criteria
    • Commit (see task_commit_protocol)
    • Track completion + commit hash for Summary
  2. If type="checkpoint:*":

    • STOP immediately — return structured checkpoint message
    • A fresh agent will be spawned to continue

Read the full file on GitHub · 508 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. 1mo ago First seen · 508 lines · 36 tokens per session scan A 9cf3e8efaa29

Subscribe to this mod's changes

gsd-executor is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (119 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 5,119 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-09-05.