Skip to content

Latest commit

 

History

History
94 lines (72 loc) · 1.99 KB

File metadata and controls

94 lines (72 loc) · 1.99 KB

OpenClaw Plugins — Getting Started

Installation

Each plugin installs independently:

# IM Channels
openclaw plugins install @partme.ai/wecom
openclaw plugins install @partme.ai/dingtalk

# Infrastructure
openclaw plugins install @partme.ai/nacos
openclaw plugins install @partme.ai/prometheus

# Message Queues
openclaw plugins install @partme.ai/mqtt

Restart the Gateway after installation:

openclaw gateway restart

Configuration

Each plugin has its own configuration guide under guides/. Common pattern:

{
  "channels": {
    "<channel-id>": {
      "enabled": true,
      "dmPolicy": "open",
      "groupPolicy": "open",
      "accounts": {
        "default": { "appId": "...", "appSecret": "..." }
      }
    }
  }
}

Common Fields

Field Description Values
enabled Master switch true / false
dmPolicy DM access policy open / pairing / allowlist / disabled
groupPolicy Group access policy open / allowlist / disabled
allowFrom DM allowlist ["user1", "user2"]
accounts Multi-account config { "main": {...}, "support": {...} }
defaultAccount Default account ID "main"

Multi-Account

Most plugins support multi-account matrix isolation:

{
  "channels": {
    "wecom": {
      "enabled": true,
      "defaultAccount": "ops",
      "accounts": {
        "ops": { "botId": "bot-ops-xxx", "secret": "secret-ops" },
        "sales": { "botId": "bot-sales-xxx", "secret": "secret-sales" }
      }
    }
  }
}

Sessions, Agents, and contexts are fully isolated per accountId.

For Developers

Clone and build from source:

git clone https://github.com/partme-ai/openclaw-plugins.git
cd openclaw-plugins
pnpm install
pnpm build

Create a new plugin:

pnpm new-plugin my-plugin --label "My Plugin" --desc "Description"

See OpenClaw-Plugins-Contributing.md for details.