Quick Start: Tool-Only Plugin
The simplest plugin wraps a CLI tool or API.Step 1: Create the package
Step 2: Write the manifest
Step 3: Implement the plugin
Step 4: Write documentation
SKILL.md (for agents):Examples
Step 5: Register in config
Step 6: Restart the gateway
Multi-Tool Plugin
If your plugin provides multiple tools, use dot notation:Channel Plugin
A plugin that provides a messaging channel:Plugin with Hooks
A plugin that intercepts messages:Cross-Plugin Interaction
Plugins can invoke tools from other plugins viactx.invokeTool():
Distributing Plugins
As an npm package
As a GitHub repo
Package with multiple plugins
Put multiple plugins in subdirectories:Migration from v1 Tools
If you have existing tools using the oldtool.json + createHandler() format:
tool.json to plugin.json and update its structure to match the plugin manifest format (see above).