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

claude-rpg

v0.5.5

Published

Visualize Claude Code agents as villagers in a pixel art RPG

Readme

ClaudeRPG

npm version npm downloads

Your Claude Code agents, alive in a pixel art village.

Open a Claude Code window → a villager appears. Spawn a subagent → another one shows up. Tool calls make them walk around. No config, no hooks — it just watches Claude's session files.

Install

Option 1 — npx (no install needed):

npx claude-rpg

Option 2 — global install:

npm install -g claude-rpg
claude-rpg

Option 3 — from source:

git clone https://github.com/iCodeWebApps/ClaudeRPG
cd ClaudeRPG
npm install
node bin/claude-rpg.js

Opens at http://localhost:3131. Start any Claude Code session and your villager appears within seconds.

Requires: Node.js 18+, Claude Code

What's in the village

Agents

  • Villagers walk to new spots on every tool call, via A* pathfinding
  • Speech bubbles show Claude's actual response text and tool names
  • Context window meter under each villager's name (green → yellow → red)
  • Hover over a building roof to fade it and see who's inside
  • Villagers greet each other when they pass by
  • Villagers idle-wander and occasionally fish at the lower-right pond

Action pane

  • Click any entity to select it — an action pane opens in the lower-right corner
  • Click anywhere on the map to move the selected entity there (A* pathfinding)
  • Right-click to deselect
  • The pane shows agent history, entity stats, and context-aware actions
  • Resume button restores auto-behavior after a manual move

Chicken combat 🐔

  • 7 chickens roam the village with individual health bars (hidden at full HP)
  • Select a chicken, hover a rival to target it (red glow), then click to attack
  • The attacker pathfinds to melee range before engaging
  • Turns alternate — attacker strikes, defender retaliates
  • KO'd chickens fall over and gradually heal back to full over 60 seconds
  • Floating damage numbers

Duck 🦆

  • Follows your agents around the village (prefers character2)
  • Click it to select — use the action pane to Honk or Grow it
  • Grows in 50% increments up to 4× its normal size; next click resets
  • Honk bubble and size persist across sessions via localStorage

Music player

  • 🔇 / 🔊 toggle in the HUD with a station dropdown
  • Five stations: EDM (SomaFM The Trip) · Jazz (SomaFM Secret Agent) · Hip-Hop (SomaFM Fluid) · Medieval (Radio Rivendell) · Reggae (SomaFM Reggae)
  • Volume slider; station and volume preferences saved across sessions

World

  • Night/day cycle based on your system clock
  • Occasional rain showers with atmospheric blue overlay
  • Chickens hold a secret dance ritual every 20–45 minutes
  • Two dogs roam freely — the cattledog and the doodle
  • Doodle eats eggs laid by chickens (egg count tracked per session)
  • ⧉ pop-out button opens a borderless fullscreen window

Debug keys

| Key | | |---|---| | G | Toggle navmesh overlay | | R | Trigger rain | | D | Trigger chicken dance ritual |

Roadmap

| | | |---|---| | Phase 1 ✅ | Claude → Village. Sessions become villagers. | | Phase 1.5 ✅ | Village interactions. Combat, music, action pane. | | Phase 2 | Village → Claude. Send tasks via MCP queue. | | Phase 3 | Multiplayer. Share a village with friends. |

Credits

MIT