autonomous-loop

autonomous-loop is a skill for Claude Code from BechsteinDigital/claude-shiploop. It costs 63 tokens per session (1,906 once invoked), scanned A, original, MIT.

An automated delivery process for a prepared software project, using separate roles for planning, implementation, review, and release. It works from project documents that define the project brief, current state, and backlog.

In plain words
What is it for?
Use it to continue building an MVP, resume work after an interruption, or run planned backlog items through implementation and review without ongoing user input.
Why use it?
It removes the need to coordinate each development step manually and keeps work tied to approved scope, acceptance checks, and limits on parallel changes.

Skill for Claude Code

Written for Claude Code: disallowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Part of the claude-shiploop plugin — 8 skills shipped together

Good fit Use it to continue building an MVP, resume work after an interruption, or run planned backlog items through implementation and review without ongoing user input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bechsteindigital/claude-shiploop/autonomous-loop
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.

Any agent
npx skills add BechsteinDigital/claude-shiploop --skill autonomous-loop
Clone the repo
git clone --depth 1 https://github.com/BechsteinDigital/claude-shiploop

Made for: Claude Code.

Or install claude-shiploop, the plugin that ships this one along with the rest of its 8 skills.

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 autonomous-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/bechsteindigital/claude-shiploop/autonomous-loop.svg)](https://agentmods.dev/skills/bechsteindigital/claude-shiploop/autonomous-loop)
Your own site
<a href="https://agentmods.dev/skills/bechsteindigital/claude-shiploop/autonomous-loop"><img src="https://agentmods.dev/badge/skills/bechsteindigital/claude-shiploop/autonomous-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,906 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.00063 $0.01906
Opus 5 $0.00032 $0.00953
Sonnet 5 $0.00013 $0.00381
Haiku 4.5 $0.00006 $0.00191

Measured 8d ago against content hash 71092cbb4986, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

autonomous-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 8d 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.

autonomous-loop/SKILL.md · 80 lines

How it starts

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

Autonomous Delivery Loop

Principle

The loop orchestrates roles as subagents and works without user input until the MVP gate, an escalation criterion, or context pressure. The core contract in project/BRIEF.md is the constitution; project/STATE.md the single state store.

Cycle (repeat)

  1. Sync: read STATE.md; increment the cycle counter (basis for cooling-off) and check it against the cycle cap — cap reached → runaway stop (see stop conditions), no further cycle. Incorporate open merges, blockers, review results.
  2. CEO tick (inline per role-ceo): activate next WORK items up to the WIP limit, evaluate gates. No new reason → no reprioritization.
  3. PO step (per role-po): cut activated items into cards — with acceptance criteria, claim limits, and disjoint claim zones. Idea triage via project/IDEAS.md.
  4. DEV fan-out (parallel): one DEV subagent per card, all in one invocation block. Embed context instead of having it read: the WORK card and profile extract (commands, quality rules) are verbatim in the prompt — the subagent only reads its role skill. Model choice by card complexity: S/M → sonnet (very large diff or wide context → sonnet[1m]); L or "sensitive" → opus. These override the subagent's own model field (the role skills carry inherit precisely so the spawn decides). The orchestrator verifies the rating before spawning: risk-regex hits in the claim zone, gate relevance, or security/concurrency aspects override a lower PO rating upward — never downward. Zones not safely disjoint or > 2 parallel DEVs → worktree isolation per agent. Parallel DEVs run only targeted tests of their zone plus a regression check of the foundation modules — the full suite run belongs to the orchestrator after the merge (otherwise everyone tests against half-finished neighbor zones).
  5. Review pipeline (risk-based): as soon as a DEV finishes, start a reviewer subagent per role-reviewer — don't wait for the slowest card. Full review (gate-relevant → opus, otherwise sonnet) for: production code, gate packages, risk-regex hits in the diff, or included status claims. Light review (haiku) for trivial packages (tests/docs only, small diff): zone check, acceptance check, targeted tests, compact claim audit — without pattern spot-check.
  6. Fix loop: findings/BLOCKED → targeted fix run (same card, same zone). Max. 2 attempts per blocker, then the autonomy contract applies (escalation or DEFER with ADR). Findings in files outside all zones (no-man's-land, e.g. legacy or skeleton tests): never have the DEV fix them along the way — the PO immediately cuts a dedicated fix card with its own zone, which runs before the blocked packages merge.
  7. Merge sequentially: merge one package after another — before each, the mechanical check per package, executed on the package branch with a clean orchestrator tree (commit your own project/ changes such as STATE.md/IDEAS.md first, so only package changes land in the check): <skills-dir>/_shared/scripts/merge-check.sh <base> --zone <card-zone>… --allow project/backlog/<WORK-NNN>.md --allow project/PROFILE.md --test-cmd "<full test from PROFILE>"<skills-dir> is the installation location of these skills (project-local .claude/skills/, global ~/.claude/skills/, or the plugin root when installed via /plugin install). No broad --allow project/: that would wave through DEV changes to STATE.md, BRIEF.md, or IDEAS.md. Allowed are only the package's own card (evidence) and PROFILE.md (command maintenance); for special cases the check knows --deny (overrides zone and allow). FAIL blocks the merge hard (zone violation → finding + fix card; red suite → fix loop) — no discretion. The full suite runs exactly once per package: here, via the check — DEV and reviewer only test targeted, duplicate runs are cut. Card to DONE incl. evidence, update STATE.md.
  8. Collect ideas: transfer IDEAS/FOLLOW-UP from all DEV outputs to project/IDEAS.md — record only; evaluation happens in the PO step of the next cycle (cooling-off).
  9. Stop check (see below), otherwise next cycle.

Read the full file on GitHub · 80 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. 8d ago First seen · 80 lines · 63 tokens per session scan A 71092cbb4986

Subscribe to this mod's changes

autonomous-loop is a skill published in the GitHub repository BechsteinDigital/claude-shiploop (4 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,906 once invoked, about $0.0003 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.