Skip to content
Back to skills

Loop Engineering

ASecurity

Lightweight companion for driving a task to completion with Claude Code's /goal — keep each turn honest so /goal's own evaluator can decide when it's done. Use for autonomous "keep going until it works" runs ("loop until tests/CI are green", "keep iterating until X passes", "autonomously finish X"). Deliberately light — a quick autonomous loop, not a strong-verification harness.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsgogit

Works with

  • claude code

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add MinJung-Go/Agentic-Loop-Eng --skill loop-engineering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loop Engineering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loop Engineering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/minjung-go-loop-engineering/badge)](https://www.skillsdirectory.com/skills/minjung-go-loop-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loop-engineering
description: Lightweight companion for driving a task to completion with Claude Code's /goal — keep each turn honest so /goal's own evaluator can decide when it's done. Use for autonomous "keep going until it works" runs ("loop until tests/CI are green", "keep iterating until X passes", "autonomously finish X"). Deliberately light — a quick autonomous loop, not a strong-verification harness.
---

# Loop Engineering with `/goal` (lightweight)

`/goal <condition>` is already a complete loop: it re-runs turns until a fresh evaluator model decides the condition holds, and that evaluator is a *different* model from the one doing the work (so you can't rubber-stamp your own work). The one catch: **the evaluator only reads the conversation — it can't run commands or read files.**

This skill is the light companion for that loop. It adds **no** rubric, **no** reviewer sub-agent, and **no** git machinery — it just keeps each turn honest so `/goal`'s own evaluator can do its job.

## Launch

Put the work in the directive and a check that **your own output can demonstrate** in `DONE WHEN`:

```
/goal <REQUIREMENTS>. DONE WHEN: <a result visible in the turn — e.g. `npm test` exits 0 with its output shown>.
```

Pair with **auto mode** to run unattended.

## Each turn, just do this

1. **Advance** — make the next real increment toward the requirements.
2. **Show the evidence** — run the check and paste its **actual command + output + exit code** into the turn. The evaluator judges from the transcript, so anything you don't surface, it can't credit.
3. **Don't call it done yourself** — let the output stand; `/goal`'s evaluator makes the call. If the check fails, that failure is simply the next turn's cue — keep going.

That's the whole discipline. Don't fabricate results (a faked "exit 0" ends the loop on a lie); if a check genuinely can't run, say so and the goal correctly stays open.

## Optional

If something **must not change** on the way (e.g. "don't delete or weaken tests"), add it to the `DONE WHEN` and show the relevant `git status` / `git diff` so the evaluator can see it. Keep in mind a small evaluator reading a diff is a best-effort, light check — not a guarantee.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.