loop-engineering

GitHub

实现 Loop Engineering 运行时,包含 Grill 编排器与 Monitor 监控器。支持多轮迭代执行、自动重试及人工审核回调,用于管理复杂 Agent 任务的循环执行流程。

src/skills/loop-engineering/SKILL.md alvinunreal/oh-my-opencode-slim

Trigger Scenarios

需要配置多轮迭代执行流程 需要设置 Agent 任务的人工审核或失败升级机制 初始化 Loop 引擎运行时环境

Install

npx skills add alvinunreal/oh-my-opencode-slim --skill loop-engineering -g -y
More Options

Non-standard path

npx skills add https://github.com/alvinunreal/oh-my-opencode-slim/tree/master/src/skills/loop-engineering -g -y

Use without installing

npx skills use alvinunreal/oh-my-opencode-slim@loop-engineering

指定 Agent (Claude Code)

npx skills add alvinunreal/oh-my-opencode-slim --skill loop-engineering -a claude-code -g -y

安装 repo 全部 skill

npx skills add alvinunreal/oh-my-opencode-slim --all -g -y

预览 repo 内 skill

npx skills add alvinunreal/oh-my-opencode-slim --list

SKILL.md

Frontmatter
{
    "name": "loop-engineering",
    "description": "Loop engineering runtime Grill + 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 / librarian
  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.

Version History

  • 34bffad Current 2026-08-20 11:44

Same Skill Collection

.agents/skills/cli-review/SKILL.md
.agents/skills/release-smoke-test/SKILL.md
src/skills/clonedeps/SKILL.md
src/skills/codemap/SKILL.md
src/skills/deepwork/SKILL.md
src/skills/oh-my-opencode-slim/SKILL.md
src/skills/reflect/SKILL.md
src/skills/simplify/SKILL.md
src/skills/verification-planning/SKILL.md
src/skills/worktrees/SKILL.md

Metadata

Files
0
Version
34bffad
Hash
551b298b
Indexed
2026-08-20 11:44

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-24 19:51
浙ICP备14020137号-1 $방문자$