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

staple-cli

v0.1.0

Published

Local-first task tracker for coding agents. SQLite workspaces, hub federation, MCP + CLI + local web UI.

Readme

staple

A local-first task tracker for coding agents: the execution layer next to your team's board.

Markdown plans point at each other, drift, and die with the session that held them. staple turns a plan into an epic and tickets that carry the whole context: agents know what comes next, a new session resumes where a dead one stopped, and new work lands under the same epic. Local-first, one file per repository, next to Linear, GitHub or ClickUp (integrations planned). Why staple tells the whole story.

Quick start

Requirements: Node >= 22.5.

staple-cli is not on npm until its first release. Until then, build the package from a checkout (npm run pack:package, see CONTRIBUTING.md) and put npx -y file:/absolute/path/to/checkout/dist-package/staple-cli-<version>.tgz wherever this page says npx staple-cli or npx -y staple-cli.

npx staple-cli                      # set this repository up, then open the web UI

The first run sets the repository up in a .staple/ folder, writes .staple/AGENTS.md (the protocol your agents follow) and opens the web UI. Then connect your agent harness to the MCP server:

claude mcp add staple -e STAPLE_AGENT=claude -- npx -y staple-cli mcp
codex mcp add staple --env STAPLE_AGENT=codex -- npx -y staple-cli mcp

To have staple on your PATH instead of fetching it each time, run npx staple-cli install --yes: a versioned runtime and a launcher at ~/.local/bin/staple, no sudo, with rollback. Add --update-path to put ~/.local/bin on your PATH.

Install and first workspace walks through the first workspace, Connect your agent covers other MCP clients, and How an agent works a ticket is the loop your agents follow.

What you get

Everyday commands

staple inbox                                # what is ready, in pickup order
staple new "Add a health check endpoint"    # file it
staple start APP-1 --agent claude           # claim it, atomically
staple doc APP-1 plan --put plan.md         # the plan lives on the ticket
staple comment APP-1 "route added, tests next"
staple done APP-1                           # finish it; the inbox shows what it unblocked

staple open                                 # the web UI; Ctrl-C stops it
staple queue add APP-2 --at 1               # say what gets picked up next
staple start APP-2 --steal-if-stale 1h      # take over a dead agent's claim

staple help lists every command; the CLI reference documents them.

Autopilot

A run is one agent working a scope (the pickup queue, an epic or a milestone) ticket after ticket, within a budget: a ticket count, an end time, a rate-limit ceiling. After every ticket the agent asks staple run continue, and the tracker answers take, wait or stop. Autopilot never merges: each ticket's work stays on its own branch for a person to review.

staple run start --scope queue --max-tickets 5 --until 4h
staple run drive --agent claude                   # drive it: a fresh headless session per ticket
staple run status                                 # your live run, and what would stop it now
staple run stop -m "enough for today"

Autopilot runs covers the ways to drive a run and goal runs over a milestone.

Documentation

The documentation is grouped by what you want to do:

The design documents behind the code live in design/.

Contributing

Running from a checkout, building the UI and the package, and the test gates are in CONTRIBUTING.md.

License

MIT. See LICENSE.