cloudflare-workflows-for-long-tasks

Community

Turn fragile tasks into durable workflows

Authorokayus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps migrate long-running Cloudflare Worker background tasks away from ctx.waitUntil() failures by replacing unreliable post-response execution with durable Cloudflare Workflows that survive beyond the 30-second limit.

Core Features & Use Cases

  • Workflow Migration Guidance: Converts waitUntil-based jobs into WorkflowEntrypoint implementations with durable steps, retries, and persisted execution state.
  • Production Reliability Patterns: Provides patterns for idempotent step design, serializable outputs, retry configuration, failure handling, and cleanup of orphaned database records.
  • Use Case: A Cloudflare Worker processing Vision LLM analysis, large files, or slow third-party API calls can use this Skill to migrate the job into a workflow with observable progress and automatic recovery.

Quick Start

Use the cloudflare-workflows-for-long-tasks skill to migrate my Worker background task from ctx.waitUntil() to a durable Cloudflare Workflow.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: cloudflare-workflows-for-long-tasks
Download link: https://github.com/okayus/okayus-skills/archive/main.zip#cloudflare-workflows-for-long-tasks

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 545,000+ vetted skills library on demand.