tech/cloudflare/workflows

Official

Orchestrate multi-step execution with durable Workflows on Cloudflare Workers.

Author2nth-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of orchestrating complex, multi-step AI agent pipelines that need to survive Worker restarts and handle long-running tasks, compensating earlier steps if a later one fails.

Core Features & Use Cases

  • Durable Execution: Ensures that multi-step processes survive Worker restarts.
  • Long-Running Tasks: Handles tasks that last minutes to hours, beyond the capabilities of Queues.
  • Compensating Transactions: Implements saga patterns to compensate earlier steps if a later one fails.
  • Sequential Calls: Coordinates sequential AI calls with retry at each step.
  • State Machines: Replaces complex state machines in Durable Objects with declarative step definitions.
  • Use Case: Imagine you need to process a sequence of tasks that involves classifying, retrieving, generating, and storing data. This Skill can manage this workflow, ensuring each step is retried independently and the overall state persists.

Quick Start

Start a workflow instance for a given project with the parameters 'projectId', 'userId', and 'briefText'.

Dependency Matrix

Required Modules

tech/cloudflare/workerstech/cloudflare/queues

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tech/cloudflare/workflows
Download link: https://github.com/2nth-ai/skills/archive/main.zip#tech-cloudflare-workflows

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.