TopRank Skills

Home / Claw Skills / 机器人 / multi-account-config
Official OpenClaw rules 56%

multi-account-config

Configure multiple messaging platform accounts for OpenClaw. Use when the user wants to add or configure additional accounts for Telegram, WhatsApp, Discord, or other supported channels. Triggers on requests like "configure multiple accounts", "add another telegram bot", "setup multi-account", "add work account", etc.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 multi-account-config 技能。 若已安装,则直接安装 multi-account-config 技能。

Overview

Skill Key
devilsen/multi-account-config
Author
devilsen
Source Repo
openclaw/skills
Version
-
Source Path
skills/devilsen/multi-account-config
Latest Commit SHA
253913c0a61e0b8d553d529f015ac974a2ccf429

Extracted Content

SKILL.md excerpt

# Multi-Account Configuration

Guide users through configuring multiple accounts for messaging platforms in OpenClaw.

## Supported Platforms

- Telegram
- WhatsApp
- Discord
- Slack
- Signal
- Other OpenClaw-supported channels

## Workflow

### Step 1: Identify Platform

Ask the user which platform they want to configure:
> "你想配置哪个平台的多账号?支持的选项:Telegram、WhatsApp、Discord、Slack、Signal 等。"

### Step 2: Collect Account Information

For each account, collect:
1. **Account ID/Name** - A short identifier (e.g., "work", "personal", "friendA")
2. **Platform-specific credentials:**
   - Telegram: Bot Token (from @BotFather)
   - WhatsApp: Pairing code or existing credentials
   - Discord: Bot Token
   - Slack: Bot Token
   - Signal: Phone number

Suggest meaningful names based on use case:
- "work" - 工作相关
- "personal" - 个人使用
- "side-project" - 副业项目
- "family" - 家人群组

### Step 3: Get Current Config

Use `gateway config.get` to retrieve current configuration.

### Step 4: Build Updated Config

Structure the configuration following this pattern:

```json
{
  "bindings": [
    {
      "agentId": "main",
      "match": {
        "channel": "<platform>",
        "accountId": "<account-id>"
      }
    }
  ],
  "channels": {
    "<platform>": {
      "enabled": true,
      "accounts": {
        "<account-id>": {
          "name": "<Display Name>",
          "enabled": true,
          "dmPolicy": "allowlist",
          "allowFrom": ["<user-id>"],
          "botToken": "<token>",
          "groupPolicy": "open",
          "streaming": "block"
        }
      }
    }
  }
}
```

### Step 5: Apply Configuration

Use `gateway config.patch` to apply the new configuration.

### Step 6: Verify

Confirm the configuration was applied successfully and provide next steps.

## Configuration Schema Reference

### Bindings

Each account needs a binding entry:
```json
{
  "agentId": "main",
  "match": {
    "channel": "telegram",
    "accountId": "work"
  }
}...

Related Claw Skills