Docs Menu

Hooks & Plugins

Event-driven automations and channel extensions that add capabilities to your agent.

Hooks

Hooks are event-driven automations that trigger on specific gateway events. Unlike heartbeats (which run on a schedule) or cron jobs (which run at specific times), hooks fire in response to something happening.

Hook Events

gateway:startupFires when the gateway starts up
/newFires when a new session is created
/resetFires when a session is reset

Managing Hooks

The Hooks Manager in ClawManager lets you:

  • View all available hooks and their status
  • Enable or disable individual hooks
  • See which events each hook responds to
  • Check for missing requirements (system binaries, config)
  • Install new hooks

Hooks can be bundled with OpenClaw, installed as packages, or placed in your workspace directory.

Plugins

Plugins are channel extensions that add messaging platform support. They're different from skills (which add agent capabilities) - plugins enable new communication channels.

How They Work

Each messaging platform (Telegram, Discord, WhatsApp, etc.) is implemented as a plugin. Most common plugins come bundled with OpenClaw. Additional plugins can be installed for less common platforms:

$ openclaw plugins install @openclaw/twitch

Plugins Manager

The Plugins Manager in ClawManager shows all installed plugins with their status. You can enable or disable plugins, check for updates, and see which channels each plugin supports. Plugins are global - they apply to all agents (individual agent access is controlled via routing).

Skills vs Hooks vs Plugins

SkillsHooksPlugins
PurposeAgent capabilitiesEvent automationsChannel support
TriggerAgent decides to useGateway eventsAlways active
ExampleWeb search, GIF searchOn /new, run setupTelegram, Twitch

Next Steps

Learn about Skills & Tools for agent capabilities, or set up scheduled tasks in Automation.