dev-loop

dev-loop is a skill for Claude Code, Codex from swDomass/AI_orchestrator. It costs 22 tokens per session (790 once invoked), scanned A, original, MIT.

A development workflow that repeats research and planning, implementation, and two independent reviews. The reviews check code quality and whether the original task was fully completed.

In plain words
What is it for?
Use it for code changes that need a documented plan, implementation, quality review, and task-completion review. It also records the research, review results, and fixes in a .dev-loop folder.
Why use it?
It helps catch correctness, security, maintainability, and completeness problems before work is finished. The loop continues by addressing review findings until both reviews pass.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for code changes that need a documented plan, implementation, quality review, and task-completion review. It also records the research, review results, and fixes in a .dev-loop folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/swdomass/ai_orchestrator/dev-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 swDomass/AI_orchestrator --skill dev-loop
Clone the repo
git clone --depth 1 https://github.com/swDomass/AI_orchestrator

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/dev-loop/github.svg)](https://agentmods.dev/skills/swdomass/ai_orchestrator/dev-loop)
Your own site
<a href="https://agentmods.dev/skills/swdomass/ai_orchestrator/dev-loop"><img src="https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/dev-loop/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 dev-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/swdomass/ai_orchestrator/dev-loop"><img src="https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/dev-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 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.00022 $0.00790
Opus 5.5 $0.00009 $0.00316
Sonnet 5.5 $0.00004 $0.00158
Haiku 4.5 $0.00002 $0.00079

Measured 1mo ago against content hash e9c9c7676628, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-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 1mo 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.

skills/dev-loop/SKILL.md · 58 lines

What it actually says

System Prompt Addition

Implement tasks in a structured 3-phase loop:

  1. Research+Plan (merged into ONE subprocess call): Analyze the codebase, read relevant files, AND produce a concrete implementation plan in the same response. Search the web only when local code and docs are insufficient. Output: .dev-loop/research-and-plan.md.

  2. Execute: Implement the solution based on the research+plan output. On subsequent iterations, also fix all P1 and P2 findings from previous reviews. No P3 is ever requested here. The tool passes only blocking findings into the next execution prompt, so there is no "take a P3 along while the file is open" decision to make. Every P3 is collected across all iterations and appended once to the final output as an offer; the user decides. Caveat: with CLAUDE_SESSION_ENABLED=true all phases share one conversation, so a P3 from an earlier review is still in history and the executor can see it — the guarantee covers the prompt, not the whole context. What holds in both modes is that no P3 gates progress. Why: touching working code for cosmetics widens the diff without functional gain, and since each review re-reads the diff fresh, every P3 fix can surface new P3 — the loop would feed itself and burn iterations on style. Rundenreflexion (from iteration 2 on): before fixing, the executor writes a ## Rundenreflexion section asking whether it is over-building or chasing an edge case, then may defer any P2 finding as - [BEKANNTE GRENZE] <finding> — <reason> instead of fixing it. A P1 can never be deferred this way — enforced in tools/review_loop.py, not only in the prompt. A deferred finding no longer blocks the following round and is listed in the final output as "Bekannte Grenzen", separate from the P3 offer.

  3. Dual-Review (both must pass before finishing, both read-only):

    • Quality Review (P1/P2/P3): correctness, security, performance, maintainability, testability, robustness, documentation, compliance. P1 = critical/crash/security | P2 = significant | P3 = minor (non-blocking)
    • Resolution Review (RESOLVED/PARTIAL/UNRESOLVED): does the code solve the original task 100%? Quality is irrelevant here — only task completion matters. Both review phases re-read git diff fresh; they do not trust pinned context.

Loop repeats until both reviews pass. No auto-commit or push. Output written to .dev-loop/.

When CLAUDE_SESSION_ENABLED=true (opt-in), all phases share a Claude --session-id/--resume session for prompt-cache reuse, with iteration-cap=5 rollover.

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. 1mo ago Changed · +7 lines e9c9c7676628
  2. 1mo ago Changed · +13 lines 496da7735373
  3. 1mo ago First seen · 38 lines · 22 tokens per session scan A 9faa7bbc674d

Subscribe to this mod's changes

dev-loop is a skill published in the GitHub repository swDomass/AI_orchestrator (5 stars, last pushed 8d ago), licensed MIT. It adds 22 tokens to every session and 790 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-31.