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

ralphmd

v2.0.0

Published

AI agent loop. Define tasks in markdown, let the AI execute them.

Readme

Ralph

AI agent loop. Each task runs in a fresh invocation — no context pollution.

https://github.com/user-attachments/assets/a13c7307-2504-4bb7-82cc-b658d9f9acc0

Quick Start

ralphmd init
ralphmd plan "Refactor the auth module into separate files"
ralphmd run

That's it. No directory scaffolding, no cd, no npm start.

How It Works

1. Init — drop a config file

ralphmd init
ralphmd init --recipe llms-txt

Creates a single ralph.md file in your project root. No subdirectory, no package.json, no scripts.

2. Plan — AI creates structured tasks (planning only)

ralphmd plan "Add error handling to all API endpoints"

The AI analyzes your codebase and populates ralph.md with structured tasks. It runs in restricted mode — it can only read your code and write to ralph.md. No Bash, no Edit, no file modifications. The boundary between planning and execution is enforced structurally, not by prompting.

3. Run — AI executes tasks one at a time

ralphmd run
ralphmd run --max 20

Ralph reads ralph.md, validates the task format, then executes tasks one per iteration in fresh AI invocations. Open ralph.md to watch tasks get checked off.


Structured Task Format

Every task in ralph.md must follow this format:

- [ ] **Task title**
  - Read: `src/auth/login.js`, `src/auth/session.js`
  - Do: Split into separate authenticate(), authorize(), refreshToken() functions
  - Output: Modified files in `src/auth/`
  - Done when: All three functions exist and tests pass

| Field | Required | Purpose | |-------|----------|---------| | Title | Yes | Bold, concise description | | Read | Recommended | Files the AI should study before starting | | Do | Yes | Specific instructions — unambiguous enough for a fresh AI session | | Output | Recommended | What files or changes this task produces | | Done when | Yes | Concrete acceptance criteria |

ralphmd validate checks this format before running. Malformed tasks are flagged.

Recipes

Recipes are pre-packaged setups for common tasks.

ralphmd init --recipe llms-txt
ralphmd plan

Available recipes:

| Recipe | Description | |--------|-------------| | llms-txt | Add hierarchical llms.txt documentation to a project | | llms-txt-general | Create hierarchical llms.txt documentation for any subject (website, book, API, docs, etc.) | | self-improve | Analyze, evaluate, and implement clear-win improvements for any part of a project |

List all: ralphmd list-recipes

Creating a recipe

recipes/my-recipe/
├── recipe.json          # name + description
├── instructions.md      # AI planning instructions (injected into ralph.md)
└── specs/               # reference files the AI needs
    └── my-guide.md

Commands

ralphmd init [--recipe <name>]     # Create ralph.md in current directory
ralphmd plan "<goal>"              # AI creates tasks (restricted mode)
ralphmd run [--max <n>]            # Execute tasks one at a time
ralphmd validate                   # Check task format
ralphmd list-recipes               # Show available recipes