Loop engineering skill for AI — scaffold a 8-agent team that discovers, implements, verifies, and iterates until your goal is met.
> /plugin marketplace add vibhasdutta/loop-engineer> /plugin install loop-engineer@loop-engineer
Repo: vibhasdutta/loop-engineer
What's inside
You describe a goal in one or two sentences — any goal. The skill researches the problem space, discovers every available resource (MCPs, skills, APIs, datasets, local tools), plans atomic tasks, assembles a team of specialists tailored to the domain, then executes fully autonomously until every task passes verification or the budget runs out. No further user input needed after the two setup questions.
Works for any objective: software development, research papers, data analysis, content creation, automation pipelines, system configuration, or anything else.
What makes it different from a single-agent prompt:
agent-factory creates 1–3 specialized agents tuned to the specific goal domain and writes an AGENTS.md manifest. Executors check this and use specialists when available. If generic agents are sufficient, factory creates nothing.MEMORY.md. The .global/MEMORY.md persists across all loops in the project so the agent gets smarter over time.All entries below confirmed against each vendor's own current documentation (fetched directly, not secondhand).
| Platform | Skill | Agent dispatch | Parallelism |
|---|---|---|---|
| Claude Code | /loop-engineer | Agent tool | ✅ true parallel — call it N times in one response |
| Cursor | /loop-engineer | Task tool | ✅ true parallel — confirmed via cursor.com/docs/subagents: multiple Task calls in one message run simultaneously |
Antigravity CLI (agy) | /loop-engineer | invoke_subagent | ✅ true parallel — confirmed via antigravity.google/docs/subagents: each call returns immediately (async background execution), so calling it N times back-to-back dispatches N concurrent subagents. No "Subagents array" parameter exists. Nesting capped at 10 levels. |
| Antigravity IDE (VS Code / JetBrains) | /loop-engineer | invoke_subagent | ✅ true parallel (see above) |
| Antigravity 2.0 (desktop) | /loop-engineer | invoke_subagent | ✅ true parallel (see above) |
| Hermes Agent | /loop-engineer | delegate_task(tasks=[...]) | ✅ true parallel — one call, array of task definitions, synchronous (blocks until all return). Default cap of 3 concurrent (delegation.max_concurrent_children, floor 1, no ceiling) |
| Gemini CLI | /loop-engineer | named agent tools (@agent-name) | ✅ true parallel (v0.36+, confirmed via developers.googleblog.com) — official caveat: avoid parallel subagents for heavy concurrent code edits (file conflict risk) |
| OpenCode | /loop-engineer | task tool | ⚡ sequential — still unresolved as of writing. Original bug (#14195) was closed, but sequential dispatch was reported again in a newer issue (#29638) with fix PRs open as of late May 2026; check that issue for current status |
| OpenAI Codex CLI | /loop-engineer | spawn_agent | ✅ true parallel — enabled by default on current releases (no feature flag needed; older versions may need features.multi_agent = true). Default cap of 6 concurrent (agents.max_threads), nesting capped at depth 1 (agents.max_depth) |
| VS Code GitHub Copilot | attach loop-engineer.prompt.md | agent/runSubagent tool | ✅ true parallel — confirmed via code.visualstudio.com/docs/agents/subagents: phrase a batch as "Run these N subagents in parallel" and they run concurrently. Nesting disabled by default (enable via chat.subagents.allowInvocationsFromSubagents, max depth 5) |
claude plugin add https://github.com/vibhasdutta/loop-engineer
curl -s https://raw.githubusercontent.com/vibhasdutta/loop-engineer/main/install.sh | bash
git clone https://github.com/vibhasdutta/loop-engineer.git
cd loop-engineer
bash install.sh # Claude Code (default)
bash install.sh --cursor # Cursor
bash install.sh --gemini # Gemini CLI
bash install.sh --antigravity # Antigravity (CLI + IDE + 2.0)
bash install.sh --opencode # OpenCode
bash install.sh --hermes # Hermes Agent
bash install.sh --codex # OpenAI Codex CLI
bash install.sh --copilot # VS Code GitHub Copilot
bash install.sh --all # all platforms
git clone https://github.com/vibhasdutta/loop-engineer.git
cd loop-engineer
.\install.ps1 # Claude Code (default)
.\install.ps1 -Cursor # Cursor
.\install.ps1 -Gemini # Gemini CLI
.\install.ps1 -Antigravity # Antigravity (CLI + IDE + 2.0)
.\install.ps1 -OpenCode # OpenCode
.\install.ps1 -Hermes # Hermes Agent
.\install.ps1 -Codex # OpenAI Codex CLI
.\install.ps1 -Copilot # VS Code GitHub Copilot
.\install.ps1 -All # all platforms
→ Full installation guide with per-platform verify steps
Claude Code / Cursor — open any project and type:
/loop-engineer
Gemini CLI — describe a multi-step goal (auto-activates) or use the shortcut:
/loop-engineer
Antigravity — in agy, IDE, or 2.0, describe a goal or type:
/loop-engineer
OpenCode — open any project and type:
/loop-engineer
Hermes Agent — type the slash command or describe a multi-step goal:
/loop-engineer
Codex CLI — open Codex and type:
/loop-engineer
This scaffolds the state files and prints a /goal command to paste for the actual loop run.
VS Code GitHub Copilot — after installing:
init-loop.sh --platform copilot directly)..github/prompts/loop-engineer.prompt.md via #loop-engineer.prompt and describe your goal.The wizard asks 3 questions only (mode is skipped if passed as an argument, e.g. /loop-engineer patch):
Q1. Mode? build / research / patch / audit
Q2. What do you want the loop to accomplish? (1–2 sentences)
Q3. Auto-commit after each verified task? (yes / no)
Everything else is automatic — LOOP_ID, stop condition, budget, context gathering, task decomposition, resource discovery, agent assembly, and the full execution loop.
Modes:
| Mode | What it does |
|---|---|
| build (default) | New work from scratch — the full pipeline below, unchanged. |
| patch | Fixes or extends the existing codebase instead of building greenfield — same pipeline, but every researcher/executor is told the existing code is ground truth: read it first, then fix or extend it. |
| research | Investigate and report only — no code changes. Skips the build and audit steps; the researcher writes each task's final deliverable directly, and the verifier checks that against the stop condition. |
| audit | Review only — no code changes. Skips the build step; the auditor's review of existing code/output is the task, with findings written to RESEARCH.md instead of triggering an auto-fix. |
FAQ
loop-engineer is a Claude Code plugin with 1 hand-picked skill for automation work, indexed on Flowy. Install it with the command on its page. It includes loop-engineer. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it