loop-library
Skill by alirezarezvani
Finds, audits, adapts and designs repeatable AI agent loops with clear triggers, checks and stop conditions. Built for developers who want recurring agent work to be bounded and verifiable.
Install loop-library
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/loop-library ~/.claude/skills/loop-libraryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/loop-library ~/.gemini/antigravity-cli/skills/loop-libraryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Loop Library is an agent skill for finding, reviewing and building repeatable AI agent loops. It treats a loop as a feedback system with explicit triggers, actions, verification, stopping conditions, guardrails and handoffs. It can scan a codebase or coding thread history for work done more than once, search the published Loop Library catalog for a matching loop, audit an existing loop for weak checks or unbounded repetition, and design a new loop through a short interview.
The skill reads the live catalog when web access is available and recommends at most three published loops. Its rules require observable success gates, named stop states, and approval for destructive or external actions. Designing a loop does not enable a schedule or change production. It is aimed at developers and teams who want recurring agent work to stop cleanly and be checked.
Written from the project's SKILL.md and checked against it.
What it can do
- DiscoverFinds repeated work in a codebase or coding thread history that could become a loop.
- FindRecommends one to three published Loop Library loops that fit a stated problem.
- AuditDiagnoses an existing loop for weak checks, unsafe authority and unclear stopping behavior.
- AdaptChanges a published loop's thresholds, tools, cadence or owners without weakening its feedback cycle.
- DesignAsks a few plain questions and produces a new bounded, copy-ready loop.
What you need
- Web access to read the live Loop Library catalog
- Repository and thread-history tools for codebase discovery
Try asking
- Find published loops that fit a recurring test triage task
- Audit this loop prompt for unbounded repetition and unsafe authority
- Analyze this repo and my coding threads for work I repeat
Good to know
- Published loop discovery needs the live catalog and is unavailable without it.
- Recommends at most three published loops per request.
- Designing a loop does not enable schedules or change production.
- Discovery covers only the repositories and threads the user puts in scope.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: loop-library/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.claude-plugin/plugin.json599 B -
LICENSE1 KB -
README.md2 KB -
SKILL.md11 KB -
agents/openai.yaml249 B
Show all 7 files
-
references/audit.md3 KB -
references/discover.md4 KB
Alternatives to loop-library
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
loop-library: common questions
Does it need the live Loop Library catalog?
Yes, for published loop discovery it reads the live catalog. If the catalog is unavailable, it says so and does not use repository content as a substitute.
Does designing a loop turn on a schedule?
No. The source states that designing a loop does not authorize enabling a schedule, changing production, or sending external messages.
How does it decide work is repeated?
For thread-derived candidates it requires at least two concrete occurrences of semantically equivalent work before calling it repeated.
How do I install loop-library?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is loop-library free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is loop-library safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to loop-library?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
