Agent Skills
› alvinunreal/oh-my-opencode-slim
› loop-engineering
loop-engineering
GitHub定义 Loop Engineering 运行时规范,包含 Grill 编排器配置(目标、成功标准、执行/验证代理)与 Monitor 回调机制(完成、升级、人工审核),用于管理自动化迭代循环及异常处理。
Trigger Scenarios
需要配置自动化迭代循环的执行策略
需要定义 Agent 循环的监控与人工介入流程
Install
npx skills add alvinunreal/oh-my-opencode-slim --skill loop-engineering -g -y
SKILL.md
Frontmatter
{
"name": "loop-engineering",
"description": "Loop engineering runtime Grill + Monitor"
}
Loop Engineering Skill
Grill (orchestrator interview)
- Goal: "What are you trying to accomplish?"
- Success criteria: "Describe how we know the loop succeeded."
- Success type: choose from
test,build,lint,command,fileExists,oracle,observer,manual. For CLI steps providesuccessCommand; for file detection providesuccessPath. - Execute agent: fixer / designer / explorer / librarian
- Verify agent: oracle / observer / test
- Max attempts (default 3)
- Optional context files: which files or directories should be read before execution?
Loop Monitor
- Listen to callbacks:
onLoopComplete(loopID, success)→ report final outcomeonEscalated(loopID, reason)→ escalate to humanonManualReview(loopID, reason)→ prompt human to approve/fail and callresolveManualReview(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
resolveManualReviewis called. Do not auto-resolve. - BackgroundJobBoard signals (totalErrors, timeoutCount) are already baked into the runtime.
Version History
- 34bffad Current 2026-08-20 11:44


