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

bereach-openclaw

v1.2.0

Published

BeReach LinkedIn automation plugin for OpenClaw

Readme

BeReach — OpenClaw Plugin

LinkedIn outreach automation via BeReach. Registers 33 in-process tools and auto-reply commands.

Install

openclaw plugins install bereach-openclaw

Post-install checklist

  1. Configure — Add BEREACH_API_KEY to openclaw.json (see Setup).
  2. Restartopenclaw gateway restart
  3. New session — Type /new in Telegram or chat so the agent sees the tools (existing sessions don't pick up new plugins).

Upgrade

openclaw plugins update bereach-openclaw can leave node_modules and extensions/ out of sync (version mismatch → trim/crash errors). Use uninstall + reinstall instead.

Before upgrading: note your BEREACH_API_KEY — uninstall may remove plugins.entries.bereach-openclaw.

# 1. Uninstall
openclaw plugins uninstall bereach-openclaw

# 2. Reinstall latest
openclaw plugins install bereach-openclaw

# 3. Re-add config (API key + plugins.allow) in openclaw.json — see Setup above
# 4. Restart the Gateway
# 5. /new in Telegram or chat (new session picks up the plugin)

Verify versions match:

cat /data/.openclaw/node_modules/bereach-openclaw/package.json | grep version
cat /data/.openclaw/extensions/bereach-openclaw/package.json | grep version

Setup

The API key can be set in 3 ways (in order of precedence):

1. OpenClaw config (recommended) — ~/.openclaw/openclaw.json or /data/.openclaw/openclaw.json:

{
  "plugins": {
    "allow": ["bereach-openclaw"],
    "entries": {
      "bereach-openclaw": {
        "enabled": true,
        "config": {
          "BEREACH_API_KEY": "brc_your_token_here"
        }
      }
    }
  }
}

Note: plugins.allow loads the plugin. Tools are auto-enabled when the plugin is loaded (no tools.allow needed).

Skills + model (optional)skills.entries has no model field; model is set at the agent level. To use Sonnet for BeReach:

{
  "skills": {
    "entries": {
      "bereach": { "enabled": true }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "anthropic/claude-sonnet-4-5" },
      "models": {
        "anthropic/claude-sonnet-4-5": { "alias": "sonnet" }
      }
    }
  }
}

2. Environment variableBEREACH_API_KEY=brc_xxx in your shell or export BEREACH_API_KEY="brc_xxx" in ~/.bashrc.

3. Docker — pass via -e when launching the container: docker run -e BEREACH_API_KEY=brc_xxx ...

Restart the Gateway after configuring.

Important: After install or restart, start a new session so the agent sees the tools. In Telegram or chat: type /new. Existing sessions don't pick up new plugins.

Troubleshooting

BeReach tools (bereach_*) not visible in my session

First try: /new in Telegram or chat — new sessions pick up plugins; old ones don't.

If that doesn't work:

  • Restart the Gateway: openclaw gateway restart
  • Then /new again

"Cannot read properties of undefined (reading 'trim')" or "plugin disabled (not in allowlist)"

OpenClaw loads plugins from two locations:

  • node_modules/bereach-openclaw/ — the npm package (source)
  • extensions/bereach-openclaw/ — the active copy OpenClaw uses at runtime

If extensions/bereach-openclaw/ is corrupt or incomplete, you get trim/undefined errors. Fix:

1. Backup and remove the active extension:

mv /data/.openclaw/extensions/bereach-openclaw /data/.openclaw/extensions/bereach-openclaw.bak.$(date +%s)

2. Reinstall from npm (inside the container):

cd /data/.openclaw
npm i bereach-openclaw@latest

3. Restart OpenClaw so it rebuilds extensions/bereach-openclaw/ from the package.

4. If extensions/bereach-openclaw/ is still incomplete after restart, force a symlink:

rm -rf /data/.openclaw/extensions/bereach-openclaw
ln -s /data/.openclaw/node_modules/bereach-openclaw /data/.openclaw/extensions/bereach-openclaw
# then restart the container

5. Verify — compare the two manifests:

wc -l /data/.openclaw/extensions/bereach-openclaw/openclaw.plugin.json
wc -l /data/.openclaw/node_modules/bereach-openclaw/openclaw.plugin.json

They should match. Per OpenClaw Plugin Manifest, tools are registered at runtime via api.registerTool().

Usage

Tools (33 registered)

All BeReach operations are available as agent tools — the agent uses them automatically based on your requests. No MCP needed; tools run in-process via the bereach SDK.

Auto-reply commands

These execute instantly without invoking the AI:

| Command | Description | | --- | --- | | /bereach-credits | Show current credit balance | | /bereach-status | Show LinkedIn rate limit summary | | /bereach-limits | Show detailed per-action rate limits |

CLI

openclaw bereach status

What's included

| Component | Description | | --- | --- | | src/tools/ | 33 tool definitions generated from OpenAPI | | src/commands/ | Auto-reply commands + CLI | | skills/bereach/SKILL.md | Main behavioral skill | | skills/bereach/sub/lead-magnet.md | Lead magnet workflow | | skills/bereach/sdk-reference.md | SDK method reference | | skills/bereach/openclaw-optimization.md | OpenClaw cost optimization guide |