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

@okam/ai

v0.1.0

Published

CLI for AI-assisted PRD (Product Requirements Document) task processing.

Readme

@okam/ai

CLI for AI-assisted PRD (Product Requirements Document) task processing.

Installation

npx @okam/ai <command>

Commands

init

Initialize a new PRD project with prd.json and progress.txt templates.

npx @okam/ai init
npx @okam/ai init --force  # Overwrite existing files

Creates a prd.json with the following structure:

{
  "project": "",
  "goal": "",
  "config": {
    "agent": "claude",
    "context": "",
    "verification": "Run your tests and type checks."
  },
  "statuses": ["pending", "in_progress", "completed", "blocked"],
  "tasks": [
    { "id": "1", "description": "", "status": "pending", "steps": [] }
  ]
}

Also creates a progress.txt log with a creation date header.

ralph

Run an AI agent to process PRD tasks iteratively.

npx @okam/ai ralph              # Run 1 iteration
npx @okam/ai ralph 5            # Run 5 iterations
npx @okam/ai ralph -a codex     # Use Codex CLI instead of Claude

Prerequisites:

  • jq - JSON processor for parsing AI responses
  • bash - Shell for running the orchestration script
  • Either claude CLI (for --agent claude) or codex CLI (for --agent codex)

Options:

| Flag | Description | Default | |------|-------------|---------| | -a, --agent <agent> | AI agent to use (claude or codex) | claude | | -c, --context <path> | Additional context file or directory | Current working directory | | -v, --verification <cmd> | Verification command after each task | Run your tests and type checks. | | -p, --prd <path> | Path to prd.json file | prd.json | | --progress <path> | Path to progress.txt file | progress.txt |

Configuration priority: CLI flags > prd.json config > defaults. If config.context is a relative path, it is resolved relative to the PRD file.

archive

Archive prd.json and progress.txt to archive/ folder with timestamped filenames.

npx @okam/ai archive

Files are renamed to: {type}_{project-slug}_{YYYY-MM-DD_HH-mm-ss}.{ext}

Example: prd_my-project_2026-01-22_11-35-31.json

Configuration

Configure defaults in your prd.json config section:

{
  "config": {
    "agent": "claude",
    "context": "NX monorepo with React, TypeScript, Tailwind CSS",
    "verification": "npx nx run-many -t build lint test"
  }
}

Development

nx build ai      # Build the library
nx test ai       # Run unit tests
nx lint ai       # Run linting