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 ★
- Ralphy — My Ralph Wiggum setup, an autonomous bash script that runs Claude Code, Codex, OpenCode, Cursor agent, Qwen & 2.8k ★
- Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
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
Loop Killer
🔁 Claude Code plugin that ends stop-hook re-prompt loops by clearing the active goal.
Prompt Compiler
An Agent Skill that turns a vague request into one execution-ready prompt for a coding agent. Asks only the qu
Cancel Ralph Marketer Loop
The user wants to cancel the Ralph Marketer loop.
Related Agents
Ralph Orchestrator
by mikeyobrien - Ralph Orchestrator implements the simple but effective "Ralph Wiggum" technique for autonomou
Coordinator.Agent
Ralph loop coordinator - manages autonomous task execution with subagents
Coder
Implementation agent using TDD + Ralph Loop for feature development. Use proactively for implementation tasks