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-press

v0.0.10

Published

Newspaper-style daily reports for your AI coding sessions. Reads from Claude Code, Cursor, OpenCode, and Antigravity.

Downloads

498

Readme

agent-press

Newspaper-style reports for your AI coding sessions. Generates a self-contained HTML page with AI-written narratives about what you accomplished — project spotlights, trend analysis, cost breakdowns, and celebratory headlines.

Install

npx agent-press

Or install globally:

npm install -g agent-press

Usage

agent-press                     # yesterday's report (default)
agent-press --today             # today's report
agent-press 2026-03-24          # specific date
agent-press --week              # last 7 days
agent-press --last-week         # previous Mon–Sun
agent-press --month             # last calendar month
agent-press --year              # this year so far
agent-press --last-year         # previous calendar year

Pick Your AI Provider

agent-press --provider opencode              # use OpenCode directly
agent-press --provider openrouter            # use OpenRouter API
agent-press --provider claude                # use Claude Code
agent-press --provider openrouter --model google/gemini-2.5-flash:free  # free model

Available providers: claude, codex, gemini, opencode, openrouter

By default, agent-press tries all available providers in order until one succeeds.

Other Options

agent-press --verbose           # detailed logs (prompt, response, git, timing)
agent-press --help              # show all options

Reports are saved to ~/.agent-press/reports/ and opened in your browser.

What You Get

A newspaper-style HTML report with AI-generated narratives:

  • Lead Story — a witty summary of your coding day/week/month
  • Project Spotlights — what was built in each project, informed by git commit history
  • The Forecast — when you code, peak hours, activity trends
  • The Tool Shed — which editors and models you used
  • The Markets — estimated cost breakdown by editor and model
  • Sports Page — coding streaks, records, longest sessions

Example

Stop the presses! Tuesday saw our developer tear through 33 sessions and nearly 900K tokens like a caffeine-fueled freight train. The kai project ran a tight five-session sprint across two editors, with Antigravity handling the heavy UI lifting and Claude Code swooping in for the closer. Four Antigravity sessions feeding into one Claude Code cleanup suggests a well-oiled assembly line: build fast, then polish.

Supported Editors

Reads session data directly from local storage — no API keys, no cloud, no setup:

| Editor | Data Location | |--------|--------------| | Claude Code | ~/.claude/projects/ | | Cursor | ~/.cursor/chats/ + workspace storage | | OpenCode | ~/.local/share/opencode/ | | Antigravity | global storage + brain directory |

AI Narrative Engine

agent-press uses AI to generate the narratives. It cascades through providers in order, skipping any that return empty or fail:

  1. Claude Codeclaude -p --model claude-sonnet-4-6
  2. Codexcodex exec
  3. Gemini CLIgemini -p
  4. OpenCodeopencode run
  5. OpenRouter — direct API call (requires OPENROUTER_API_KEY)

Use --provider to skip the cascade and pick one directly.

The AI context includes git commit history per project, giving the model real data about what was built — not just session titles.

If no AI provider is available, you still get a full report with template-based narratives enriched by git commits.

Environment Variables

| Variable | Description | |----------|-------------| | OPENROUTER_API_KEY | Required for --provider openrouter | | OPENROUTER_MODEL | Override OpenRouter model (default: anthropic/claude-haiku-4) |

The --model flag also works and takes precedence over the env var.

Built With

  • TypeScript — compiled with tsgo (Go-based TypeScript compiler)
  • better-sqlite3 — reads Cursor, OpenCode, and Antigravity session databases
  • Zero runtime dependencies beyond Node.js built-ins + SQLite

Requirements

  • Node.js 18+
  • At least one supported editor with session history
  • (Optional) An AI CLI or OpenRouter API key for richer narratives

License

MIT