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

pi-clawd

v1.0.0

Published

Clawd on Desk integration for the pi coding agent

Downloads

21

Readme

pi-clawd

Clawd on Desk integration for the pi coding agent.

This extension sends pi's session and agent lifecycle events directly to Clawd's local HTTP server, so your desktop pet reacts to pi work in real time — no hooks or external files required.

Requirements

Installation

This extension is part of the pi-ext pack.

Via pi install (recommended)

pi install git:github.com/joel611/pi-ext

Run pi list to verify, then restart pi or run /reload.

Manual (copy)

Copy or symlink this directory into your pi extensions folder:

# Global
mkdir -p ~/.pi/agent/extensions
cp -r extensions/pi-clawd ~/.pi/agent/extensions/

# Or project-local
mkdir -p .pi/extensions
cp -r extensions/pi-clawd .pi/extensions/

Then reload pi with /reload or restart.

Usage

The extension auto-discovers Clawd on ports 23333–23337 and starts reporting immediately.

| Command | Description | |---------|-------------| | /clawd | Show connection status | | /clawd on | Enable state reporting | | /clawd off | Disable state reporting |

Event Mapping

| pi Event | Clawd State | Notes | |----------|-------------|-------| | session_start | idle | — | | input / agent_start | thinking | User sent a prompt | | turn_start | thinking | New LLM turn | | tool_execution_start | working | Includes tool_name | | tool_execution_end | working | Includes tool_name | | tool_result (error) | error | — | | agent_end | attention | If tools were used this turn | | agent_end | idle | If no tools were used | | session_shutdown | sleeping | — |

How it works

  1. On session_start, the extension probes 127.0.0.1:23333–23337 to find Clawd.
  2. Each lifecycle event is translated into a Clawd state payload and sent via POST /state.
  3. If the port changes (e.g. Clawd restarted), the extension rediscovers automatically.
  4. The extension identifies itself with agent_id: "pi" so Clawd tracks it as a separate session.

Troubleshooting

  • "Clawd not running": Make sure Clawd on Desk is launched. The extension silently skips reporting when Clawd is unavailable.
  • Pet not reacting: Check that the pi agent is enabled in Clawd's Settings → Agents panel.
  • Port conflicts: Clawd uses 23333–23337. Ensure nothing else is bound to those ports.