Install
openclaw skills install agent-loopStructured Read→Plan→Execute→Verify→Report protocol for any task with side effects. Prevents false "done" reports, blind retries, and scope creep. Activate f...
openclaw skills install agent-loopCore rule: You must complete each phase in order. Do not skip phases. Do not report "done" until you have evidence from the Verify phase.
IF the task involves any of:
THEN apply this full protocol. ELSE (pure Q&A, one-sentence reply) → skip this skill entirely.
Before touching anything:
FORBIDDEN: Edit a file you have not read this session
FORBIDDEN: Assume file content without reading
IF task has 3+ steps → write a numbered plan before executing:
Plan:
1. Read <file>
2. Edit <file>: change X → Y
3. Run <command> to verify
4. Report result with evidence
agent-step-sequencer for plans with background processes or that must survive gateway resetsagent-task-tracker is installed → save plan to memory/tasks.mdmemory/tasks.md after each stepIF a step fails:
FORBIDDEN: Retry the same failing command unchanged
FORBIDDEN: Skip a failed step and continue as if it succeeded
Before reporting done, confirm success with evidence:
| What you did | How to verify |
|---|---|
| Edited a file | Read it again — confirm the change is present |
| Ran a command | Check exit code AND output content |
| Created a file | Confirm it exists and has expected content |
| Ran tests | Confirm all pass — not just "no crash" |
| Deleted something | Confirm it no longer exists |
FORBIDDEN: Report "done" without running a verification step
FORBIDDEN: Treat absence of error as proof of success
Report exactly three things:
IF stuck after 2 failed attempts:
FORBIDDEN: Silently swallow errors and report success
FORBIDDEN: Retry more than twice without changing the approach
Only do what was asked.
FORBIDDEN: Fix, refactor, or improve anything not mentioned in the task