loop-library
Discover, find, compare, audit, repair, adapt, and design repeatable AI-agent loops with explicit triggers, actions, verification, stopping conditions, guardrails, and handoffs. Use when a user asks to analyze a codebase for potential loops, mine coding-thread history for work done more than once, turn repeated engineering work into a loop, find or recommend a published loop, create a recurring agent workflow or automation cadence, turn an outcome into a bounded copy-ready loop, or review an existing loop for weak checks, unsafe authority, unbounded repetition, stale state, or unclear stopping
npx skills add alirezarezvani/claude-skills --skill loop-library --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Loop Library Help the user discover loop opportunities in existing engineering work, reuse a published Loop Library loop when one fits, audit or repair an existing loop, or design a new one through a focused interview. Treat a loop as a feedback system with terminal states, not as permission for endless autonomy. ## Route the request Choose the smallest useful path: - **Discover:** Analyze a codebase, coding-thread history, or both for repeated work that can become a bounded loop. - **Find:** Recommend one to three published loops for a stated problem. - **Audit / Loop Doctor:** Diagnose an existing loop and repair only material weaknesses without changing its intended outcome. - **Adapt:** Start from a published loop and replace its thresholds, tools, cadence, owners, or checks without weakening its feedback cycle. - **Design:** Ask a few plain-language questions, then produce a new bounded loop. - **Find, then design:** Search first. Use the nearest published loop as a scaffold and ask only about the missing decisions. Do not ask for information the user already supplied. If an audit target is missing, ask the user to paste, link, or name the loop. For another vague request, be
- Route the request
- Discover loops from existing work
- Find a published loop
- Audit and repair a loop
- Keep discovered loops, adaptations, and repairs grounded
- Run the design interview
- Design the feedback cycle
- Validate every crafted loop
- Deliver the loop
What does the loop-library skill do?
Discover, find, compare, audit, repair, adapt, and design repeatable AI-agent loops with explicit triggers, actions, verification, stopping conditions, guardrails, and handoffs. Use when a user asks to analyze a codebase for potential loops, mine coding-thread history for work done more than once, turn repeated engineering work into a loop, find or recommend a published loop, create a recurring agent workflow or automation cadence, turn an outcome into a bounded copy-ready loop, or review an existing loop for weak checks, unsafe authority, unbounded repetition, stale state, or unclear stopping
How do I install it?
Run `npx skills add alirezarezvani/claude-skills --skill loop-library --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From alirezarezvani/claude-skills, a repository with 23,791 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.