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

@meetopenbot/slack

v0.0.5

Published

Slack Events API ingress, simple agent replies, and thread delivery for OpenBot

Readme

@meetopenbot/slack

Slack specialist agent for OpenBot: Events API ingress, simple LLM replies, and thread delivery.

Features (MVP)

  • Ingress — verify Slack webhooks, dedupe events, prefetch thread/channel context, turn messages into agent:invoke
  • Agent — OpenAI + Slack MCP tools (post_message, list_channels, etc.)
  • Egress — post inbound-thread replies via chat.postMessage

Setup

  1. Create a Slack app with bot scopes:

    • app_mentions:read, chat:write, channels:history, users:read
    • For private channels: groups:history (bot must be invited)
    • For DMs: im:history, im:read, im:write
  2. Add the plugin to ~/.openbot/agents/slack/AGENT.md:

plugins:
  - id: "@meetopenbot/slack"
    config:
      signingSecret: your-signing-secret
      botToken: xoxb-your-bot-token
      teamId: T01234567
      authMode: credits
      model: openai/gpt-4o-mini
      channelMappings: "C01234567:engineering,C89ABCDEF:support"

On cloud, authMode: credits uses your workspace credit balance. For BYOK (bring your own key), set authMode: byok and add OPENAI_API_KEY under workspace settings — no API key field in plugin config.

Channel routing (webhook ingress)

When a Slack message arrives via the Events API webhook, the plugin delegates to the OpenBot system agent in a target channel. Set channelMappings as comma-separated slackChannelId:openbotChannelId pairs:

C01234567:engineering,C89ABCDEF:support,D0789ABC:slack-dms
  • Left side — Slack channel id (C… for channels, D… for DMs). In Slack: right-click the channel → View channel details → copy the id at the bottom.
  • Right side — OpenBot channel id to run in (must already exist).

Slack channels without a mapping route to uncategorized.

This applies only to webhook ingress delegation, not Slack MCP tools.

  1. Point Slack Event Subscriptions request URL to:
https://<your-host>/api/webhooks/slack
  1. Subscribe to app_mention for channel mentions. Add message.im only if you want DMs.

    Do not subscribe to message.channels or message.groups — that causes duplicate replies alongside app_mention.

Build

pnpm install
pnpm build

Restart the OpenBot runtime to load the plugin.