Install
openclaw skills install workflow-executionPlan-first workflow for non-trivial work: plan with done criteria, create a tracking issue, package context as documents on the issue, decide where code lives, hand off to an executing agent, verify completion. Use when tasks involve 3+ steps, architecture/strategy decisions, risky edits, or iterative bug-fixing.
openclaw skills install workflow-executionRun this workflow for any meaningful work. The core loop: plan → track → package context → route → hand off → execute → verify.
Enter planning before acting when any trigger is true:
Before implementation starts, create or reference a tracking issue in your project management system.
plan). This is the source of truth — not a chat message, not a comment, a structured document.plan, design, context each have a clear role.This skill is tracker-agnostic. See references/ for how to do this with specific systems:
references/tracker-paperclip.md — Paperclip Issues + Documents APIreferences/tracker-github.md — GitHub Issues + issue body/commentsreferences/tracker-none.md — skip tracking, plan in a local fileBefore handing off to an executing agent, attach structured documents to the tracking issue:
plan documentThe plan from Phase 1. Always attached.
design documentAttach when work involves:
context documentAttach when the executing agent needs background that isn't obvious from the code:
Ask: "If a brand new agent picked up this issue with zero chat history, could they do the work?" If not, add more context documents.
Before execution, decide where the code lives.
| Signal | Destination |
|---|---|
| Work extends an existing project/repo | Existing repo — branch off main |
| Work is reusable, publishable, or useful to others | New repo — create it, then work there |
| Work is pure local glue, config, or one-off automation | Local workspace — but document why it's local |
SUP-490/skill-rewrite).Spawn the executing agent with an issue reference, not inline context.
Code handoffs MUST use sessions_spawn, not sessions_send.
sessions_spawn triggers the full enforcement pipeline (Lobster gate, spawn-code-lint, post-spawn PR creation). sessions_send bypasses all of it. Use sessions_send only for non-code work: status checks, coordination, questions.
The test: if the message asks the target agent to write, edit, or move code → sessions_spawn. Everything else → sessions_send is fine.
plan, design, context), then proceed.When something goes wrong during execution, follow this priority order:
Transient provider failure (429, timeout, model overload): OpenClaw's native model fallback chain handles this automatically. Do not change tracker issue status. Continue in the same session once the request succeeds.
Context reset or compaction: Re-read the plan, context, and design
documents from the tracking issue. Never reconstruct plan state from in-session
memory after compaction — the issue documents are the source of truth.
Durable blocker (missing dependency, unclear requirements, architectural gap):
Update the tracking issue status to blocked. Add a comment naming the specific
blocker and what needs to resolve it.
The tracker is an audit trail and coordination hub — not the place to manage transient retries. Do not flip status on transient errors, partial progress, or model fallbacks.
When bugs appear during execution:
Stop and escalate when:
Do not mark complete without proof.
If the correction cycle was triggered by a context reset or compaction, re-read the issue's plan, context, and design documents before resuming — do not reconstruct plan state from in-session memory.
After any correction cycle (failed check, rework, rollback):