A robust framework for building autonomous multi-agent pipelines where Mastra handles reasoning and Trigger.dev ensures durable task execution with retries and fan-out.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install durable-agents
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-agents using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a comprehensive architectural pattern for developing autonomous multi-agent pipelines. It leverages the Mastra AI agent framework for reasoning and Trigger.dev for reliable, durable task execution. By utilizing Openclaw Skills, developers can decouple intelligence from code by defining agent personas in Markdown files while maintaining strict control over execution lifecycles, retries, and error handling.
The core value proposition lies in its ability to create complex, multi-stage workflows where each agent owns a single responsibility. This ensures that no single agent holds excessive context, and every transition between agents is mediated by a durable task engine and a persistent database record layer.
triggerAndWait or in parallel using batchTrigger.Before using this skill, ensure you have followed the primary setup instructions.
# Install core dependencies
npm install @mastra/core @trigger.dev/sdk zod
# Create the agent directory structure
mkdir -p src/agents/my-agent
touch src/agents/my-agent/AGENT.md src/agents/my-agent/my-agent.ts
Configure your model settings in src/config/model.ts and ensure all tasks are exported from src/trigger/index.ts to allow the worker to discover your pipeline components.
The skill utilizes a structured record layer to manage state. Every task transition uses database records to gate progress and prevent data loss.
| Attribute | Description |
|---|---|
| Status Transitions | Records move through states: pending, processing, draft, approved, rejected, published, or failed. |
| Input Payloads | All data passed to an agent is typed with Zod and stored in the database. |
| Output Contracts | Structured JSON outputs from agents are validated against schemas and persisted before the next stage. |
| Tool Records | Destructive tools operate only on specific record IDs to prevent accidental bulk operations. |
Loading
A high-performance audio transcription tool that leverages AIMLAPI for converting voice messages and sound files into text.

An essential content moderation skill that classifies text and images as safe or unsafe using industry-leading AI guardrails.

Generate high-fidelity music, songs, and soundtracks using top-tier AI models through the Openclaw Skills framework.

Execute high-performance AIMLAPI chat completions and complex reasoning workflows with built-in retries and structured output support.

Transform blog archives and essay sites into professionally formatted EPUB ebooks delivered directly to your Kindle.

An automated bioinformatics pipeline for performing Gene Ontology and KEGG pathway enrichment analysis with professional visualizations and interpretation.








































