Skip to content

Loom

My favorite add-ons for AI coding agents, in one repo. Install it once and your agent gets all of them.

Loom works with Claude Code, GitHub Copilot CLI, Codex, Pi and OpenCode.

What you get

Part What it is
Skill Instructions the agent follows for one kind of task, such as a code review
Subagent A helper agent that the main agent hands a task to
MCP server A connection that lets the agent use an outside tool or service
Hook A script that runs by itself at a set moment, such as when a session starts
Extension Code that changes the agent's own screen or commands

Install

Run the lines for the agent you use.

Claude Code

claude plugin marketplace add Yassimba/loom
claude plugin install loom@loom

GitHub Copilot CLI

copilot plugin marketplace add Yassimba/loom
copilot plugin install loom@loom

Codex

codex plugin marketplace add Yassimba/loom
codex plugin add loom@loom

Pi

pi install git:github.com/Yassimba/loom

OpenCode

opencode plugin add github:Yassimba/loom

On OpenCode 1, leave out add.

Build a feature with it

The skills chain into one flow, from an idea to a merged pull request. Type each skill as a slash command, such as /grill-with-docs.

The Loom engineering flow: Plan, Build, Harden and Release, each with its skills in order. Build repeats for every ticket.

Build is a loop. After /commit, /implement takes the next ticket. When no ticket is left, go on to Harden.

Phase Skill What it does
Plan /grill-with-docs Interviews you until the plan is sharp, and writes down the terms and decisions
/bdd Asks you for concrete examples of the behaviour and writes them down. Optional
/to-spec Writes the spec to your issue tracker
/to-tickets Splits the spec into tickets
Build /implement Builds the next ticket: a design for you to approve, tests first, then a code review
/no-comments Deletes the comments that the code does not need
/cleanup Removes unneeded complexity and unclear names, and rewrites unclear docstrings
/irrefutable-proof A tester that never saw the code uses the live app as a user would
/commit Commits the ticket
Harden /refactor Redesigns the code so it is simpler to maintain and cheaper to run
/refactor-tests Brings the tests up to standard, and uses mutation testing to harden them
/stitch Throws random calls at a library's API to find crashes. Skip it for an app
/security-audit Reviews the code for vulnerabilities
/code-review Reviews the whole branch against the spec
/irrefutable-proof Proves the app still works after the refactor
/irrefutable-formal-proof Formally verifies the code where a bug costs the most. Most features skip it
Release /technical-writing Updates the README and the docs to match the change
/architecture-documentation Updates the architecture documentation
/release Opens the pull request and watches it until it is ready to merge
/retro Suggests changes to the agent's setup, so the next run goes better

Before your first feature, run /setup-loom once in the repo. It sets up the issue tracker that holds the spec and the tickets.

The flow needs the full loom install. The roles below hold only part of it.

When the feature has a screen

/impeccable designs and builds frontends. Add it to the phases like this:

Phase Command What it does
Plan /impeccable shape Plans the screens before any code
Build /impeccable Builds the screen. /implement calls it for you
Harden /impeccable critique Reviews the design as a user would meet it
/impeccable audit Checks accessibility, speed and screen sizes
/impeccable polish Does the final pass before you ship

Other ways in

Some work does not start with an idea. These skills lead into the same flow:

You start from Skill Then
A bug /diagnosing-bugs Finds and fixes the bug. Go on from /cleanup
A codebase that is hard to change /improve-codebase-architecture Scans it and grills you on the fix you pick. Go on from /to-spec
Work too big for one session /wayfinder Maps the decisions to make. Go on from Plan

When a session runs out in the middle of the flow, /handoff writes a document that the next session picks up.

Install only part of it

loom installs every skill. If that is too much, install roles instead. A role is a group of skills for one kind of work.

Role For
loom-general Any kind of work
loom-dev Developers
loom-frontend Frontend work

Use a role's name in place of loom, once for each role you want:

claude plugin install loom-general@loom
claude plugin install loom-dev@loom

In Pi and OpenCode 2, install Loom and type /roles to pick them.

More about roles, including OpenCode 1 and Copilot.

Extras

Pi gets all of these with Loom. In Claude Code, each one is its own install.

Extra What it does Claude Code
loom-mermaid Draws the diagrams in a reply in your terminal claude plugin install loom-mermaid@loom
loom-banner Shows the Loom logo, and tells you when Loom has an update claude plugin install loom-banner@loom
pi-fast Adds /fast to Pi, which asks for quicker responses Pi only

More about the extras: setup in each agent, and the Pi packages from other authors that come with Loom.

Diagrams you can read in the terminal

Agents explain code with Mermaid, a way to write a diagram as text. A terminal cannot show the picture, so something must draw it with characters. loom-mermaid does that in Pi and in Claude Code.

Pi and loom-mermaid draw the same flowchart like this:

Pi built-in loom-mermaid
Pi's own drawing: gray boxes, lines between neighbors, and four lines stacked around the outside The loom-mermaid drawing: colored borders and short lines between the boxes
Gray boxes. Lines pass through neighbors, and four lines stack around the outside Colored borders. Lines run between the boxes and share a trunk

The difference comes from the router, the part that decides where each line runs:

  • Short lines. A line that skips a row runs between the boxes. Pi sends it around the outside of the diagram.
  • Few crossings. The router orders the boxes in each row, and the lines that run side by side, so that as few lines cross as possible.
  • Shared trunks. Lines that leave one box, or arrive at one box, run together and branch at the end.
  • Clear crossings. Where two lines must cross, one hops over the other (╫). A crossing and a join look different.

Red, orange and green borders mark what a change removes, changes and adds. More about loom-mermaid: install, use, and the 17 kinds of diagram it draws.

Update

Claude Code

claude plugin marketplace update loom
claude plugin update loom@loom

Pi

pi update

What works where

Claude Code Copilot Codex Pi OpenCode
Skills ✓ ✓ ✓ ✓ ✓
MCP servers ✓ ✓ ✓ ✓ ✓
Subagents ✓ ✓ ✓ ✓
Hooks ✓ ✓ ✓ ✓
Extensions ✓ ✓ ✓ ✓

In Copilot, hooks only run in a folder you trust, and extensions only load when you start it with --experimental.

Credits

Loom collects skills and extensions by other people, next to some of my own. Each one from someone else is listed with its source in skills-lock.json.