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

@agent-receipt/cli

v0.2.14

Published

A checkable record of every change your AI coding agent makes: what it was asked, what it changed, and what looked risky. Works with Claude Code, Cursor and Antigravity. Local-first, secrets redacted.

Readme

agentreceipt

A checkable record of every change your AI coding agent makes.

AI coding agents change your code fast. When one finishes, you get a diff and a confident summary, but no record of what it was asked, what it changed and what looked risky. AgentReceipt keeps that record: one receipt for each agent session, next to the change.

  • What it was asked: the prompt, with secrets removed.
  • What it changed: the files and the diff.
  • What looked risky: flagged by plain, fixed rules (no AI model makes these calls), so the same input always gives the same result.

Works with Claude Code, Cursor and Antigravity (Google's agent editor, with Gemini models). It is local-first: everything runs on your machine, secrets are redacted before anything is written to disk, and nothing is uploaded until you log in.

Website and team dashboard: https://www.agentreceipt.online (free 2-day trial, then $7 per person per month)

Watch how it works (1 minute 30)

Watch the AgentReceipt walkthrough: set up in three commands, see each employee's receipts as a manager, and how receipts are emailed and deleted after seven days

Set up in three commands, then see how managers and employees see receipts, and how every receipt is emailed as a PDF report and deleted after seven days.

Quick start

Needs Node 20 or newer and git.

npm install -g @agent-receipt/cli
agentreceipt --version

cd /path/to/your/repo
agentreceipt init --pre-push

Then start a new session in your coding agent (agents read their hooks when a session starts), make a change, and finish the session. Run agentreceipt show to read the receipt.

That is all you need to use it on your own computer. Nothing leaves your machine.

Set up a repository

Run this once in each repository, then commit the files it creates:

agentreceipt init --pre-push                    # Claude Code (the default)
agentreceipt init --agent cursor --pre-push     # Cursor
agentreceipt init --agent antigravity --pre-push
agentreceipt init --agent all --pre-push        # all three

init merges its hooks into the agent's own config and never overwrites your other settings. --pre-push also adds a git hook that runs agentreceipt check before each push.

Use it

Work with your agent as usual, then:

agentreceipt check       # run the rules on the latest session; exit 1 on a violation
agentreceipt finalize    # write the receipt and attach it to HEAD as a git note
agentreceipt show        # print the receipt stored for a commit

What it flags

Secret-like values in a diff, tests quietly weakened, checks switched off (eslint-disable, @ts-ignore, ...), new dependencies, sensitive paths (auth, payments, migrations, CI), changes that stray from the prompt, and oversized changes.

The team dashboard (optional)

The dashboard at https://www.agentreceipt.online gives a manager every employee's receipts in one place: who ran which session, what changed, why (the prompt), and the flags raised, employee by employee. A manager can download any receipt as a PDF. An employee sees only their own receipts. Receipts are kept 7 days; after that the manager is emailed a report with one PDF per employee and they are deleted from the dashboard.

  1. The manager asks for early access on the website (they get a sign-in by email) and adds each employee under Team. The manager does not need an API key.
  2. Each employee signs in, opens API keys and creates their own key.
  3. On their computer, each employee runs this once and pastes the key when asked:
agentreceipt login --api-url https://www.agentreceipt.online

From then on, every git push uploads your recorded sessions in the background (nobody has to close a chat), and a session that ends is uploaded too. Each upload carries the prompt and the changes (secrets removed). You do not need to run anything else.

Choose what is sent with "sync" in agentreceipt.config.json at the repository root:

{ "sync": "full-redacted" }
  • "full-redacted": the prompt and the changes, secrets removed (the default once you are logged in)
  • "summary-only": only counts, file names and flags (no prompts, no code)
  • "off": nothing is uploaded

To see exactly what would be sent, or to upload by hand:

agentreceipt sync --dry-run
agentreceipt sync

Problems are written to .agentreceipt/errors.log in the repository.

If something does not work

| What you see | What to do | | -------------------------- | ------------------------------------------------------------------------------ | | command not found | Install again with npm install -g @agent-receipt/cli and open a new terminal | | No receipt after a session | Start a new session after init, let it end, then run agentreceipt sync | | Key rejected | Create a new key in the dashboard and run agentreceipt login again |

Commands

Run agentreceipt with no arguments for the full list.

Help and feedback

Questions, bugs or ideas: [email protected], or visit https://www.agentreceipt.online. Every message is read.

License

MIT. See LICENSE.