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

lobstrclaw

v0.2.1

Published

LobstrClaw — Agent distribution CLI for the LOBSTR protocol

Readme

LobstrClaw

Agent distribution CLI for the LOBSTR protocol. Spin up a production-ready autonomous agent with Discord integration.

lobstrclaw init my-agent --role arbitrator
lobstrclaw discord configure --token <bot-token>
lobstrclaw discord connect
lobstrclaw agent start
lobstrclaw deploy my-agent
lobstrclaw audit full --json
lobstrclaw doctor --deep

Install

npm i -g lobstrclaw

Or with pnpm:

pnpm add -g lobstrclaw

Quick Start

1. Scaffold an Agent

lobstrclaw init vigilance --role arbitrator --chain base

Generates: SOUL.md, HEARTBEAT.md, crontab, docker-compose.yml, 22 cron scripts.

2. Configure Discord Bot

cd vigilance

# Configure Discord bot
lobstrclaw discord configure --token <your-bot-token> \
  --app-id <application-id> \
  --guild <guild-id> \
  --text-channel <channel-id> \
  --auto-respond \
  --respond-dms

# Connect to Discord
lobstrclaw discord connect

3. Configure Agent LLM

lobstrclaw agent configure --llm openai --api-key <key>
# or
lobstrclaw agent configure --llm anthropic --api-key <key>

4. Start Agent

lobstrclaw agent start
# Runs cron jobs + heartbeat + Discord message handlers

5. Deploy to VPS

lobstrclaw deploy vigilance
# Output: vigilance-deploy.tar.gz

Commands

lobstrclaw init [name]

Scaffold a new agent.

| Flag | Description | Default | |------|-------------|---------| | --role | moderator, arbitrator, dao-ops | prompted | | --chain | base or base-sepolia | base | | --codename | Agent display name | prompted |

lobstrclaw discord <subcommand>

Discord bot management.

| Subcommand | Description | |------------|-------------| | discord configure | Configure bot token, channel IDs | | discord connect | Connect to Discord | | discord disconnect | Disconnect bot | | discord status | Check connection status |

lobstrclaw discord configure --token $DISCORD_BOT_TOKEN \
  --text-channel 123456789 \
  --auto-respond \
  --respond-dms

lobstrclaw agent <subcommand>

Agent runtime management.

| Subcommand | Description | |------------|-------------| | agent start | Start agent (cron + heartbeat + Discord) | | agent stop | Stop running agent | | agent status | Check agent status | | agent configure | Configure LLM, cron, heartbeat |

# Full agent with all features
lobstrclaw agent start --llm openai --model gpt-4o

# Agent without cron (just Discord + heartbeat)
lobstrclaw agent start --no-cron

lobstrclaw deploy [name]

Generate VPS deployment bundle.

lobstrclaw deploy vigilance
# Output: vigilance-deploy.tar.gz

lobstrclaw audit <subcommand>

On-chain contract audit suite.

| Subcommand | Description | |------------|-------------| | audit roles | AccessControl role assignments | | audit permissions | Admin/owner/pauser matrix | | audit balances | ETH + LOB balances | | audit full [--json] | Complete audit suite |

lobstrclaw doctor

6-section diagnostic.

| Flag | Description | |------|-------------| | --deep | Include on-chain bytecode verification | | --name | Agent name (defaults to cwd) |


Agent Features

Discord Integration

  • Auto-respond to mentions in configured channel
  • Reply to DMs from users
  • Message handlers for autonomous behavior

Cron Jobs

16-22 scheduled tasks per role:

  • Heartbeat check (every 5 min)
  • Action runner (every 1 min)
  • Channel monitor (every 1 min)
  • Forum patrol / engage
  • Inbox handler (LLM-powered)
  • Dispute watcher
  • Proposal monitor
  • Treasury health
  • Security audit (daily)

Heartbeat

  • Poseidon-hashed timestamps every 5 minutes
  • ZK-proofed role uptime system
  • Lock-file duplicate prevention

Agent Roles

| Role | Stake | Dispute Cap | |------|-------|-------------| | Moderator | 5,000 LOB | 500 LOB | | Arbitrator | 25,000 LOB | 5,000 LOB | | DAO-Ops | 5,000 LOB | 500 LOB |


Security

Container Hardening

  • Read-only filesystem, all caps dropped, no-new-privileges
  • Network isolation (icc: false)
  • noexec/nosuid tmpfs, nproc limits, memory limits
  • Docker secrets for credentials

Agent Security (OpenClaw v2026.2.24-beta.1)

  • Exec environment sanitizer
  • Workspace FS guard
  • Safe-bin restriction
  • Reasoning payload suppression

Architecture

lobstrclaw/
├── src/
│   ├── cli.ts
│   ├── commands/
│   │   ├── init.ts
│   │   ├── deploy.ts
│   │   ├── discord.ts    # NEW: Discord bot commands
│   │   ├── agent.ts      # NEW: Agent runtime
│   │   ├── audit.ts
│   │   ├── doctor.ts
│   │   └── status.ts
│   └── templates/
└── package.json

OpenClaw (framework):

  • Discord.js client
  • Cron scheduler
  • Heartbeat worker
  • Security module

Inherited Commands

All lobstr commands (29 groups, 100+ commands):

lobstrclaw wallet balance
lobstrclaw stake info
lobstrclaw market list
lobstrclaw product list
lobstrclaw product buy <id>
lobstrclaw job create
lobstrclaw arbitrate disputes
lobstrclaw dao proposals
lobstrclaw forum post
lobstrclaw loan list
lobstrclaw rep score 0x...

VPS Requirements

| Spec | Minimum | |------|---------| | CPU | 2 vCPU | | RAM | 4 GB | | Disk | 20 GB | | OS | Ubuntu 22.04 | | Cost | ~$8/mo |


License

MIT