taskflow

Coordinate long-running tasks with one owner and durable flow state.

4|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/bitan-del/gods-eye --skill taskflow-bitan-del
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: taskflow
Source: https://github.com/bitan-del/gods-eye/tree/main/skills/taskflow
Command: npx skills add https://github.com/bitan-del/gods-eye --skill taskflow-bitan-del

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TaskFlow provides a durable, owner-scoped orchestration layer for jobs that outlive a single prompt or process, enabling one session, one return context, and reliable state across multi-step and detached tasks.

Core Features & Use Cases

  • Manages flow identity, owner session, and provenance
  • Tracks currentStep, stateJson, and waitJson with revision-safe mutations
  • Links child tasks to a parent flow and supports finish, fail, cancel, waiting, and blocked states
  • Keeps business logic separate from orchestration, suitable for plugins or tool work that must survive restarts

Quick Start

Create a managed flow with createManaged and begin a run with runTask to establish a durable, single-owner workflow.

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 detached tasks that need to survive process restarts?

Workflow orchestration for detached tasks is needed when background jobs outlive a single prompt or process. It provides a durable state layer with revision tracking and lifecycle controls, ensuring multi-step tool integrations reliably resume after restarts.

How do I track the state of asynchronous background jobs across multiple steps?

Tracking asynchronous background jobs requires storing currentStep, stateJson, and waitJson within a managed flow. This approach uses revision tracking to apply safe mutations, keeping business logic separate from orchestration while preserving flow state.

Can I link child tasks to a parent workflow and manage their lifecycle?

Yes, you can link child tasks to a parent flow and manage their lifecycle through dedicated controls. The system supports linking child tasks and applying finish, fail, cancel, waiting, and blocked states to coordinate complex task dependencies.

Does state management for background jobs work without external dependencies?

State management for background jobs works without external dependencies. The orchestration layer implements managed flows internally using flowId, stateJson, and revision tracking, requiring no additional components to preserve workflow state.

What is the best way to preserve a single return context across multi-step tool integrations?

The best way to preserve a single return context across multi-step tool integrations is using an owner-scoped orchestration layer. It establishes one owner session and a durable flowId, ensuring reliable state for plugins or background work.