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

@sara-builds/agentreplay

v0.1.0

Published

Record your Claude Code / Cursor / Codex / Aider sessions and share them as scrubbable URLs. One CLI command, public link out.

Readme

@sara-builds/agentreplay

Record your Claude Code / Cursor / Codex / Aider sessions and share them as scrubbable, embeddable URLs. One CLI command. Public link out.

npx @sara-builds/agentreplay record

That's it. The wrapper installs a hook into Claude Code, you use Claude normally, and when you exit you get a public playback URL.

[agentreplay] capturing — session a3f9b2c1 on port 51234
[agentreplay] starting claude...

  (your Claude Code session — runs as normal)

[agentreplay] captured 17 events (12,840 bytes)

  ✓ Recording: https://agentreplay.sh/r/a7Bk2pQ
    Retention: 7 days (anonymous — sign in with `agentreplay login` for longer retention)

Why

Screen recordings of agent sessions are noisy, untrimmable, and 50MB+. AgentReplay captures the structured event stream the agent itself emits — every prompt, tool call, file diff — and renders it as a polished timeline you can scrub, embed, and search.

Install

npx @sara-builds/agentreplay record          # one-shot, no install
npm install -g @sara-builds/agentreplay      # global, then `agentreplay` is on your PATH

Requires Node 18+ and the claude CLI on your PATH (for live capture). For Cursor / Codex / Aider you don't need their binaries on PATH — the importer reads their on-disk session logs.

Commands

agentreplay record              # live-capture the next Claude Code session in this dir
agentreplay record -- -p "<prompt>"   # headless: pass args to claude after `--`
agentreplay record --no-upload  # save locally without uploading

agentreplay capture              # auto-detect the installed agent, import latest session
agentreplay capture claude       # most recent Claude Code session from disk
agentreplay capture claude --last 3   # last 3 user-prompt turns
agentreplay capture claude --all      # full session
agentreplay capture cursor       # Cursor (parser is currently a stub — see issues)
agentreplay capture codex        # most recent ~/.codex/sessions/*.jsonl
agentreplay capture aider        # .aider.chat.history.md in cwd

agentreplay login                # sign in via GitHub device-code flow
agentreplay logout
agentreplay whoami

Privacy

  • Anonymous uploads are public, 7-day retention. Sign in for 365-day retention (Pro).
  • Every upload runs a regex-based secret detector first (AWS / GitHub / Stripe / Anthropic / OpenAI / Slack / Google / generic env-style). In an interactive terminal you get a [a]bort / [r]edact (default) / [u]pload prompt; in headless mode (-p) we auto-redact.
  • $HOME → ~ is rewritten in cwd and any *_path field, always-on.
  • See SECRETS.md for the pattern set + how to add your own.

Self-host

Override the API target if you're running your own AgentReplay server:

agentreplay record --api-base https://your-host.example.com
# or
export AGENTREPLAY_API=https://your-host.example.com

Source + issues

github.com/sara-builds/agent-replay — MIT.

The whole stack (CLI + API + renderer) is open source and self-hostable. The hosted service at agentreplay.sh runs the same code.