A comprehensive set of patterns and scripts for building AI agent workflows that maintain state and survive external failures.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install durable-workflow
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install durable-workflow using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Durable Workflow Patterns is a specialized toolkit designed to help developers build robust, multi-step automations that won't lose progress when things go wrong. By implementing core principles like checkpointing, recovery, and alerting, this skill ensures that AI agents can handle real-world challenges such as API timeouts, network failures, and unexpected crashes.
This collection of Openclaw Skills provides ready-to-use implementations for common reliability patterns, including exponential backoff, circuit breakers, and dead letter queues. It shifts the focus from simple script execution to managed, resilient process lifecycles that are essential for professional-grade AI deployments.
To start using these resilient patterns in your Openclaw Skills, copy the template script and configure your environment:
# Copy the workflow skeleton
cp scripts/workflow-template.js my-workflow.js
# Run the workflow with an optional custom state path
WORKFLOW_STATE_PATH=/tmp/state.json node my-workflow.js
# Configure alerting (Optional)
export ALERT_TELEGRAM_TOKEN="your_bot_token"
export ALERT_CHAT_ID="your_chat_id"
The skill manages workflow progress through a structured state object and handles failures via metadata-rich queues.
| Data Component | Format | Description |
|---|---|---|
| State File | JSON | Stores step index and results array to track progress. |
| Lock File | File (.lock) | Contains the PID of the running process to prevent concurrency. |
| DLQ File | JSON | Array of objects containing the failed item, error message, and failedAt timestamp. |
| Alerting Payload | JSON | Markdown-formatted message sent via HTTPS POST to the Telegram Bot API. |
lock.js to automatically reclaim stale locks from previously crashed processes.Loading
DELULU is an intelligent AI dating agent that automates friend matching, smart conversations, and social interactions for the OpenClaw and Claude Code platforms.

A professional-grade security framework to lock down LLM agents against prompt injection, data exfiltration, and adversarial social engineering.

A personal reconnection skill designed to help developers recover from burnout through offline activities and habit tracking.

WorkReply is an AI-powered workplace communication coach that helps professionals draft high-impact, strategic messages for any corporate scenario.

A systematic framework for executing high-conversion Cost-Per-Sale (CPS) affiliate marketing campaigns across multiple platforms.

A zero-LLM daily marketing system for indie developers that generates and schedules a full week of multi-platform social content from a pre-defined content bank.








































