world2agent-plugins
Channel adapters that connect World2Agent sensors to AI agent runtimes — give your agent real-time awareness of external events (Hacker News, GitHub, stocks, X, calendars, …) via pluggable sensors.
What's in here
| Package | Runtime | Description |
|---|
claude-code-channel | Claude Code | MCP channel adapter + Claude Code plugin bundle. Signals arrive as in-session MCP notifications. |
hermes-sensor-bridge | Hermes Agent | Out-of-process supervisor + webhook bridge. Each signal triggers a fresh AIAgent.run_conversation() with the generated handler skill auto-loaded. |
openclaw-sensor-bridge | OpenClaw | Out-of-process supervisor + /hooks/agent bridge. Each signal triggers a fresh isolated agent turn with the generated handler skill auto-loaded. |
Quick start — Claude Code
In Claude Code:
/plugin marketplace add machinepulse-ai/world2agent-plugins
/plugin install world2agent@world2agent-plugins
Then wire up a sensor:
/world2agent:sensor-add @world2agent/sensor-hackernews
Incoming signals appear in your Claude Code session as MCP notifications.
Quick start — Hermes
Install once:
npm install -g @world2agent/hermes-sensor-bridge
hermes skills install machinepulse-ai/world2agent-plugins/hermes-sensor-bridge/skills/world2agent-manage
Then in an interactive hermes session, just describe the intent in natural language or use the slash form. The agent handles the rest (npm install, SETUP.md Q&A, webhook subscription, subprocess startup):
/world2agent-manage add @world2agent/sensor-hackernews
First time only: the agent will ask you to restart hermes gateway once after it enables the webhook platform — this is a one-time hiccup because Hermes hot-reloads webhook subscriptions but not the platform config. Every install after that is seamless.
Each signal triggers a fresh agent run against the generated handler skill. See hermes-sensor-bridge/README.md for lifecycle / debugging reference.
Quick start — OpenClaw
Three steps:
npm install -g @world2agent/openclaw-sensor-bridge
openclaw skills install world2agent-manage
Then send this in your OpenClaw chat:
Use world2agent-manage skill install @quill-io/sensor-frontier-ai-news
The skill walks the SETUP.md Q&A, generates a handler skill, registers the sensor in ~/.world2agent/config.json, and starts the supervisor. Subsequent signals each trigger a fresh /hooks/agent call against the handler.
First time only: the bridge's bootstrap.sh writes a managed hooks block into ~/.openclaw/openclaw.json (auto-generates hooks.token if absent, sets allowRequestSessionKey, adds "w2a:" to allowedSessionKeyPrefixes) and asks you to run openclaw gateway restart once. A timestamped backup of the original config is kept next to the file. Every install after that is seamless.
If you already have a paired chat platform (Feishu, iMessage, Telegram, …) configured via <PLATFORM>_HOME_CHANNEL in ~/.openclaw/.env, replies are auto-pushed to that chat by default. See openclaw-sensor-bridge/README.md for the full delivery options and lifecycle scripts.
Repository layout
.
├── .claude-plugin/
│ └── marketplace.json # Claude Code marketplace catalog
├── claude-code-channel/ # the `world2agent` Claude Code plugin
│ ├── .claude-plugin/
│ ├── commands/ # /world2agent:sensor-add, sensor-list, sensor-remove
│ ├── skills/ # MCP-side handler skills
│ ├── src/
│ └── package.json
├── hermes-sensor-bridge/ # @world2agent/hermes-sensor-bridge
│ ├── src/
│ │ ├── runner/ # per-sensor subprocess
│ │ └── supervisor/ # daemon (signal → HMAC → POST → Hermes)
│ ├── skills/world2agent-manage/
│ │ ├── SKILL.md # agent-facing skill
│ │ └── scripts/ # all host-side work (install, remove, list, …)
│ ├── e2e/
│ └── package.json
└── openclaw-sensor-bridge/ # @world2agent/openclaw-sensor-bridge
├── src/
│ ├── runner/ # per-sensor subprocess
│ └── supervisor/ # daemon (signal → Bearer → POST /hooks/agent → OpenClaw)
├── skills/world2agent-manage/
│ ├── SKILL.md # agent-facing skill
│ └── scripts/ # all host-side work (install, remove, list, …)
├── e2e/
└── package.json
For plugin authors: updating
Claude Code plugin (claude-code-channel)