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

@loop-lang/loop

v0.7.4

Published

Install LoopFlow (.loop) into any repo so Claude Code — or any agent — can author and run self-correcting, human-gated coding loops.

Downloads

2,059

Readme

@loop-lang/loop

LoopFlow is structured pseudocode for AI coding agents. A .loop file turns an implicit agent process into a reviewable, runnable spec: goal, context, verification, memory, human gates, composition, and stop rules.

This package installs LoopFlow into any repo so Claude Code — or any agent can author and run .loop files.

npx @loop-lang/loop init

What a .loop looks like

loop "fix the failing checkout tax test":
  goal: the tax line on the cart is correct
  look at: src/cart, and the last failure
  done when "pnpm test checkout" passes
  also: a security scan
  after 6 tries: stop and warn "still red — needs a human"

Plain words, but precise: done when is how the loop checks itself, also: adds a quality pass once the goal is met, and the guard stops a thrashing loop instead of looping forever. Bigger jobs scale up to a pipeline (an epic → ordered stages) or a flow (a chain of whole .loop files — discover → design → build each story).

What init scaffolds

  • AGENTS.md — the full language reference. Any agent that opens the repo (Claude Code, Cursor, Copilot, Codex…) now knows how to write a .loop.
  • .claude/skills/loopflow — the Claude Code /loopflow skill (author + run loops natively in a chat). Invoked as /loopflow, not /loop — the latter is Claude Code's built-in scheduler.
  • CLAUDE.md pointer — a standing nudge so Claude Code reaches for a .loop instead of doing the work ad hoc. (Written by default; --no-claude-md to skip.)
  • examples/fix_test.loop — a starter loop to run.

The /loopflow skill — a guided tour

You don't need to know the language first. In a Claude Code chat, just describe the work:

/loopflow build a rate limiter — done when the burst test passes, and run a security pass

The skill interviews you — it scopes the purpose first (a one-test fix? a feature? a whole app?), offers the quality passes worth adding (tests, security, code review, clean architecture), then writes the .loop in front of you, naming each keyword as it goes. By the end of one loop you've learned the language by building. Then it runs the loop right in the chat, so you watch every step and answer any gate inline.

Already have a .loop? Run it directly:

/loopflow run examples/fix_test.loop

Options

loop init [--dir <path>] [--global] [--no-skill] [--no-example]
          [--no-claude-md] [--cursor] [--copilot] [--all-agents] [--force]
  • --global — install the skill into ~/.claude/skills instead of the repo.
  • --no-claude-md — skip the CLAUDE.md pointer (written by default).
  • --cursor / --copilot / --all-agents — also drop memory pointers for those agents.
  • --no-skill / --no-example — skip the skill or the starter loop.
  • --force — overwrite an existing skill / example.

Re-running init is safe: the AGENTS.md block is managed between markers and updated in place, never duplicated.

After install

  • Claude Code: open a chat in the repo → /loopflow run examples/fix_test.loop, or just describe the work and let the skill write the .loop.
  • Any agent: it reads AGENTS.md and authors + runs loops the same way.
  • Headless: install the full runtime to run loops from the CLI with loop run <file> (add --live for a real-time browser dashboard of the run).

Learn more

Apache-2.0.