Loopgen — Development skill for Claude Code
A prompt compiler skill for /goal and ralph loop.
How to install Loopgen
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pro-vi/loopgen and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Loopgen does
A prompt compiler skill for /goal and ralph loop.
Alternatives in Development
- Ralph Loop — Autonomous coding loop — works through tasks, commits, repeats 14k ★
- Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
- Discuss — Act as a planning interviewer 2.9k ★
README
loopgen
Prompt Compiler for creating long-running autonomous loops.
It writes the weather, not just the target — a re-readable pressure field that makes the wrong worlds harder to reach while the loop runs.
Your loop died 10 minutes after you went to sleep.
Not because the task was impossible. It blocked on a decision you could have made before it ever fired, or it declared victory on the first green-looking signal.
loopgen writes the part of the prompt that keeps that from happening.
Give it the thing you're trying to do: close a spec, improve the codebase, push a benchmark, walk a frontend, build a vague idea. It classifies the loop, writes the prompt + state + queue files, resolves the decisions that would stall the run, then hands you one `/goal` line. Paste it into Claude Code or Codex and let it run.
The visible output is intentionally boring:
/goal read .loop//PROMPT.md and execute as .

Quick Start
Ask for the loop you actually want. Same compiler, different track:
| Track | Ask | What loopgen composes |
|---|---|---|
| Product walkthrough | /loopgen "walk the onboarding flow" |
A story-shaped loop: keep the product surface contract, reconcile the visible flow with the storyboard. |
| Backend benchmark | /loopgen "optimize the checkout API load benchmark" |
A frontier-shaped benchmark loop: keep pressure accounting, candidate lineage, traces, and metrics. |
Both emit the same kind of fixed kickoff:
/goal read .loop/001-onboarding-flow/PROMPT.md and execute as onboarding flow loop.
/goal read .loop/002-checkout-benchmark/PROMPT.md and execute as checkout API load benchmark loop.
The stable file shape is the point. Product walkthroughs keep the story surface:
.loop/001-onboarding-flow/PROMPT.md
.loop/001-onboarding-flow/STATE.md
.loop/001-onboarding-flow/
Related Skills
Loopgen Rs
Agentic loop runner for Claude Code — turns a goal into an iterative claude -p loop with a LOOP_STATUS termina
Aegis Goal
Persistent goal POC — Hermes Ralph-loop pattern (judge-loop until done or 20-turn budget)
Auto Loop
Lance Claude en mode RALPH (boucle autonome) jusqu'à complétion de la tâche. Usage: /auto-loop "prompt" --max
Ralphy
My Ralph Wiggum setup, an autonomous bash script that runs Claude Code, Codex, OpenCode, Cursor agent, Qwen &
Cancel Ralph Marketer Loop
The user wants to cancel the Ralph Marketer loop.
Maestro Ralph
Closed-loop policy over the canonical Session/Run chain
Related Agents
Ralph Orchestrator
by mikeyobrien - Ralph Orchestrator implements the simple but effective "Ralph Wiggum" technique for autonomou
Coder
Implementation agent using TDD + Ralph Loop for feature development. Use proactively for implementation tasks
Arch Author
Authors or edits .arch floor-plan files using the compiler's own verification loop (compile → fix → describe →