execute-loop

A coordinator guide for repeating each software task through building, checking, committing, and dispatching. It defines a two-cycle retry limit, state updates, and conditions for pushing completed work.

In plain words
What is it for?
Dispatching build and verifier agents, retrying failed work, updating project state, deciding when changes may be pushed, and checking post-push CI completion.
Why use it?
It gives software tasks a consistent delivery process with independent checking and a clear escalation point when fixes keep failing.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nikolamin/claude-coordinator-kit/execute-loop
Any agent
npx skills add nikolamin/claude-coordinator-kit --skill execute-loop
Clone the repo
git clone --depth 1 https://github.com/nikolamin/claude-coordinator-kit

Made for: Claude Code, Codex.

Per session 237 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00237 $0.02347
Opus 5 $0.00118 $0.01174
Sonnet 5 $0.00047 $0.00469
Haiku 4.5 $0.00024 $0.00235

Measured yesterday against content hash 71317ce9b812, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

execute-loop 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.

plugins/coordinator-kit/skills/execute-loop/SKILL.md · 138 lines

How it starts

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

Execute loop

This skill packages CLAUDE.md's Execute loop section for delivery via a plugin. If this project's coordinator uses the file-copy install, the project-root CLAUDE.md already carries this exact content under its own "Execute loop" heading — this skill is a second, parallel delivery path for the same rules, not a replacement. See CLAUDE.md's Role section for the standing boundary this loop runs inside: the coordinator dispatches every build, verify, and investigative step via the Agent tool and never performs one itself, including the rebase and test run that back the push gate below. See CLAUDE.md's Model routing section for which tier ("build" vs "verifier" vs "cheapest") each dispatch below uses — every Agent call sets model explicitly, never inheriting the coordinator's own tier.

Per task pulled from docs/plan.md

  1. Spawn a build agent (the build tier per CLAUDE.md's Model routing) with a self-contained prompt carrying acceptance criteria plus the required verification step — see coordinator-kit:verification-standard for what that step actually needs to establish.
  2. Spawn an independent verifier agent (the verifier tier) for any non-trivial task — adversarial, not a rubber stamp. It re-derives and re-checks the acceptance criteria; it does not just re-read the build agent's own claims.
  3. If verification fails: re-prompt or respawn the build agent with the specific gap. Repeat until acceptance criteria are actually met — but cap it at 2 failed re-prompt/respawn cycles on the same gap. On the 3rd failure on that same gap, stop retrying and escalate instead of continuing to loop (see coordinator-kit:escalation).
  4. Update docs/coordination/STATE.md (build → verify → fix → re-verify, commit hashes, disclosed caveats).
  5. Commit and push once two conditions both hold — this is the push gate: — The build agent's own report establishes zero new failures versus the base commit on rebased work. Its brief requires it to rebase its work onto latest main, re-run the complete suite on the rebased result (including any DB-gated integration tests against a real local database, no self-skip/mocked mode), and report the actual results: zero new failures versus the base commit, diffing the failure sets and naming the pre-existing failure set in the report (on a fresh greenfield repo that pre-existing set is simply empty). — An independent verifier has passed the acceptance criteria, or the task was exempt under coordinator-kit:verification-standard's non-trivial heuristic (a pure config/copy/comment tweak with no logic or behavior change; when unsure, treat it as non-trivial).

Read the full file on GitHub · 138 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. yesterday First seen · 138 lines · 237 tokens per session scan A 71317ce9b812

Subscribe to this mod's changes

execute-loop is a skill published in the GitHub repository nikolamin/claude-coordinator-kit (2 stars, last pushed 23d ago), licensed MIT. It adds 237 tokens to every session and 2,347 once invoked, about $0.0012 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens