Loop Engineering — Development skill for Claude Code
A drop-in Claude Code skill for loop engineering — a self-running agent loop with a real, un-foolable verification gate.
How to install Loop Engineering
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open selmakcby/loop-engineering and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Loop Engineering does
A drop-in Claude Code skill for loop engineering — a self-running agent loop with a real, un-foolable verification gate.
Alternatives in Development
- Claude Token Efficient — One CLAUDE.md file 3.8k ★
- How Claude Code Works — Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more 1.9k ★
- Erduo Broll Loop Engineering — SRT 驱动的双后端 B-roll Agent Skill:自动路由 HyperFrames / Remotion,集成 152 张 Shotcraft 镜头卡 166 ★
README
loop-engineering
A drop-in [Claude Code](https://github.com/anthropics/claude-code) skill for **loop engineering** — building a self-running agent loop that keeps working until a goal is met, instead of the manual write → wait → review → re-prompt cycle.
The skill walks you through the architecture and asks you the questions to set it up:
- The honesty test — four conditions that decide whether a loop is even worth building.
- Two axes — manual vs automatic (who closes the loop) and open vs closed (is there a gate).
- The three primitives —
/goalvs/loopvs routines (/schedule), and which one to use. - The gate — a
Stophook running a real test (un-foolable, zero tokens) for code, or a separate LLM-judge + rubric for non-testable work. - The ceiling —
max_turns/ budget limits so the loop never spins forever. - Model routing & cost — why a closed loop is cheaper, not a wallet-drainer.
The core rule: **never let the AI verify its own "done."** Maker and checker must be different things, or you get *false completeness* — code that claims to be finished but isn't.
Install
Drop the skill into your Claude Code skills directory:
git clone https://github.com/selmakcby/loop-engineering
cp -r loop-engineering ~/.claude/skills/loop-engineering
Then in Claude Code, the skill activates on prompts like "set up a loop", "run until tests pass", or "döngü mimarisi kur".
Read more
Full write-up (TR · EN · NL): [selma.codes/blog/loop-engineering](https://www.selma.codes/blog/loop-engineering)
MIT licensed.
Related Skills
Claude Code Monorepo
The real Claude Code configuration behind a 13-service TypeScript platform — 71 skills, 34 hooks, 31 agents, 1
Clear Rewrite
Rewrite text to pass CLEAR-100. Plain words, human voice, real structure, no filler. Runs the checker in a loo
Ars Cache Invalidate
ARS /ars-cache-invalidate — drop cached verification entries for a citation key
Vibe To Ship
Productionized graph engineering for everyday vibe coders — a drop-in agent skill (Claude Code + opencode) tha
Claude Skill Tearable Cloth
Tearable paper entry-gate skill (Three.js + Verlet cloth, no Web Worker). Inspired by pushmatrix/tearable. Dro
Notary
A black-box recorder and approval gate for any Claude skill. Tamper-evident, human-approved execution receipts
Related Agents
Swe Dev Loop Systems Architect
Designs and audits coding-agent loops, debugging and migration workflows, CI/release loops, autonomous-science
Incident Synthesizer
A3 — the self-improvement loop. Reads incidents (retro digests, .pe/decisions.jsonl FAIL rows, .claude/gates/.
Golds
Lightweight parallel dispatcher. Writes SPLIT.md (file ownership), drops workers in worktrees, runs post-merge