npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

loopfile

v0.3.0

Published

A deterministic runtime for agentic software-engineering workflows

Readme

Loopfile

Agent workflows are easy to invent and hard to run. Most of them live in bash scripts, tmux panes and hope.

Loopfile turns them into files you commit.

A loop is a manifest.yaml. Agents do the work, shell checks judge it, and the result picks the next step. Loopfile runs the graph. No LLM decides where the run goes.

  • Every run is isolated by default. Its own Git branch. Your checkout stays clean.
  • Every run is recorded. Each attempt goes into an event log. Follow it, inspect it, resume it.
  • Every run is bounded. Attempts, timeouts and iteration limits come from the manifest, not from the agent's mood.
  • Built for agents. Loopfile follows AXI, the Agent eXperience Interface: --json data, fixed error codes, no prompts that wait for input, and a help: hint on each failure. An agent can start a loop, watch it and fix what broke.

Loopfile owns execution. You own the process.

Status: early. The format is versioned (formatVersion: 1), but expect changes before 1.0.

Install

Needs Node.js 24 or later. Git is needed only for Remote Loopfiles.

npm install -g loopfile

Agent steps need a harness CLI, for example claude, installed and logged in.

Example

# manifest.yaml
formatVersion: 1
steps:
  - id: write
    kind: agent
    harness: claude
    prompt: |
      Create a file named hello.txt in the workspace root. It holds one line: hello
      Commit the file. Then run: loopfile result done
    on:
      done: check
  - id: check
    kind: command
    run: |
      grep -qx hello hello.txt
      git ls-files --error-unmatch hello.txt > /dev/null

Run it from inside a Git repository:

loopfile path/to/loop-directory
loopfile status
git show loopfile/<runid>:hello.txt

Run loopfile --help for all commands.

Platforms

Loopfile runs on Linux and macOS. On Windows, run it inside WSL. Native Windows is not supported.

Documentation

The docs ship with the package:

loopfile docs            # list the topics
loopfile docs manifest   # print one topic
  • format (The Loopfile format): source directory, manifest.yaml, thin and packed .loop, and upgrade.

  • manifest (The v1 manifest): the fields of the manifest and the workflow model.

  • runtime (How a run works): steps, routing, attempts, limits, the execution context, step commands, handoffs, inputs and the workspace.

  • skill: an agent skill for writing loops. Install it with:

    mkdir -p ~/.claude/skills/loopfile
    loopfile docs skill > ~/.claude/skills/loopfile/SKILL.md
  • patterns (Loop patterns): patterns that keep a loop running unattended, such as fix budgets, flaky checks and shared locks.

  • skill: an agent skill for writing loops. Install it with loopfile docs skill > ~/.claude/skills/loopfile/SKILL.md.

For remote sources and trust, see Remote Loopfiles.

License

MIT