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

@riotprompt/riotplan

v0.0.4

Published

Framework for long-lived, stateful AI workflows (plans)

Downloads

230

Readme

riotplan

Framework for long-lived, stateful AI workflows (plans).

What is a Plan?

A plan is a structured way to manage multi-step AI-assisted tasks that:

  • Span multiple sessions - Work on a task over days or weeks
  • Have persistent state - Track progress in STATUS.md
  • Are organized into steps - Numbered files (01-STEP.md, 02-STEP.md)
  • Can be interrupted and resumed - Pick up where you left off
  • Support collaboration - Human reviews, feedback loops

Plan Structure

my-plan/
├── my-plan-prompt.md     # Meta-prompt (prompt-of-prompts)
├── SUMMARY.md            # Overview of the approach
├── EXECUTION_PLAN.md     # Step-by-step strategy
├── STATUS.md             # Current state (auto-updated)
├── plan/                 # Step files
│   ├── 01-first-step.md
│   ├── 02-second-step.md
│   └── ...
└── analysis/             # Analysis output (optional)

Key Files

| File | Purpose | |------|---------| | {code}-prompt.md | Initial meta-prompt that creates the plan | | SUMMARY.md | High-level overview of the approach | | EXECUTION_PLAN.md | Detailed execution strategy | | STATUS.md | Current state, progress tracking | | 01-*.md, 02-*.md | Individual step prompts |

Real-World Examples

Plans in the wild:

grunnverk/prompts/
├── big-splitup/           # Codebase restructuring
├── commit-splitting/      # Feature implementation
├── parallel-execution/    # Complex feature with phases
├── shared-utils/          # Package extraction
└── ai-service/            # Service extraction

Installation

npm install riotplan

Usage (Coming Soon)

import { loadPlan, resumePlan } from 'riotplan';

// Load an existing plan
const plan = await loadPlan('./prompts/my-feature');

console.log(plan.metadata.code);     // 'my-feature'
console.log(plan.state.status);      // 'in_progress'
console.log(plan.state.currentStep); // 3

// Resume execution
const result = await resumePlan(plan);

Creating a Plan

import { createPlan } from 'riotplan';

const plan = await createPlan({
  code: 'my-feature',
  name: 'My Feature Implementation',
  path: './prompts/my-feature',
  description: 'Implement the new feature with proper testing',
  steps: [
    { title: 'Analysis', description: 'Analyze requirements' },
    { title: 'Design', description: 'Design the solution' },
    { title: 'Implementation', description: 'Build it' },
    { title: 'Testing', description: 'Verify it works' },
    { title: 'Documentation', description: 'Document it' },
  ]
});

STATUS.md Format

# My Feature - Execution Status

## Current State

| Field | Value |
|-------|-------|
| **Status** | `in_progress` |
| **Current Step** | 03-implementation |
| **Last Completed** | 02-design |
| **Started At** | 2026-01-08 |
| **Last Updated** | 2026-01-10 |

## Step Progress

| Step | Name | Status | Started | Completed | Notes |
|------|------|--------|---------|-----------|-------|
| 01 | Analysis | ✅ Completed | 2026-01-08 | 2026-01-08 | - |
| 02 | Design | ✅ Completed | 2026-01-08 | 2026-01-09 | - |
| 03 | Implementation | 🔄 In Progress | 2026-01-09 | - | 50% done |
| 04 | Testing | ⬜ Pending | - | - | - |
| 05 | Documentation | ⬜ Pending | - | - | - |

## Blockers

_No blockers currently._

## Issues

_No issues encountered._

Roadmap

v0.1.0 - Core Functionality

  • [ ] Load plans from directories
  • [ ] Parse STATUS.md
  • [ ] Generate STATUS.md
  • [ ] Step file discovery

v0.2.0 - Execution

  • [ ] Execute individual steps
  • [ ] Resume from checkpoint
  • [ ] Update state automatically

v0.3.0 - Integration

  • [ ] CLI (riotplan-cli)
  • [ ] Agentic execution
  • [ ] Riotprompt integration

Related Packages

  • riotprompt - Prompt modeling for single interactions
  • agentic - Multi-turn conversation framework
  • execution - LLM provider interfaces
  • riotplan-cli - Command-line interface (coming soon)

Philosophy

Plans bridge the gap between:

  • Prompts (single interactions)
  • Agentic conversations (multi-turn sessions)
  • Long-running workflows (days/weeks of work)

A plan provides structure for complex, iterative AI-assisted work where:

  • The work can't be done in one session
  • Progress needs to be tracked
  • Humans need to review and provide feedback
  • The approach may evolve based on findings

License

Apache-2.0