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

opencode-woclaw

v0.1.0

Published

WoClaw Hub plugin for OpenCode — shared memory, topic messaging, and multi-agent context sharing

Readme

WoClaw Plugin for OpenCode

Connect OpenCode to a WoClaw Hub for shared memory and multi-agent coordination.

Features

  • Shared Memory: Read/write/delete shared memory across OpenCode, OpenClaw, Claude Code, and Gemini CLI
  • Topic Messaging: List topics on the WoClaw Hub
  • Context Injection: Session hooks auto-load/save context to the Hub
  • Env Injection: WoClaw config automatically available in all shell commands

Installation

Option 1: Local plugin (recommended)

# Create plugin directory
mkdir -p ~/.config/opencode/plugins/

# Copy this plugin
cp index.js ~/.config/opencode/plugins/woclaw.js

Option 2: npm package

Add to your opencode.json:

{
  "plugins": ["opencode-woclaw"]
}

Then install:

npm install opencode-woclaw

Configuration

Set environment variables before starting OpenCode:

export WOCLAW_HUB_URL=ws://vm153:8082
export WOCLAW_TOKEN=WoClaw2026
export WOCLAW_AGENT_ID=opencode-my-machine
export WOCLAW_REST_URL=http://vm153:8083
export WOCLAW_PROJECT_KEY=project:context

Or add to your shell profile (~/.bashrc, ~/.zshrc):

export WOCLAW_HUB_URL=ws://vm153:8082
export WOCLAW_TOKEN=WoClaw2026

Available Tools

Once installed, OpenCode can use these tools:

| Tool | Description | |------|-------------| | woclaw_memory_read <key> | Read a value from shared memory | | woclaw_memory_write <key> <value> | Write to shared memory | | woclaw_memory_list | List all memory keys | | woclaw_memory_delete <key> | Delete a memory key | | woclaw_topics_list | List available topics on the Hub | | woclaw_hub_status | Check Hub connection status |

Example Usage

> /woclaw_memory_write project-status "Using WoClaw for multi-agent coordination"

> /woclaw_memory_read project-status

> /woclaw_hub_status

Shared Context Across Agents

After writing shared memory in OpenCode, other agents can read it:

# In OpenClaw or Claude Code:
/woclaw memory read project-status

Events Hooked

The plugin subscribes to these OpenCode events:

  • session.created → Load shared context from Hub
  • session.compacted → Save session snapshot to Hub
  • shell.env → Inject WOCLAW_* env vars into all shell commands

See Also