Skip to main content

loop-engineering

Use to retry a task until tests, builds, or lint pass via Grill interview plus loop Monitor.

Source facts

Repository
alvinunreal/oh-my-opencode-slim
Last source activity
October 16, 2026 at 17:15
Detected SKILL.md language
English
Stars
9,843
Forks
598

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
loop-engineering
description
Use to retry a task until tests, builds, or lint pass via Grill interview plus loop Monitor.
# Loop Engineering Skill ## Grill (orchestrator interview) 1. Goal: "What are you trying to accomplish?" 2. Success criteria: "Describe how we know the loop succeeded." 3. Success type: choose from `test`, `build`, `lint`, `command`, `fileExists`, `oracle`, `observer`, `manual`. For CLI steps provide `successCommand`; for file detection provide `successPath`. 4. Execute agent: fixer / designer / explorer 5. Verify agent: oracle / observer / test 6. Max attempts (default 3) 7. Optional context files: which files or directories should be read before execution? ## Loop Monitor - Listen to callbacks: - `onLoopComplete(loopID, success)` → report final outcome - `onEscalated(loopID, reason)` → escalate to human - `onManualReview(loopID, reason)` → prompt human to approve/fail and call `resolveManualReview(loopID, passed, reason)` - Show current state and attempt count on each callback - For manual verification, present the failure reason before asking for pass/fail - If human forces cancellation, call `cancel(loopID)` through the orchestrator ## Notes - Manual verification is the minimal on-ramp (autoresearch pattern). It pauses the loop until `resolveManualReview` is called. Do not auto-resolve. - BackgroundJobBoard signals (totalErrors, timeoutCount) are already baked into the runtime.
View on GitHub