durable-workflowPatterns and procedures for building AI agent workflows that survive real-world failures. Use when asked to build a multi-step automation, pipeline, or agent...
Install via ClawdBot CLI:
clawdbot install old-greggyboy/durable-workflowGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated Oct 7, 2026
Automate the flow from order confirmation through payment capture, inventory reservation, shipping label generation, and customer notification. When an external payment or shipping API times out, the workflow resumes from the last checkpoint instead of double-charging or double-shipping. Failed items are routed to a dead letter queue for manual review.
Pull pricing, news, and sentiment data from multiple third-party financial APIs on a schedule. Each source is isolated behind a retry and circuit breaker so a failing API doesn't stall the entire batch. Checkpointing ensures that a crash mid-ingest doesn't lose the data already collected.
Ingest invoices from email or file drop, extract line items with an LLM, validate against purchase orders, and push approved payments to the accounting system. Idempotent upserts on invoice number prevent duplicate payments when the workflow is re-run after a failure. Long-running OCR or LLM calls are wrapped in timeouts with retry.
Build a deployment pipeline that runs migrations, deploys services, runs smoke tests, and notifies the team on Slack. Circuit breakers halt rollout when health checks fail repeatedly, and a file-based lock prevents overlapping deploys triggered by two merges in quick succession. State checkpoints allow the pipeline to resume from the failed stage rather than starting over.
Coordinate a multi-step onboarding that creates CRM records, provisions accounts, syncs with a billing provider, and sends welcome emails. Each step is idempotent and checkpointed, so a midday API outage doesn't force a full restart. Abnormal exits trigger an alert instead of silently dropping a new customer.
A SaaS product that lets non-technical teams compose multi-step automations from a library of durable step templates. The platform runs each workflow with checkpointing, retries, circuit breakers, and DLQ on its own infrastructure, selling reliability as a service.
A consultancy that audits an organization's existing brittle scripts and pipelines, then refactors them using the durable workflow patterns. Deliverables include reusable templates, runbooks, and alerting configuration tailored to the client's stack.
A packaged product for a single industry (e.g., claims processing in insurance or patient intake in healthcare) that ships pre-built durable workflows for the most common multi-step jobs in that domain. Customers deploy it into their own cloud with a license key.
💬 Integration Tip
Start by copying scripts/workflow-template.js and filling in the step TODOs, then layer in lock.js at the entry point to prevent concurrent runs; test each pattern (checkpoint, retry, circuit breaker, DLQ) in isolation before composing them into a full workflow.
Scored Oct 7, 2026
Meta-skill for AI agent self-improvement. Analyzes runtime logs to detect error patterns, regressions, and inefficiencies, then generates structured improvem...
Stop waiting for prompts. Keep working.
Turn OpenClaw into a learning-loop agent with seeded workspace rules, skill promotion, reflective memory, and proactive maintenance.
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents. Decomposes macro tasks into subtasks, spawns specialized sub-agents with dynamically generated SKILL.md files, coordinates file-based communication, consolidates results, and dissolves agents upon completion. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Complete toolkit for creating autonomous AI agents and managing Discord channels for OpenClaw. Use when setting up multi-agent systems, creating new agents, or managing Discord channel organization.
Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify and generate authentic...