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

pi-operator-tickets

v1.0.0

Published

Create bounded, proof-driven Operator Tickets for complex AI-agent tasks

Readme

pi-operator-tickets

Create bounded, proof-driven Operator Tickets for complex AI-agent tasks.

An Operator Ticket is a self-contained agent job structured as:

Order → Proof → Boundary → Budget → Fallback

The proof gate decides when the job is done — not the agent.

Installation

pi install ./path/to/pi-operator-tickets

Or install globally via npm/git:

pi install npm:pi-operator-tickets

Commands

/ticket or /operator-ticket

Interactive wizard for creating an Operator Ticket.

| Usage | Behavior | |-------|----------| | /ticket | Open picker with all presets + custom option | | /ticket migration | Open picker filtered to "migration" | | /ticket custom | Compose a one-off Custom Operator Ticket | | /ticket presets | List and manage saved Ticket Presets |

Wizard Flow

  1. Choose preset or Custom Operator Ticket
  2. Fill placeholders (for presets with [PLACEHOLDERS])
  3. Edit sections — each of the five sections is reviewed in a multi-line editor:
    • GOAL
    • THE ORDER
    • THE PROOF
    • THE BOUNDARY
    • THE BUDGET
    • THE FALLBACK
  4. Review warnings — missing Proof, Budget, or Fallback trigger strong warnings
  5. Insert — ticket is inserted into the editor; replace/append/cancel if editor is non-empty
  6. Save — custom tickets can be saved as reusable Ticket Presets

Presets

Four built-in coding presets ship with the package:

  • Migration Ticket — move from one library/framework to another
  • Bug Hunt Ticket — find and fix failing tests
  • Coverage Climber — raise test coverage to a target percentage
  • Refactor Ticket — reduce duplication by merging similar functions

Saved Presets

Saved Ticket Presets are stored as versioned JSON:

  • Project-local: .pi/operator-tickets/presets.json
  • Global: ~/.pi/agent/operator-tickets/presets.json

Load precedence: project > global > built-in. Later sources override earlier ones by preset ID.

Manage saved presets with /ticket presets.

Operator Ticket Standard

  1. Your ticket is more important than which AI you pick.
  2. The proof gate decides whether you ship work or garbage.
  3. One ticket = one job.
  4. Bake the budget into the ticket itself.

Credits

This package builds on the Operator Ticket approach and examples provided by Daniel Jindoo.

License

MIT