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

okiro

v0.2.1

Published

Spawn parallel AI coding variations, compare approaches, promote the winner

Readme

okiro

起きろ

Spawn ephemeral, parallel variations of your codebase. Let multiple AI agents tackle the same task, compare results, promote the best.

Why?

AI agents don't always get it right the first time. okiro lets you see multiple real implementations before choosing which one belongs in your codebase.

What is this exactly?

okiro creates isolated workspaces so tools like Cursor, Claude Code, OpenCode, Codex, or any other agent can work independently in parallel without touching your main codebase.

Think of it as cheap, disposable branches that are easy to diff and easy to throw away.

Install

npm install -g okiro

Usage

Create variations

okiro 3                    # Create 3 copies of your codebase
okiro 3 --prompt           # Create 3, prompt for direction per variation
okiro 3 --prompt "add dark mode"  # Base task + per-variation directions

When using --prompt, okiro writes instructions to AGENTS.md and .cursor/rules so AI agents in each workspace know their specific approach.

Auto-run AI agents

okiro 3 --prompt "add auth" --run        # Auto-detect and run claude/opencode/codex
okiro 3 --prompt "add auth" --run=claude # Force Claude Code
okiro 3 --prompt "add auth" --run=opencode
okiro 3 --prompt "add auth" --run=codex

With --run, okiro opens terminals and automatically starts the AI agent in each variation. If none are installed, terminals open normally.

Compare changes

okiro compare              # Open diff viewer in browser
okiro diff var-1           # CLI diff: original vs var-1
okiro diff var-1 var-2     # CLI diff: var-1 vs var-2

Pick a winner

okiro promote var-2        # Apply var-2's changes to original
okiro promote var-2 -c     # Promote and git commit
okiro promote var-2 -c "feat: dark mode using Tailwind"

Cleanup

okiro status               # Show active variations
okiro cleanup              # Remove all variation workspaces

How it works

  1. Zero-cost clones — Uses APFS clones on macOS and btrfs reflinks on Linux. 100 clones of a 10GB project still uses ~10GB on disk—they share the same blocks until modified. Only changed files allocate new space.

  2. Isolated workspaces — Each variation is a full copy at ~/.okiro/<project>/var-N/. Open them in separate editor windows, run different agents, go wild.

  3. Smart diffing — Only tracks meaningful changes, ignoring node_modules, .git, dist, etc.

  4. Non-destructive — Your original codebase is never touched until you explicitly promote.

Example workflow

# You want to add authentication but aren't sure about the approach
cd my-app
okiro 3 --prompt "add user authentication" --run

# Enter directions when prompted:
#   var-1: use Better Auth
#   var-2: use Clerk
#   var-3: roll our own with JWT + cookies

# Terminals open with AI agents already running in each variation
# Watch them cook...

# Compare results
okiro compare

# var-1 looks cleanest, promote it
okiro promote var-1 -c "feat: add auth via Better Auth"

# Clean up
okiro cleanup

License

MIT