Practical repeatable AI-agent workflows for engineering, evaluation, operations, content, and design.
# Add to your Claude Code skills
git clone https://github.com/Forward-Future/loop-libraryloop-library is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Forward-Future. Practical repeatable AI-agent workflows for engineering, evaluation, operations, content, and design. It has 690 GitHub stars.
loop-library's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Forward-Future/loop-library" and add it to your Claude Code skills directory (see the Installation section above).
loop-library is primarily written in HTML. It is open-source under Forward-Future on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh loop-library against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
The Loop Library skill is an installable guide for your AI agent. Tell it what you want to get done and it can find a published loop, audit and repair an existing one, adapt one to your situation, or help you design a new one through a short conversation.
Loop Library is a collection of reusable ways to get better work from AI agents. Each loop tells an agent what to do, how to check its work, what to try next, and when to stop.
Agents can use the published site without installing anything. Send them to the agent guide or the agent instructions. The live catalog is available as JSON and plain text.
Most prompts ask an agent to do something once. A loop gives the agent a way to learn from the result and take the next useful step.
For example, a one-shot prompt might say:
Make this website faster.
A loop adds the feedback that makes the work repeatable:
Find the slowest page, make one focused improvement, and measure it again. Keep the change only if it helps. Repeat until every page meets the target or another pass stops producing a meaningful improvement.
Think of a loop as a playbook with feedback built in. It is useful when the first attempt probably will not be the final answer, such as fixing production errors, improving test coverage, reviewing a product, or keeping documentation current.
A good loop answers four simple questions:
AI agents can move quickly, but an open-ended instruction like "keep improving this" leaves too much room for guessing. A loop gives the work a clear finish line and a consistent way to judge progress.
That makes the work easier to trust and easier to repeat. The agent can compare results instead of relying on confidence, keep improvements instead of merely making changes, and stop when it succeeds or stops making progress. The same loop can also be reused by another person or agent without rebuilding the workflow from scratch.
Loops are not permission for an agent to run forever. The best ones are deliberately bounded. They include a real check, a clear stopping point, and a moment to hand control back to a person when judgment or approval is needed.
The Loop Library skill gives your agent direct access to the ideas in the library. You can use it to:
The skill checks the live catalog when it recommends a published loop. It does not quietly start schedules, change production, or send messages on your behalf. Those actions still require the normal permissions and approvals.
You need Node.js and npx. Pick the platform you use:
| Platform | Install command |
|---|---|
| Codex | npx skills add Forward-Future/loop-library --skill loop-library --agent codex -g -y |
| Cursor | npx skills add Forward-Future/loop-library --skill loop-library --agent cursor -g -y |
| Claude Code | npx skills add Forward-Future/loop-library --skill loop-library --agent claude-code -g -y |
To install it for all three at once:
npx skills add Forward-Future/loop-library \
--skill loop-library \
--agent codex \
--agent cursor \
--agent claude-code \
-g -y
Using another agent? Run the interactive installer and choose from the agents it detects:
npx skills add Forward-Future/loop-library --skill loop-library -g
The command parts mean:
Forward-Future/loop-library is the GitHub repository to install from.--skill loop-library selects this skill from the repository.--agent ... selects the agent that should receive it.-g makes it available in all your projects. Leave -g off to install it
only in the current project.-y accepts the install prompts. Leave it off if you want to review the
choices interactively.If an agent was already open and the skill does not appear, restart that agent.
The slash-command experience differs slightly by platform:
/skills, choose Loop Library, then enter your request.
You can also mention it directly with $loop-library./ in Agent chat, search for loop-library, select it, and
add your request. You can also type /loop-library directly./loop-library followed by your request.You can also describe a matching task normally. These agents can load the skill automatically when your request clearly calls for it, but explicit invocation is the most predictable way to start.
You do not need to know loop terminology. Invoke the skill and say what you want to get done. It can take four paths:
| Path | What it does | Example request |
|---|---|---|
| Find | Searches the live catalog and recommends up to three published loops. It does not run them. | Find a published loop for keeping our documentation current. |
| Loop Doctor | Audits a loop you paste or name, explains material weaknesses, and repairs only those problems. | Audit this loop and repair only material problems: [paste loop] |
| Adapt | Tailors a useful loop to your real tools, limits, schedule, and definition of success. | Adapt the Overnight Docs Sweep to this repository and our existing checks. |
| Design | Asks a few plain-language questions, then creates a short, bounded loop when the catalog has no good fit. | Help me design a loop that turns customer feedback into verified fixes. |
For example, in Claude Code or Cursor:
/loop-library Find a loop for improving test reliability.
In Codex, choose Loop Library from /skills, then send:
Find a loop for improving test reliability.
When the skill finds or creates the right loop, it gives you a prompt to use with your agent. Review any placeholders, then ask the agent to run that prompt in the project you want it to work on. Selecting a loop does not start a schedule, deploy code, delete data, send messages, or grant new permissions; you must request those actions explicitly.
Every published loop also includes a few useful parts:
Visit the Loop Library to browse published loops, copy one into your own workflow, or submit a loop that has worked well for you.
Loop Library is a Forward Future project and is available under the MIT License.
python3 -m http.server 4173 --directory site
Then open http://localhost:4173.
npm ci --prefix worker
node scripts/build-skill-catalog.mjs
node scripts/build-loop-pages.mjs
node scripts/build-social-images.mjs
node --check scripts/audit-seo-geo.mjs
node --check scripts/build-social-images.mjs
node --check site/script.js
node --check scripts/build-loop-pages.mjs
node --check scripts/loop-data.mjs
node --check scripts/validate-loop-data.mjs
node scripts/audit-seo-geo.mjs
node scripts/check.mjs
npm --prefix worker run check
python3 -m json.tool site/.herenow/data.json >/dev/null
python3 -m json.tool scripts/seo-geo-query-benchmark.json >/dev/null
git diff --check
Read AGENTS.md before editing loops or publishing the site. It contains the source-of-truth rules for generated files, form security, and clean-main deployments.