loopRun iterative agent loops until success criteria are met. Controlled autonomous iteration.
Install via ClawdBot CLI:
clawdbot install ivangdavila/loop~/loop/
āāā active.json # Currently running loops
āāā history/ # Completed loop logs
ā āāā {loop-id}.json
āāā learnings.md # Cross-loop patterns
Create on first use: mkdir -p ~/loop/history
This skill:
| Topic | File |
|-------|------|
| Loop examples | examples.md |
| Memory between iterations | memory.md |
Task + Criteria ā Execute ā Verify ā [Pass? Exit : Retry]
| Element | Required | Example |
|---------|----------|---------|
| Task | Yes | "Fix failing tests" |
| Success criteria | Yes | "All tests pass" |
| Max iterations | Default: 5 | Max: 10 |
| Verify command | Recommended | npm test |
NOT for: One-shot tasks, undefined goals, exploratory work
If max reached without success:
Generated Mar 1, 2026
Automatically runs test suites after code changes, iterating to fix failing tests until all pass. Useful for continuous integration pipelines where developers need reliable test results without manual intervention.
Iteratively processes datasets to identify and correct errors, such as missing values or format inconsistencies, until data meets quality criteria. Helps data analysts ensure accuracy before analysis.
Attempts to resolve common customer issues by running predefined troubleshooting steps, logging outcomes, and retrying with adjustments until success or escalation. Reduces manual workload for support teams.
Generates content drafts, verifies against style guidelines or SEO criteria, and iteratively refines until meeting standards. Assists marketing teams in producing consistent, high-quality materials efficiently.
Checks system settings against compliance policies, making iterative adjustments to fix deviations until configurations are secure and optimized. Supports IT operations in maintaining infrastructure standards.
Offers the Loop skill as part of a cloud-based AI agent platform with tiered pricing based on usage volume and features. Provides recurring revenue through monthly or annual subscriptions for businesses automating repetitive tasks.
Provides custom implementation and training services to integrate the Loop skill into existing workflows, such as DevOps or data pipelines. Generates revenue through project-based fees and ongoing support contracts.
Sells perpetual licenses for on-premises deployment of the Loop skill, targeting large organizations with strict data security requirements. Includes maintenance and upgrade fees for long-term revenue streams.
š¬ Integration Tip
Integrate the Loop skill by defining clear success criteria and verification commands, ensuring it complements existing automation tools without overlapping destructive actions.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection