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

rlph-cli

v1.5.0

Published

Loop coding agent CLI - run agents headlessly in a loop

Readme

Ralph

PRD-based task tracking CLI for AI coding agents. Run agents headlessly with structured task tracking and progress visibility.

Inspired by Geoff Huntley's ralph technique - putting a coding agent in a while loop and letting it work autonomously.

Installation

# npm
npm install -g rlph-cli

# or run directly
npx rlph-cli prd add my-feature.md my-feature

From source

git clone https://github.com/rem4ik4ever/ralph.git
cd ralph
bun install
bun run build
bun link

Usage

Initialize Project

Set up ralph in your project and install Claude Code skills:

ralph init

Creates .ralph/ directory and installs skills to ~/.claude/skills/:

  • ralph-prd - PRD creation skill
  • ralph - CLI documentation skill

Add a PRD

Convert markdown PRD to trackable JSON tasks:

ralph prd add <path> <name> [--agent claude]

Example:

ralph prd add .ralph/prd/my-feature/prd.md my-feature

Creates:

  • prd.json - converted tasks with pass/fail tracking
  • progress.txt - cross-iteration memory

List PRDs

View all PRDs with status:

ralph prd list

Output:

NAME           STATUS        PROGRESS  LOCATION
my-feature     in_progress   3/7       local
refactor-api   pending       0/4       global

Show PRD Info

Display PRD details and file locations:

ralph prd info <name>

Output:

PRD: my-feature
Status: in_progress (3/7 tasks complete)

Files:
  prd.md:      .ralph/prd/my-feature/prd.md
  prd.json:    .ralph/prd/my-feature/prd.json
  progress:    .ralph/prd/my-feature/progress.txt
  iterations:  .ralph/prd/my-feature/iterations/ (2 files)

Delete PRD

Remove a PRD and all associated files:

ralph prd delete <name>
ralph prd delete <name> --force  # skip confirmation

Run PRD

Execute agent loop against a PRD:

ralph run <prd-name> [--agent claude] [--iterations 4]

Example:

ralph run my-feature -i 10

Agent picks up next incomplete task, implements it, runs feedback loops (tests/lint/types), marks task passed, repeats until done.

How it works

  1. ralph init sets up project and installs Claude Code skills
  2. Write markdown PRD (or use ralph-prd skill in Claude Code)
  3. ralph prd add converts markdown to JSON tasks
  4. ralph run loops agent against PRD tasks
  5. Agent updates prd.json passes field on completion
  6. Agent maintains progress.txt with learnings across iterations
  7. Stops when all tasks pass or max iterations reached
  8. ralph prd info shows progress and file locations

PRD folder structure

Local PRDs (in project):

.ralph/
├── config.json   # Project configuration
└── prd/<name>/
    ├── prd.md        # Original markdown
    ├── prd.json      # Tasks with passes field
    ├── progress.txt  # Cross-iteration memory
    └── iterations/   # Iteration logs

Global PRDs (fallback):

~/.ralph/prd/<name>/
└── ...

Local PRDs take precedence over global when both exist.

Supported agents

  • claude - Claude Code CLI (requires claude installed)

Requirements

  • Node.js >= 18
  • Claude Code CLI installed and authenticated

Releases

This project uses semantic-release for automated versioning and npm publishing.

How it works

  1. Push/merge to main triggers release workflow
  2. Commits are analyzed to determine version bump
  3. CHANGELOG.md is updated automatically
  4. Package is published to npm
  5. GitHub release is created

Conventional Commits

Commit messages must follow Conventional Commits:

<type>(<scope>): <description>

[optional body]

[optional footer]

| Type | Version Bump | Example | |------|--------------|---------| | fix | Patch (1.0.x) | fix(cli): handle empty input | | feat | Minor (1.x.0) | feat(prd): add export command | | feat! or BREAKING CHANGE: | Major (x.0.0) | feat!: change config format |

Other types (docs, chore, refactor, test, ci) don't trigger releases.

License

MIT