Official loopty plugin marketplace
npx claudepluginhub codybrom/looptyIterative AI development loop for Claude Code — spins up isolated agents in a loop, each building on the journal notes of the previous one.
An iterative development loop for Claude Code.
You write a goal. Loopty spins up a fresh Claude agent, lets it work for a fixed time budget, has a second agent write a journal entry about what happened, then commits and does it again. Each new agent reads the last few journals so it knows where things stand.
/plugin marketplace add codybrom/loopty
/plugin install loopty@loopty-plugins
Use /loopty in any project. It bootstraps itself on first run.
Into a specific project:
git clone https://github.com/codybrom/loopty.git /tmp/loopty
bash /tmp/loopty/install.sh /path/to/your/project
The installer is idempotent. Uninstall with bash /tmp/loopty/install.sh --uninstall /path/to/your/project.
Manual:
cp loopty/loopty.sh your-project/
cp -r loopty/.claude/commands/loopty.md your-project/.claude/commands/
mkdir -p your-project/.loopty
cp loopty/.loopty/prompt.md.example your-project/.loopty/
# Write your goal
cat > .loopty/prompt.md << 'EOF'
Improve test coverage for the auth module.
## Success criteria
- Coverage above 80% for src/auth/
- All edge cases for token refresh are tested
## Constraints
- No new dependencies
- Don't modify production code
EOF
# Run 5 iterations, 15 minutes each
bash loopty.sh -n 5
Or use the slash command inside Claude Code:
/loopty "improve test coverage" 10m 5x
/loopty status
/loopty resume
┌─────────────────────────────────────────────────┐
│ You write .loopty/prompt.md │
│ │
│ ┌───────────┐ ┌──────────┐ ┌───────────┐ │
│ │ Work │ → │ Wrap-up │ → │ Commit │ │
│ │ agent │ │ agent │ │ (git) │ │
│ └───────────┘ └──────────┘ └───────────┘ │
│ ↑ │ │
│ └──── reads last 3 journals ───┘ │
│ │
│ Repeat until done or Ctrl+C │
└─────────────────────────────────────────────────┘
The loop stops when it hits the max iteration count, you press Ctrl+C, or spin detection kicks in. A run summary gets written to .loopty/last-run-summary.md.
--no-spin-check to disable)status: interrupted), commits, and exitsCheck on a run without starting a new one:
bash loopty.sh status # table of iterations
bash loopty.sh status --verbose # include journal summaries
bash loopty.sh status --format json # machine-readable
Each journal has YAML frontmatter:
---
iteration: 3
timestamp: "2024-01-15-143022"
status: completed # or: interrupted, fallback
work_agent_exit: 0 # 0 = clean, 124 = timeout, other = error
duration_seconds: 540
files_changed: 5
insertions: 42
deletions: 10
---
The body has what was attempted, decisions made, and next steps. The wrap-up agent writes it; the next work agent reads it.
CLI flags take precedence over LOOPTY_* env vars.
| Flag | Description | Default |
|---|---|---|
-i, --interval | Seconds per iteration | 900 (15m) |
-n, --max-iters | Stop after N iterations | unlimited |
-g, --goal | Set goal inline | - |
--resume | Continue numbering from last journal | - |
-m, --model | Model override | - |
-w, --work-turns | Work agent turn limit | unlimited |
-t, --max-turns | Wrap-up agent turn limit | 5 |
--wrapup-timeout | Wrap-up timeout (seconds) | 120 |
--cooldown | Pause between iterations (seconds) | 10 |
--no-cooldown | No pause between iterations | - |
--no-commit | Skip git commits | - |
--no-spin-check | Disable stall detection | - |
--dry-run | Show config, don't run | - |
-q, --quiet | Suppress banner | - |
.loopty/
prompt.md # Your goal (required)
journal/ # One entry per iteration
last-run-summary.md # Most recent run summary
lock.d/ # Concurrency lock (auto-managed)
loopty.sh # The loop script
.claude/commands/
loopty.md # Slash command entry point
bash test.sh
Official prompts.chat marketplace - AI prompts, skills, and tools for Claude Code
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations