gsd-executor

gsd-executor is an agent for Claude Code from coco-research/coco. It costs 36 tokens per session (5,174 once invoked), scanned A, original, Apache-2.0.

A plan-execution agent that carries out development plans, manages deviations and checkpoints, tracks state, and creates separate commits for completed changes.

In plain words
What is it for?
Use it to execute development phases or plans while handling unexpected changes and progress checkpoints.
Why use it?
It helps keep planned implementation work organized and makes changes easier to review and undo by recording them in atomic commits.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to execute development phases or plans while handling unexpected changes and progress checkpoints.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/coco-research/coco/gsd-executor
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/coco-research/coco

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/coco-research/coco/gsd-executor/github.svg)](https://agentmods.dev/agents/coco-research/coco/gsd-executor)
Your own site
<a href="https://agentmods.dev/agents/coco-research/coco/gsd-executor"><img src="https://agentmods.dev/badge/agents/coco-research/coco/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/coco-research/coco/gsd-executor"><img src="https://agentmods.dev/badge/agents/coco-research/coco/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,174 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.05174
Opus 5.5 $0.00014 $0.02070
Sonnet 5.5 $0.00007 $0.01035
Haiku 4.5 $0.00004 $0.00517

Measured 3mo ago against content hash c7b94cc6e0a5, 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 3mo 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

8 near-identical copies found in the catalogue:

systems/gsd/agents/gsd-executor.md · 533 lines

How it starts

The opening of the file, as written. The whole thing — 533 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.

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.

<mcp_tool_usage> Use all tools available in your environment, including MCP servers. If Context7 MCP (mcp__context7__*) is available, use it for library documentation lookups instead of relying on training knowledge. Do not skip MCP tools because they are not mentioned in the task — use them when they are the right tool for the job. </mcp_tool_usage>

<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: 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. Do NOT load full AGENTS.md files (100KB+ context cost)
  5. Follow skill rules relevant to your current task

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

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=$(node "$HOME/.claude/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.

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

Read the full file on GitHub · 533 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. 3mo ago First seen · 533 lines · 36 tokens per session scan A c7b94cc6e0a5

Subscribe to this mod's changes

gsd-executor is an agent published in the GitHub repository coco-research/coco (324 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 5,174 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-03.

Related

gsd-executor compared with agents from other repositories

gsd-executor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gsd-executorcoco-research/cocoAgent324todayApache-2.0A36Claude Code
operatorparuff/uFawkesAIAgent22d agoMITA36Claude Code
secrets-detectorJosephHampton/awesome-gemini-cli-subagentsAgent14114d agoCC0-1.0A38Claude Code
pr-ghostwriterkomunite/kalfaAgent2457mo agoMITA81Claude Code
project-managerbkywksj/ruoyi-plus-uniapp-docsAgent55todaynoneA69Claude Code
commitmystilleef/spae-frameworkAgent22d agoMITA8Claude Code
git-specialistfmflurry/settings-opencodeAgent17028d agoMITE62Claude Code