# Loopy

> An installable agent skill, plus Forward Future's public Loop Library, for finding, adapting, running and designing bounded agent loops

- Category: Agents & Automation / Agent Skills & Plugins
- Language: JavaScript
- Licence: MIT
- Repository: https://github.com/Forward-Future/loopy
- Website: https://signals.forwardfuture.com/loop-library/
- Canonical page: https://ai-tldr.dev/tools/loopy/

## In short

Loopy is an installable skill from Forward Future that teaches a coding agent to work with loops: prompts that tell an agent what to do, how to check its work, what to try next and when to stop. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in JavaScript and licensed MIT.

## Overview

Loopy is an installable skill from Forward Future that teaches a coding agent to work with loops: prompts that tell an agent what to do, how to check its work, what to try next and when to stop. The repository holds two related parts. The Loop Library website is a public catalog where people and agents browse published loops and copy their prompts, with no installation needed; Loopy is the optional skill that brings that catalog, and a guided workflow around it, into Codex, Cursor, Claude Code and other agents.

The project's argument is that a one-shot instruction like "make this website faster" leaves too much to guesswork, while a loop adds feedback: find the slowest page, make one focused improvement, measure again, keep the change only if it helps, and stop when every page meets the target or another pass stops paying off. A good loop answers four questions: what the agent is trying to accomplish, how it will know the latest attempt worked, what it should do with what it learned, and when it should finish or ask for help. Loops are meant to be deliberately bounded, not permission to run forever.

Once installed, Loopy takes nine paths: Discover, Find, Loop Doctor, Adapt, Craft, Run, Debrief, Save and Publish. It checks the live catalog when it recommends a published loop, and it does not quietly start schedules, change production, publish content or send messages on your behalf; those still need the normal permissions and approvals. Agents without the skill can use the site's published agent guide, llms.txt instructions, and JSON or plain-text catalogs directly. The repository is MIT-licensed and written in JavaScript.

## What it does

- Discover: inspects a codebase, your coding-thread history or both for repeated work, requiring at least two distinct thread occurrences before calling it recurring, then turns the strongest candidate into a bounded loop
- Find and Adapt: searches the live Loop Library catalog, recommends up to three published loops, and tailors one to your real tools, limits, schedule and definition of success
- Loop Doctor and Craft: audits an existing loop for weak checks, unsafe actions or unclear stopping behaviour and repairs only material problems, or interviews you one question at a time to design a new loop
- Run and Debrief: executes a loop in bounded passes with the same acceptance check after each pass, returns a receipt with actions, evidence, outcome and stopping reason, and later recommends the smallest evidence-backed improvement
- Save: on request, appends an accepted loop to the project's LOOPS.md and reuses saved loops in later sessions, warning when a published source it was adapted from has changed
- Publish: checks a loop for quality and catalog overlap and prepares an exact preview, submitting only after explicit approval

## Getting started

Loopy installs through the skills CLI, so all you need is Node.js and npx. The Loop Library website itself needs no installation; you can browse it or point an agent at its agent guide without the skill.

1. Install the skill for your agent

   Pick the agent with --agent. -g makes the skill available in all your projects (leave it off to install only in the current project) and -y accepts the install prompts. Repeat --agent to install for several agents at once.

```bash
npx skills add Forward-Future/loopy \
  --skill loopy \
  --agent codex \
  --agent cursor \
  --agent claude-code \
  -g -y
```

2. Or use the interactive installer

   For another agent, run the installer without --agent and choose from the agents it detects. If an agent was already open and Loopy does not appear, restart it.

```bash
npx skills add Forward-Future/loopy --skill loopy -g
```

3. Invoke Loopy and say what you want done

   In Claude Code or Cursor, type /loopy followed by your request. In Codex, choose Loopy from /skills or mention it with $loopy. You don't need loop terminology; describe the outcome and Loopy picks the path.

```text
/loopy Find a loop for improving test reliability.
```

4. Let it discover loops in your own work

   Point Loopy at a repository and your coding threads, and it returns compact source evidence plus a new loop, an adaptation of a published one, a short candidate slate, or a clean no-op when nothing fits. Selecting a loop does not start a run; ask explicitly to run it.

```text
$loopy Analyze this codebase and my coding threads for repeated work, then turn the strongest candidate into a reliable loop.
```

## When to use it

- Turn chores your team keeps repeating, such as fixing production errors, improving test coverage or keeping documentation current, into a bounded loop with a real check and a stopping point
- Borrow a published workflow from the Loop Library and adapt it to your repository's own tools and checks instead of writing one from scratch
- Audit an agent prompt that tends to run on or claim success too early, and repair its acceptance check and stopping rule
- Keep a project's proven loops in LOOPS.md so later agent sessions can reuse them
