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

planpong

v0.3.0

Published

Multi-model adversarial plan review — orchestrates AI agents to critique and refine implementation plans

Readme

Planpong

Adversarial plan review for AI-assisted development. Two AI models play ping-pong with your plan — one critiques, the other revises — until the plan converges or you stop them.

Plans go through three review phases, each with a different lens:

| Round | Phase | What the reviewer looks for | | ----- | ------------- | ------------------------------------------------------------------------------------------------ | | 1 | Direction | Is this the right problem? Is the approach sound? Is the scope appropriate? | | 2 | Risk | Pre-mortem — assume the plan fails. Surface hidden assumptions, dependencies, and failure modes. | | 3+ | Detail | Implementation completeness — missing steps, edge cases, gaps, verification criteria. |

The planner model evaluates each piece of feedback independently — accepting, rejecting, or deferring with rationale — then rewrites the plan. This continues until the reviewer approves or the round limit is reached.

Prerequisites

You need at least one AI CLI installed and authenticated:

  • Claude Codenpm install -g @anthropic-ai/claude-code (Anthropic API key or Max subscription)
  • Codex CLInpm install -g @openai/codex (OpenAI API key)

If both are installed, planpong uses one for planning and the other for reviewing (configurable). If only one is available, it auto-fallbacks to using that CLI for both roles.

Verify your CLI works:

claude --version   # or
codex --version

Planpong shells out to these CLIs — no API keys are configured in planpong itself.

Install

npm install -g planpong

Setup (Claude Code MCP)

Add planpong as an MCP server so Claude Code can use it as a native tool:

claude mcp add planpong -- planpong-mcp

Allow the tools in your Claude Code settings (.claude/settings.json):

{
  "permissions": {
    "allow": ["mcp__planpong"]
  }
}

Restart Claude Code. The planpong tools should appear in your tool list.

Usage

Via Claude Code (recommended)

Ask Claude to review a plan:

Review my plan at docs/plans/my-feature.md using planpong

Or use the slash commands (auto-installed with the MCP server):

/planpong:review docs/plans/my-feature.md              # autonomous — runs to completion
/planpong:review_interactive docs/plans/my-feature.md   # pauses between rounds for your input

Via CLI

planpong review docs/plans/my-feature.md

Configuration

Optional. Create planpong.yaml in your project root:

planner:
  provider: claude # claude or codex
  model: opus # provider-specific model name
  effort: high # reasoning effort level
reviewer:
  provider: codex
  model: o3
  effort: high
max_rounds: 10
plans_dir: docs/plans

All fields are optional. Defaults: claude (planner) + codex (reviewer), 10 rounds, docs/plans/ directory.

What it produces

Planpong updates your plan file in-place and adds a status line tracking the review:

**planpong:** R3/10 | claude → codex | 2P2 1P3 → 1P3 → 0 | Accepted: 4 | +32/-8 lines | 5m 23s | Approved after 3 rounds

Reading left to right: round 3 of 10, claude planned / codex reviewed, issue trajectory across rounds, total accepted issues, line delta from original, elapsed time, and outcome.

Session data is stored in .planpong/sessions/ (add to .gitignore).

Development

git clone https://github.com/andrewhml/planpong.git
cd planpong
npm install        # installs deps + configures git hooks
npm run build      # compile TypeScript
npm run typecheck  # type-check without emitting

A pre-commit hook automatically rebuilds dist/ when TypeScript files are staged.

Publishing

Automated via GitHub Actions with npm trusted publishing (OIDC). No tokens needed.

npm version patch   # bumps version + creates git tag
git push && git push --tags   # triggers publish to npm

License

MIT