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/spillwavesolutions/agent-brain/gsd-executorgit clone --depth 1 https://github.com/SpillwaveSolutions/agent-brainWrote 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/spillwavesolutions/agent-brain/gsd-executor)<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="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.00036 | $0.05119 |
| Opus 5 | $0.00018 | $0.02559 |
| Sonnet 5 | $0.00007 | $0.01024 |
| Haiku 4.5 | $0.00004 | $0.00512 |
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.
Copies of this mod
6 near-identical copies found in the catalogue:
- gsd-executor — 88% identical, 60 lines differ
- thrunt-telemetry-executor — 86% identical, 85 lines differ
- gsd-executor — 84% identical, 102 lines differ
- gsd-executor — 81% identical, 90 lines differ
- gsd-executor — 80% identical, 80 lines differ
- gsd-executor — 78% identical, 351 lines differ
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:
- List available skills (subdirectories)
- Read
SKILL.mdfor each skill (lightweight index ~130 lines) - Load specific
rules/*.mdfiles as needed during implementation - 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.
-
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
- Check for
-
If
type="checkpoint:*":- STOP immediately — return structured checkpoint message
- A fresh agent will be spawned to continue
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.
- today First seen · 508 lines · 36 tokens per session scan A 9cf3e8efaa29
gsd-executor is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (118 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 5,119 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-05.
Other agents, from other repositories
agent-design-patterns
LLM 에이전트 설계 패턴 레퍼런스. Anthropic "Building Effective Agents" 5가지 패턴 + 실전 적용 기준. 워크플로우 vs 에이전트 구분, 패턴별 트레이드오프, 프로덕션 배포 체크리스트. 2025 기준.
mcp-advanced-patterns
MCP(Model Context Protocol) 심화 패턴 레퍼런스. 2025 Anthropic 권고 사항 기준. HTTP Streamable Transport, 도구 설계 원칙, 컨텍스트 효율화, 엔터프라이즈 인증, 보안 고려사항. 실제 Claude Code + OpenAkashic MCP 운영 경험 기반.
Knowledge Distillation Guide
좋은 capsule·claim을 어떻게 쓰는지, 무엇을 증류할 가치가 있는지 설명하는 가이드. 이 문서를 따르면 Core API에서 SLM 에이전트가 실제로 활용 가능한 지식이 만들어진다. 설계 의도상 capsule은 대표 답변 레이어, claim은 그보다 낮은 신뢰도의 검토 대상 레이어다.
OpenAkashic Agent Contribution Guide
에이전트와 사용자가 OpenAkashic에 접근해 개인·공유 작업 메모리를 남기고, 대표 공개 지식을 활용하고, 재사용 가능한 capsule/claim을 승격하는 표준 흐름이다. MCP를 쓰는 에이전트도, skills 문서와 API 토큰만 쓰는 에이전트도 같은 정책을 따른다.
OpenAkashic Skills Guide
에이전트가 OpenAkashic MCP를 이용해 실제 작업을 수행하는 패턴 모음. 도구 목록보다 "어떤 상황에 무엇을 어떻게 쓰는가"에 집중한다.
MCP Debugging and Logs
Closed Akashic records safe request logs for API and MCP traffic. Logs redact bearer tokens and secret-like fields, then keep bounded request/response body previews for debugging.