taskflow

Coordinate long-running multi-step tasks with durable state and lifecycle methods.

5|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill taskflow-p-sree-sai-pavan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: taskflow
Source: https://github.com/p-sree-sai-pavan/P.A.R.K.E.R/tree/main/gateway/skills/taskflow
Command: npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill taskflow-p-sree-sai-pavan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Task orchestration for long-running, multi-step jobs requiring a single owner context and durable state across steps.

Core Features & Use Cases

  • Centralized flow identity and owner session
  • Persisted state between steps with currentStep and waitJson
  • Linked child tasks and robust lifecycle control (finish, fail, cancel, resume)

Quick Start

Create a TaskFlow with an owner context and start the first managed task.

Frequently Asked Questions about taskflow

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

FAQPage Schema
How do I coordinate durable, long-running tasks across multiple steps?▼

You coordinate durable tasks by using a state-machine pattern that persists stateJson between steps, links detached child tasks, and applies revision-checked mutations to maintain a single owner session throughout the workflow.

What is the best way to persist state between asynchronous workflow steps?▼

The best way to persist state between asynchronous workflow steps is to store it in a durable stateJson field within a state-machine, allowing the process to resume exactly where it left off using lifecycle methods like resume and cancel.

Can I link detached sub-tasks to a single owner session?▼

Yes, you can link detached sub-tasks to a single owner session using child task linkage, ensuring the parent flow maintains central identity and coordinates the lifecycle of all linked sub-tasks.

How do you handle lifecycle control for multi-step jobs with a state-machine?▼

Lifecycle control for multi-step jobs is handled through dedicated methods including finish, fail, cancel, and resume, which safely update the currentStep and manage the overall flow identity through revision-checked mutations.

When do I need persisted state for task orchestration?▼

You need persisted state for task orchestration when workflows are long-running and require a single owner context, meaning data must survive between steps in waitJson to safely manage asynchronous execution and detached sub-tasks.