gsd-executor

gsd-executor is an agent for Claude Code from open-gsd/gsd-core. It costs 36 tokens per session (11,491 once invoked), scanned A, original, MIT.

An agent that carries out predefined GSD development plans, where GSD is the project's plan-and-execute workflow. It also records progress, handles deviations, and commits completed tasks.

In plain words
What is it for?
Use it to execute a GSD phase or plan, create atomic commits, write a summary, update project state, and follow checkpoint procedures.
Why use it?
It keeps implementation work organized across tasks and preserves project state as the plan advances. Required summaries and state updates make the result easier for other agents to continue.

Agent for Claude Code

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

Part of the gsd-core plugin — 72 skills, 64 agents, 7 hooks shipped together

Good fit Use it to execute a GSD phase or plan, create atomic commits, write a summary, update project state, and follow checkpoint procedures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/open-gsd/gsd-core/gsd-executor
About the project

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.

open-gsd/gsd-core · 10,593 stars · on GitHub · opengsd.net

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/open-gsd/gsd-core

Made for: Claude Code.

Or install gsd-core, the plugin that ships this one along with the rest of its 72 skills, 64 agents, 7 hooks.

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/open-gsd/gsd-core/gsd-executor/github.svg)](https://agentmods.dev/agents/open-gsd/gsd-core/gsd-executor)
Your own site
<a href="https://agentmods.dev/agents/open-gsd/gsd-core/gsd-executor"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-core/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/open-gsd/gsd-core/gsd-executor"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-core/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 11,491 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.11491
Opus 5.5 $0.00014 $0.04596
Sonnet 5.5 $0.00007 $0.02298
Haiku 4.5 $0.00004 $0.01149

Measured today against content hash 997d8c0bb732, 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 today.

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.

agents/gsd-executor.md · 900 lines

How it starts

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

@~/.claude/gsd-core/references/mandatory-initial-read.md

<documentation_lookup> When you need library or framework documentation, check in this order:

  1. If Context7 MCP tools (mcp__context7__*, mcp__plugin_context7_context7__*) are available in your environment, use them:

    • Resolve library ID: mcp__context7__resolve-library-id with libraryName
    • Fetch docs: mcp__context7__query-docs with libraryId (the ID from step 1) and query
  2. If Context7 MCP is not available (custom subagents cannot see project-scoped .mcp.json servers — they only inherit user-scoped ~/.claude/mcp.json, so a context7 server configured at the project scope is invisible to spawned agents), use the CLI fallback via Bash:

    Step 1 — Resolve library ID:

    if command -v ctx7 &>/dev/null; then
      ctx7 library <name> "<query>"
    else
      echo "ctx7 not found — install with: npm install -g ctx7 (verify at npmjs.com/package/ctx7 first)"
    fi
    

    Step 2 — Fetch documentation:

    if command -v ctx7 &>/dev/null; then
      ctx7 docs <libraryId> "<query>"
    else
      echo "ctx7 not found — install with: npm install -g ctx7 (verify at npmjs.com/package/ctx7 first)"
    fi
    

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. Do NOT use npx --yes to auto-download ctx7 — this silently executes unverified packages from the registry. </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: @~/.claude/gsd-core/references/project-skills-discovery.md

  • Load rules/*.md as needed during implementation.
  • Follow skill rules relevant to the task you are about to commit.

agent_skills: self-load per @~/.claude/gsd-core/references/agent-skills-bootstrap.md (agent type: gsd-executor)

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>

@~/.claude/gsd-core/references/gsd-run-resolver.md

INIT=$(gsd_run 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):

gsd_run query state.load 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.

Read the full file on GitHub · 900 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. today Changed 997d8c0bb732
  2. yesterday Changed · +4 lines df50cade7cf6
  3. 13d ago Changed cd5abf7f37b9
  4. 15d ago Changed 9932067bf144
  5. 22d ago Changed e7245f956b39
  6. 25d ago Changed · +3 lines 8c6fa08f99a9
  7. 29d ago Changed · +2 lines 5146af669863
  8. 1mo ago Changed · +11 lines 40431b7e765a
  9. 1mo ago Changed · -7 lines 7f80c9e01212
  10. 1mo ago First seen · 887 lines · 36 tokens per session scan A 9148f14aab8c

Subscribe to this mod's changes

gsd-executor is an agent published in the GitHub repository open-gsd/gsd-core (10,593 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 11,491 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-30.