A structured skill for building resilient, self-running agent loops with automated triggers, persistent state memory, objective safety gates, and supervised rollout levels.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install loop-creator
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 loop-creator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Loop Builder skill is a comprehensive framework designed to convert recurring, manual development and triage chores into robust, self-running agent loops. Unlike standard prompts that deliver one-off responses, this skill constructs a complete system comprising six crucial components: an automation trigger, local memory state files, procedural instruction manuals, isolated git worktrees, specialized sub-agents, and objective hard-stop conditions. It is ideal for developers leveraging Openclaw Skills to automate continuous integration (CI) triage, pull request reviews, automated linting, documentation updates, and periodic dependency management.
By organizing agent execution around a persistent state file and an objective verification gate (such as test suites or exit codes), Loop Builder prevents common agent failures like infinite execution loops or premature "done" assertions. It introduces a structured autonomy ladder, ensuring that loops start safely at low-risk suggestion phases before earning higher clearance levels based on proven, supervised performance.
To use this loop builder within your workspace, set up the procedural file structure:
# 1. Create the skill directory
mkdir -p .claude/skills/loop-builder
# 2. Initialize the state directory if needed
mkdir -p reports
Create the .claude/skills/loop-builder/SKILL.md file containing your loop's concrete procedures. Next, define your restricted execution permissions by updating .claude/settings.json. Since automatic security blocks might prevent automated agents from self-modifying security permissions, copy and paste this command allowlist configuration manually:
{
"permissions": {
"allow": [
"npm run test",
"git fetch",
"git checkout",
"gh pr status"
],
"deny": [
"gh pr merge",
"git push --force",
"rm -rf"
]
}
}
Finally, initialize your state tracker file at reports/loop-state.md with a clean markdown table to log iterations.
The Loop Builder relies on clean, predictable, and highly restricted file structures to ensure data persists cleanly across stateless cloud execution instances.
| File Path | Description | Access Mode |
|---|---|---|
.claude/skills/<loop-name>/SKILL.md |
The core procedural manual detailing the agent's role, commands, and hard-stop gates. | Read-Only during execution |
reports/<loop-name>-STATE.md |
The persistent memory state file. Must be written to last and read first. | Read/Write (committed per run) |
.claude/settings.json |
Local security and permissions allowlist/denylist configuration. | User-configured, Read-Only for AI |
reports/<loop-name>-STATE.md)The state file acts as the only memory block across runs. Keep it small, concise, and structured as follows:
PASS, FAIL, or MAX_ITERATIONS).git worktree environments to prevent write conflicts during concurrent tasks..claude/settings.json that fire automatically on repository shifts or commit events.Loading
A structured AI coding agent skill to assist users in migrating away from Gmail, evaluating secure alternatives, and reclaiming their data privacy.

An AI-powered e-commerce research assistant that analyzes top-selling products across major retail platforms and generates interactive visual HTML market reports.

A production-grade, four-layer memory architecture plugin for OpenClaw that automates dialogue capture, parses structural logs, and manages dynamic user profiles.

An AI agent skill based on Pam England and Rob Horowitz's childbirth preparation framework that guides users through natural labor pain management, birth art, emotional readiness, and birth partner involvement.

An AI assistant skill based on Timothy Egan's book that analyzes the historic 1910 Big Burn wildfire, its political fallout, and its role in founding the U.S. Forest Service.

An expert AI coding agent skill designed to review, plan, and QA Arabic-first mobile and family applications, ensuring proper RTL layout, bilingual consistency, and private onboarding workflows.








































