Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Durable Taskflow Orchestrator

    10

    Coordinate multi-step detached jobs as one durable TaskFlow run: define an owner context and state machine with ordered steps, retries, webhook waits, and resum

    Free

    3 usesSecurity scanned
    Durable Taskflow Orchestrator

    Durable Taskflow Orchestrator

    Example session with this skill installed

    Create a durable workflow to fetch orders from an API, wait for a manager's webhook approval, and then email the operations team. Make it survive a process crash.

    • Read your context and instructions
    • Compiled the durable taskflow orchestrator

    I have initialized the 'order-fulfillment' job. The taskflow.yaml is configured with 3 retries for the fetch step and a 24h timeout for the webhook. Run taskflow start order-fulfillment to begin. I will monitor the status via the persistent ledger.

    I have initialized the 'order-fulfillment' job. The taskflow.yaml

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Long-running workflows often fail when a session is interrupted or a service flakiness causes a restart from step zero. Coordinating multi-step jobs that require human approval or external webhooks usually leads to fragmented scripts and lost state.

    What it does

    • Persists execution state to a local ledger to enable resuming jobs from the exact point of failure.
    • Orchestrates detached, multi-step processes that continue running after the terminal session closes.
    • Manages automatic retries with exponential backoff and jitter for flaky network actions.
    • Handles asynchronous pauses for webhooks or human approvals with configurable timeouts.
    • Generates detailed audit trails documenting every transition, timestamp, and attempt count.

    Frameworks & tools

    Python, taskflow-cli, YAML for state machine definitions, and standard CLI tools like curl and mail.

    Why this beats prompting it yourself

    Prompting an AI to manage state often results in fragile logic that cannot handle real-world interruptions. This skill provides a structured, command-line driven protocol for durability, ensuring your agent follows a verifiable state machine rather than guessing the next step.

    Use cases

    • Automating multi-day billing cycles that require manual invoice approval.
    • Data scraping pipelines that need to survive network drops and process restarts.
    • CI/CD style deployments where later steps depend on external webhook signals.
    • Complex system migrations that require a verifiable audit trail of every completed action.

    Known limitations

    Not suitable for short synchronous tasks, sub-second timing requirements, or heavy data movement between steps. Requires local state directory management for durability.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    Requires taskflow-cli installation. Not for sub-second latency or massive data transfer between steps. State directory must be manually backed up for disaster recovery.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    3 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    • Free with an Agensi account

    Accounts
    Acme

    Permissions

    Network Access

    Allowed Hosts

    api.acme.io
    Listed3 months ago

    What's inside

    Frequently Asked Questions

    Unlike standard scripts, this orchestrator uses a local ledger to persist state at every step. If a network drop or system crash occurs, the task resumes from the exact point of failure rather than restarting from step zero.

    The orchestrator is designed for any AI agent or CLI-based tool that can execute Python scripts and handle YAML files. It is particularly effective for agents performing complex, multi-day operations that exceed the limits of a single session.

    You will receive the core TaskFlow engine, the `taskflow-cli` tool, a library of YAML templates for defining state machines, and a comprehensive guide on integrating the orchestrator into your existing agentic workflows.

    The skill supports asynchronous pauses where the process waits for an external webhook signal or a manual 'continue' command. You can configure specific timeouts for these steps, ensuring the workflow remains idle without consuming active resources until the condition is met.

    While it excels at managing logic and retries, it is not designed for transferring gigabytes of raw data between steps or handling real-time, sub-second execution requirements. It is best used as a high-level manager for discrete, durable actions.

    Setup is straightforward: install the Python requirements, define your workflow steps in a YAML file, and point the `taskflow-cli` to a local directory where you want the state ledger to be stored.

    New in Workflow Automation

    Free