Tooluck logoTooluck
SKILL.md

loop-library

Agent skill fromalirezarezvani/claude-skills

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 behavior.

How to install loop-library

install loop-library
# install the claude-skills pack with the skills CLI
npx skills add alirezarezvani/claude-skills

# or add only this skill to Claude Code: copy the folder

loop-library/

# into

~/.claude/skills/loop-library/ (all projects)

.claude/skills/loop-library/ (one project)

loop-library/SKILL.md

MITFull file
1# Loop Library
2
3Help the user discover loop opportunities in existing engineering work, reuse a
4published Loop Library loop when one fits, audit or repair an existing loop, or
5design a new one through a focused interview. Treat a loop as a feedback system
6with terminal states, not as permission for endless autonomy.
7
8## Route the request
9
10Choose the smallest useful path:
11
12- **Discover:** Analyze a codebase, coding-thread history, or both for repeated
13 work that can become a bounded loop.
14- **Find:** Recommend one to three published loops for a stated problem.
15- **Audit / Loop Doctor:** Diagnose an existing loop and repair only material
16 weaknesses without changing its intended outcome.
17- **Adapt:** Start from a published loop and replace its thresholds, tools,
18 cadence, owners, or checks without weakening its feedback cycle.
19- **Design:** Ask a few plain-language questions, then produce a new bounded
20 loop.
21- **Find, then design:** Search first. Use the nearest published loop as a
22 scaffold and ask only about the missing decisions.
23
24Do not ask for information the user already supplied. If an audit target is
25missing, ask the user to paste, link, or name the loop. For another vague
26request, begin with: "What would you like the agent to get done?"
27
28## Discover loops from existing work
29
30When the user asks to analyze a codebase or coding threads for loop
31opportunities, read [references/discover.md](references/discover.md) and follow
32…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates