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

@whoworked/ai-reporter-cli

v0.1.9

Published

Guarded CLI reporter for WhoWorked AI attribution and skill usage.

Readme

WhoWorked AI Reporter CLI

Guarded CLI reporter for WhoWorked AI attribution and skill usage. It captures local AI tool events and sends them to a WhoWorked workspace as reviewable AI attributions and SkillSteward usage events.

The reporter defaults to guarded content capture: it sends metadata such as tool name, event type, repo, branch, edited file count, and tool-call count, plus bounded, redacted prompt/response snippets when the local tool payload or transcript exposes them. It does not capture screen content or raw full-content logs by default.

Install

One-command setup uses the public npm package, installs the reporter globally, launches the OAuth flow, and configures attribution and skill-usage hooks for Claude Code and Codex when they are detected.

macOS, Linux, and Windows:

npm exec --yes --package @whoworked/ai-reporter-cli@latest -- whoworked-reporter-setup

The monorepo is private, so the installer does not depend on raw GitHub URLs. For convenience, the npm package also ships thin wrappers:

whoworked-reporter-setup

Override endpoints for non-production environments:

WHOWORKED_API_BASE_URL=http://localhost:3001 \
WHOWORKED_WEB_APP_URL=http://localhost:3000/app \
npm exec --yes --package @whoworked/ai-reporter-cli@latest -- whoworked-reporter-setup

Manual install:

npm install -g @whoworked/ai-reporter-cli

Confirm the binary is available:

whoworked-reporter auth status

Authenticate

Each user should authenticate with OAuth so reports are tied to their WhoWorked user. API keys are workspace-level and are not supported for personal Claude Code or Codex reporters.

whoworked-reporter auth login \
  --api-base-url https://api.whoworked.com \
  --web-app-url https://whoworked.com/app

The command opens the WhoWorked authorization flow. Pick the workspace where AI usage should be reported.

Claude Code

Merge templates/claude-code-hooks.json into your Claude Code hooks config. The Stop hook captures attribution. The PostToolUse and PostToolUseFailure hooks record each Skill tool invocation and its outcome. Both immediately flush the local queue:

whoworked-reporter capture claude-code stop && whoworked-reporter capture flush
whoworked-reporter capture claude-code skill-used && whoworked-reporter capture flush

Codex

Configure Codex's UserPromptSubmit and Stop hooks to run the provided wrappers:

  • templates/codex-stop-hook.sh
  • templates/codex-stop-hook.ps1
  • templates/codex-skill-hook.sh
  • templates/codex-skill-hook.ps1

The skill wrapper records explicit $skill-name mentions. The Stop wrapper also looks for current-turn SKILL.md loads in Codex's transcript so automatically selected skills are captured on a best-effort basis. Transcript format changes never block attribution reporting.

Codex only executes commands once the hooks are trusted in the Codex hooks UI (/hooks).

Direct command form:

whoworked-reporter capture codex stop && whoworked-reporter capture flush
whoworked-reporter capture codex skill-used && whoworked-reporter capture flush

Skill usage

Automatic skill reports go directly to the workspace's SkillSteward event stream. Delivery is idempotent, so overlapping Codex detection signals and queue retries count one invocation once. Existing reporter OAuth grants work without reauthorization.

skill_report_usage remains available through the SkillSteward MCP server for agents and integrations that are not using these hooks.

Queue

Capture commands write to a local queue first:

~/.whoworked/ai-reporter-queue.jsonl

Flush manually when needed:

whoworked-reporter capture flush

Reporter config is stored at:

~/.whoworked/ai-reporter.json

Commands

whoworked-reporter auth login
whoworked-reporter auth status
whoworked-reporter auth logout
whoworked-reporter capture claude-code session-start
whoworked-reporter capture claude-code stop
whoworked-reporter capture claude-code session-end
whoworked-reporter capture claude-code skill-used
whoworked-reporter capture codex stop
whoworked-reporter capture codex skill-used
whoworked-reporter capture flush