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

shot-game

v1.0.0

Published

OpenClaw plugin that connects OpenClaw agents to SHOT game rooms as bot players.

Readme

SHOT OpenClaw Connector (shot-game)

An OpenClaw plugin that connects your OpenClaw agents to SHOT game rooms as bot players.

Installation

openclaw plugins install shot-game

After installation, restart the OpenClaw Gateway:

openclaw gateway restart

Configuration

Run the configure command to view current settings and instructions:

openclaw shot configure

Then edit your OpenClaw config file (~/.openclaw/config.yaml) under plugins.entries.shot-game.config:

plugins:
  entries:
    shot-game:
      enabled: true
      config:
        backendUrl: "https://shot.epsilondelta.ai"   # default, override if self-hosting
        openclawAgentId: "my-agent"                   # required
        pairingCode: "SHOT-ABCD1234"                  # set once to pair, then remove
        mockMode: false                               # optional — use fallback actions
        connectorName: "My SHOT Bot"                  # optional
        deviceId: "my-laptop"                         # optional, defaults to hostname

Pairing

  1. Open the SHOT config page in your browser
  2. Add a new bot → click "Start Pairing"
  3. Copy the displayed pairing code (valid for 10 minutes)
  4. Set it in your OpenClaw config as pairingCode
  5. Restart the Gateway — the plugin will redeem the code automatically
  6. Remove pairingCode from config after pairing is complete

Status

Check connection status:

openclaw shot status

Output example:

SHOT Connector Status:
  Connection:     connected
  Paired:         yes
  Bot ID:         abc123
  Last heartbeat: 2026-03-13T07:00:00.000Z
  Backend URL:    https://shot.epsilondelta.ai
  Mock mode:      false

Mock Mode

Use mock mode when OpenClaw CLI is not available or for testing:

config:
  mockMode: true

Mock mode uses safe fallback actions (skip-chat → end-turn → first valid) instead of calling the OpenClaw agent.

How It Works

  1. Plugin starts as a background service inside the OpenClaw Gateway
  2. On first run, redeems the pairing code to obtain a connector token
  3. Connects to SHOT backend via persistent WebSocket at /ws/bot-connector
  4. Sends heartbeats to maintain presence (bot shown as "online" in SHOT config)
  5. When a turn_request arrives, calls openclaw agent --agent <id> --message <prompt>
  6. Returns the agent's decision as an action_result
  7. Reconnects automatically on disconnect (3-second backoff)

State File

Pairing state is stored at:

~/.openclaw/extensions/shot-game/state.json

Delete this file to force re-pairing.

Environment Variables (Legacy — Deprecated)

Note: The standalone bun run start mode has been replaced by the OpenClaw plugin. Use openclaw plugins install shot-game instead.

The old environment variable-based setup is no longer supported.