taskflow
Run resumable approval workflows and coordinated subagent recipes with TaskFlow, Swarm, and optional Workboard claims.
Install via CLI (Recommended)
clawhub install openclaw/openclaw/skills/taskflowTaskFlow
Use a managed TaskFlow for multi-step work with one owner, bounded state and explicit waits. A single detached ACP/subagent run with deliverable completion gets a mirrored flow automatically; it does not need a second managed flow.
Run a workflow
Use the available lobster tool in a non-sandboxed session with the Lobster plugin installed, activated and allowed. This skill is guidance, not plugin registration: it does not provide an api object or a task-launch tool.
The examples require Node on the Gateway host and use synthetic, already-classified data. They route every item, pause for approval, then return the routing result. They do not read mail, send messages, modify PRs or launch detached children. Paths below assume the Gateway working directory is the repository root; otherwise use the example file's absolute path.
{
"action": "run",
"pipeline": "skills/taskflow/examples/inbox-triage.lobster",
"flowControllerId": "lobster/inbox-triage",
"flowGoal": "Review synthetic inbox routing",
"maxStdoutBytes": 8192
}
For PR intake, use skills/taskflow/examples/pr-intake.lobster and controller lobster/pr-intake instead. Its intents are close, request_changes, refactor and maintainer_review; no GitHub actions occur.
Approve and resume
Read the tool result's details (also rendered as JSON text). It contains status, requiresApproval, flow and mutation directly, not a nested envelope.
- For a non-cancelled result, require
mutation.applied === true. Otherwise report itscodeand stop; workflow success alone does not prove the flow update persisted. - For
needs_approval, presentrequiresApproval.promptanditems, then wait for the user's decision. - In the same owner session, build a separate
action: "resume"call withflowIdfrommutation.flow.flowId,flowExpectedRevisionfrommutation.flow.revision, andapproveset to the user's decision. The tool retrieves the saved checkpoint whentokenandapprovalIdare omitted. If provided, they must match that checkpoint. KeepmaxStdoutBytes: 8192on resume.
Use the post-mutation revision, not the older top-level flow.revision. Set approve: false only when the user declines. On approval, check the new mutation.applied and flow status; on cancellation, check mutation.cancelled. Report errors, rejected mutations and pending cancellations rather than claiming completion. Do not blindly retry side effects after a revision conflict: reload and reconcile first.
Coordinate subagents
For research/review fan-out, implement/verify handoffs, restart reconciliation, or optional shared-workspace claims, read references/subagent-workflows.md. Use the recipe that fits the request; a small delegation does not need a Workboard or a second flow. Recipes use existing tools and their current receipts, not a separate scheduler.
Complete the goal
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-openclaw-taskflow": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
openhue
Control Philips Hue lights and scenes via the OpenHue CLI.
skill-creator
Author or review AgentSkills: create, repair, validate, or restructure SKILL.md files and bundled resources.
bear-notes
Create, search, and manage Bear notes via grizzly CLI.
blucli
BluOS CLI (blu) for discovery, playback, grouping, and volume.
trello
Manage Trello boards, lists, and cards via the Trello REST API.