taskflow

Orchestrate long-running multi-step work with resumable state across sessions.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/pertain99/openclaw-better --skill taskflow-pertain99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: taskflow
Source: https://github.com/pertain99/openclaw-better/tree/main/skills/taskflow
Command: npx skills add https://github.com/pertain99/openclaw-better --skill taskflow-pertain99

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TaskFlow lets long-running work outlive a single prompt by maintaining one owner session, one return context, and a resume point for inspection and continuation.

Core Features & Use Cases

  • Owning flow identity, owner session, and requester origin
  • Tracking currentStep, stateJson, and waitJson
  • Linking child tasks to a parent flow and handling finish, fail, cancel, and waiting states
  • Revision-tracked mutations to guard against conflicts
  • Note: It delegates business logic to the caller layers (Lobster, ACPX, plugins)

Quick Start

Create a managed flow in your tool context, spawn a child task with runTask, set waiting when awaiting input, resume when ready, and finish to close the flow.

Frequently Asked Questions about taskflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate long-running multi-step workflows across sessions?

To coordinate long-running multi-step workflows across sessions, you can use an orchestration plugin that maintains a single owner session, tracks currentStep, and provides a resume point for continued execution. It keeps business logic in caller layers.

What is detached task orchestration and when do I need it?

Detached task orchestration is a technique for managing multi-step work that outlives a single prompt. You need it when jobs require persistent flow identity, state tracking, and resumable steps across different sessions or plugins.

How do I manage state and waiting conditions for resumable workflow steps?

To manage state and waiting conditions for resumable workflow steps, a flow orchestrator tracks stateJson and waitJson. You set the flow to waiting when awaiting input, then resume it when ready, ensuring revision-tracked mutations guard against conflicts.

Can I link child tasks to a parent flow for complex plugin workflows?

Yes, you can link child tasks to a parent flow using runTask. This allows you to handle finish, fail, cancel, and waiting states for complex plugin workflows while maintaining one owner session and one return context.

Does this workflow orchestration approach require external dependencies?

No, this workflow orchestration approach requires no external dependencies. It operates without dependencies and delegates all business logic to caller layers like Lobster, ACPX, or plugins, keeping the orchestration logic separate.

What are the limitations of using session-based state management for long-running tasks?

The limitation of session-based state management is that it requires business logic to remain in caller layers. The orchestration layer only handles flow identity, state tracking, and child task linkage, meaning you must implement actual processing logic externally.