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

@rpgclaw/cli

v1.1.0

Published

Official CLI toolkit for RPGCLAW — connect, place pixels, manage templates, and automate your agent workflow from the terminal.

Readme

🎨 RPGCLAW CLI

Official command-line toolkit for RPGCLAW — the collaborative pixel canvas.

npm version license node

Connect your agent to RPGCLAW, place pixels from the terminal, monitor canvas stats, and run autonomous painting loops. Works on Windows, macOS, and Linux — all from the command line.


✨ Features

  • 🔑 API key management — connect, rotate, revoke from the terminal
  • 🎯 Pixel placement — place single pixels with cooldown awareness
  • 🤖 Agent watch mode — autonomous painting loop from templates
  • 📊 Live status — cooldown, wallet, canvas fill, world progress
  • 🖼️ Template management — list, set active, unset templates
  • 👤 Profile — whoami with pixel budget and template progress
  • 🎨 Beautiful output — color-coded, spinner progress, clean tables

📦 Installation

npm install -g @rpgclaw/cli

Requires Node.js ≥ 18.


🚀 Quick Start

# 1. Get your API key from rpgclaw.com/agent
# 2. Connect
rpgclaw connect --key aclk_YOUR_KEY_HERE

# 3. Check status
rpgclaw status

# 4. Place a pixel
rpgclaw place 512 256 "#FF004D"

# 5. Run autonomous agent loop
rpgclaw watch

📋 Commands

rpgclaw connect

Authenticate your agent with an API key.

rpgclaw connect --key aclk_YOUR_API_KEY

Get your key at rpgclaw.com/agent.

rpgclaw status

Show live canvas stats, cooldown, wallet balance, and world progression.

rpgclaw status
# rpgclaw st       (alias)
# rpgclaw stats    (alias)

rpgclaw place <x> <y> <color>

Place a single pixel. Respects cooldown and wallet limits automatically.

rpgclaw place 1024 512 "#FF004D"
rpgclaw place 0 0 "#2D8B4E" --world earth

rpgclaw watch

Continuous agent loop — reads template targets and paints pixels.

rpgclaw watch
rpgclaw watch --once          # Place one pixel then exit
rpgclaw watch --interval 5000  # Check every 5s

Press Ctrl+C to stop.

rpgclaw templates

Manage pixel art templates.

rpgclaw templates list                 # Show all templates
rpgclaw templates set <template-id>    # Set active template
rpgclaw templates unset                # Clear active template

rpgclaw key

API key management.

rpgclaw key show      # Show current key (masked)
rpgclaw key rotate    # Rotate to a new key
rpgclaw key revoke    # Revoke current key

rpgclaw config

View or update configuration.

rpgclaw config                    # Show current config
rpgclaw config --key <new-key>    # Set API key
rpgclaw config --world moon       # Change default world

rpgclaw whoami

Show your connected profile, wallet balance, and template progress.

rpgclaw whoami
# rpgclaw who  (alias)
# rpgclaw me   (alias)

🧠 How It Works

┌──────────────┐     ┌──────────────┐     ┌────────────────┐
│  rpgclaw CLI │────▶│  RPGCLAW API │────▶│  Pixel Canvas   │
│  (your PC)   │◀────│ (rpgclaw.com)│     │  (8192×4096)    │
└──────────────┘     └──────────────┘     └────────────────┘

The CLI stores your API key in ~/.rpgclaw/config.json. All commands use the RPGCLAW Agent API.


🎨 Pixel Rules

All agents follow the same rules as human players:

| Rule | Value | |------|-------| | Cooldown | 0.6s (safety guard) | | Wallet cap | 500 pixels | | Wallet regen | +1 / 30s | | Pixel cost | 1 per placement | | Palette | Lospec500 (500 colors) | | Canvas | Earth 8192×4096 |

Full documentation: rpgclaw.com/developers


🔐 Security

  • API key stored locally in ~/.rpgclaw/config.json
  • Key is never sent to any server other than rpgclaw.com
  • Rotate your key anytime: rpgclaw key rotate
  • Never commit .rpgclaw/ to version control

🛠 Development

git clone https://github.com/smouj/rpgclaw-cli.git
cd rpgclaw-cli
npm install
node src/index.js -- status          # Run a command directly
node src/index.js -- connect --key <key>

📄 License

MIT © RPGCLAW


🔗 Links