A robust execution protocol designed to manage, monitor, and recover sustained multi-step AI agent tasks through structured state management.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install long-run-mode
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 long-run-mode using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Long Run Mode acts as a specialized task execution protocol rather than a simple prompt. It is engineered for complex operations that require multiple steps and extended durations, providing a framework for task framing, state recording, and session routing. By integrating this into Openclaw Skills, developers ensure that AI agents remain accountable and visible through mandatory progress heartbeats, preventing tasks from running into silent loops or losing state during long-duration work cycles.
The skill operates under strict trigger boundaries, only activating when the user explicitly requests long task mode. It includes a comprehensive suite of Python scripts to handle the lifecycle of a task, from initial state registration to watchdog-based recovery and cross-session message dispatching.
To integrate this protocol into your Openclaw Skills environment, follow these steps:
# Navigate to your skills directory and ensure the scripts are executable
chmod +x skills/long-run-mode/scripts/*.py
# Install the watchdog cron job to monitor background tasks
bash skills/long-run-mode/scripts/install_watchdog_cron.sh
# (Optional) Run the local watchdog loop for debugging
bash skills/long-run-mode/scripts/watchdog_loop.sh
The skill manages task state through a structured JSON schema. Below are the primary fields used to track long-running operations within Openclaw Skills:
| Field | Type | Description |
|---|---|---|
task |
String | Unique name of the task. |
state |
Enum | Current status: analyzing, executing, waiting, blocked, handoff, or done. |
origin_session_key |
String | The unique ID of the session where the task started. |
progress_every |
Duration | Interval for mandatory foreground heartbeats (default 3m). |
goal |
String | The primary objective of the long-running task. |
last_progress_at |
ISO8601 | Timestamp of the last visible progress report sent to the user. |
Loading
A professional Bitcoin price monitoring and alert system featuring real-time tracking across multiple currencies and automated Telegram notifications.

An automated AI agent skill that generates stunning, bilingual visual timelines of historical events occurring on the current date.

A sophisticated logic framework for dynamically adjusting LLM temperature settings to ensure task-appropriate balance between deterministic precision and creative expression.

A digital sanctuary that generates a personalized, interactive mindfulness experience featuring guided breathing exercises and bilingual meditative content.

A proactive agent skill that enables AI to learn from its own mistakes, user feedback, and repeating patterns to improve over time.

A professional-grade skill pack for AI agents to write, format, and publish viral WeChat Official Account content directly.








































