workflow

Create durable, resumable workflows with Vercel Workflow DevKit.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Moisesjr20/gueclaw --skill workflow-moisesjr20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow
Source: https://github.com/Moisesjr20/gueclaw/tree/main/.agents/skills/workflow
Command: npx skills add https://github.com/Moisesjr20/gueclaw --skill workflow-moisesjr20

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance for building durable, resumable workflows using Vercel Workflow DevKit, enabling long-running processes to survive restarts, network interruptions, and service crashes. It clarifies sandbox limitations and prescribes patterns to ensure reliability, observability, and safe AI integration.

Core Features & Use Cases

  • Durable Orchestration: Patterns for pause/resume via hooks and webhooks, child workflows, namespaced streaming, and deterministic tokens for long-running flows.
  • Step-based Reliability: Guidance to move Node.js logic into step functions, use RetryableError and FatalError for error semantics, and employ sleep() instead of timers to avoid sandbox failures.
  • AI & Agent Integration: DurableAgent usage patterns, streaming outputs with getWritable, and recommendations for OIDC-based AI Gateway setup when calling provider SDKs.
  • Use Case: Orchestrate a human-in-the-loop approval pipeline that fans out analysis tasks to AI-powered steps, persists intermediate results, waits for external callbacks, and retries transient failures until completion.

Quick Start

Start a durable workflow to process a long-running job that pauses for human approval, streams progress to a namespaced log, and automatically retries transient errors.

Frequently Asked Questions about workflow

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

FAQPage Schema
How do I build durable workflows that survive restarts and crashes?

Durable workflows survive restarts by moving Node.js logic into step functions and using hooks for pause/resume patterns. This ensures long-running processes maintain state across network interruptions and service crashes without losing progress.

What is the best way to handle human-in-the-loop approvals in a multi-step pipeline?

Human-in-the-loop approvals use webhook pause and resume patterns to halt execution until external callbacks are received. This allows multi-step pipelines to wait for manual authorization before continuing automated processing.

How do I implement retry semantics for transient errors in workflow orchestration?

Retry semantics for transient errors are implemented using RetryableError to trigger automatic retries, while FatalError stops execution immediately. This distinguishes recoverable network issues from permanent failures in orchestration pipelines.

Can I use Vercel Workflow DevKit for long-running tasks like cross-service orchestration?

Vercel Workflow DevKit supports long-running tasks including cross-service orchestration, multi-step pipelines, and webhooks. It handles deterministic tokens and namespaced streaming to coordinate complex processes across multiple services.

Why do timers fail in sandboxed workflow environments and how do I fix it?

Timers fail in sandboxed environments due to execution constraints, but using sleep() instead of standard timers prevents sandbox failures. This ensures reliable delay execution within durable workflow steps.

Does AI integration in workflows require OIDC-based AI Gateway configuration?

AI steps calling provider SDKs require OIDC-based AI Gateway configuration for secure integration. This setup enables DurableAgent usage patterns and streaming outputs via getWritable for reliable AI-powered workflow steps.