A sophisticated control framework for AI agents that enforces persistent execution, prevents task drift, and verifies completion through multi-layered stop hooks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install execution-loop
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 execution-loop using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Execution Loop skill is a critical governance layer for AI coding agents, designed to solve the common problem of agents stopping before a task is truly finished. It provides a structured set of patterns to manage agent autonomy, ensuring that the agent remains active and focused until defined goals are met. By leveraging the power of Openclaw Skills, developers can implement strict verification gates that monitor agent behavior in real-time.
At its core, the skill manages the lifecycle of an agent session by intercepting stop events and applying logic-based blocks. Whether it is preventing an agent from being too hesitant through the Doubt gate or ensuring a long migration task stays on track via the Ralph persistent loop, this skill provides the guardrails necessary for high-stakes autonomous operations.
To integrate these Openclaw Skills into your environment, configure the Stop hooks in your .claude/settings.json file:
{
"hooks": {
"Stop": [
{ "hooks": [{ "type": "command", "command": "bash ralph-stop-hook.sh" }] },
{ "hooks": [{ "type": "command", "command": "bash doubt-gate.sh" }] },
{ "hooks": [{ "type": "command", "command": "bash task-completion-gate.sh" }] }
]
}
}
To start a controlled execution loop, use the initialization script:
# Initialize a loop with a 50-turn maximum for a specific task
bash ralph-init.sh my-migration-task 50
The skill manages state through structured JSON files to maintain consistency across session turns:
| File Type | Path | Purpose |
|---|---|---|
| Ralph Status | sessions/<id>/ralph.json |
Stores iteration counts, max limits, and active status. |
| Task Checklist | .harness-tasks.json |
An array of objects defining task names and their completion boolean. |
| Guard File | $TMPDIR/doubt-gate-<id> |
Temporary file used to prevent the Doubt gate from triggering multiple times in a single turn. |
These schemas ensure that even if a session is interrupted, the Openclaw Skills framework can resume execution with accurate state data.
Loading
A dynamic activity suggestion skill that provides instant ideas for hobbies, social gatherings, and solo tasks based on category or group size.

A technical architecture skill for building scalable CSS systems and responsive layout frameworks.

A dedicated AI skill for accessing the Open Brewery DB to find and retrieve detailed information on craft breweries across the United States.

A comprehensive Stable Diffusion WebUI integration for generating and editing high-quality AI images through a local API.

AgentBrowse provides a robust browser automation layer for AI agents to interact with real websites through a specialized CLI.

A high-performance modular framework that transforms AI agents into elite physics experts for theoretical analysis and experimental design.








































