qqbot-add-account

Add new QQ Bot accounts to an existing OpenClaw Gateway instance. Use when a user provides a new QQ Bot appId and clientSecret (or app token) and wants to run multiple QQ bots under one Gateway. Covers both CLI and direct config edit approaches.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "qqbot-add-account" with this command: npx skills add homer212416/qqbot-add-account

Add a QQ Bot Account

This skill adds a new QQ Bot account as a secondary bot under an existing channels.qqbot configuration.

Prerequisites

  • An existing channels.qqbot entry with enabled: true in openclaw.json
  • You have the new bot's appId and clientSecret from QQ Open Platform

Config Structure

QQ Bot supports multi-account via the accounts field inside channels.qqbot:

"channels": {
  "qqbot": {
    "enabled": true,
    "appId": "existing-bot-id",
    "clientSecret": "existing-bot-secret",
    "accounts": {
      "bot2": {
        "enabled": true,
        "appId": "new-bot-id",
        "clientSecret": "new-bot-secret"
      },
      "bot3": {
        "enabled": true,
        "appId": "another-bot-id",
        "clientSecret": "another-bot-secret"
      }
    }
  }
}
  • Each account key (e.g. "bot2", "bot3") is an arbitrary alias you choose
  • Each account launches its own WebSocket connection and maintains an independent token cache, isolated by appId
  • Log lines are tagged with the owning account for diagnostics

Interactive CLI Alternative

openclaw channels add --channel qqbot --account <alias> --token "<appSecret>"

This stores credentials in the OpenClaw credentials store. Note: --token-file only sets AppSecret; you still need appId in config or QQBOT_APP_ID env var.

Workflow: Adding via Config Edit

  1. Read current config — open ~/.openclaw/openclaw.json and locate the channels.qqbot block
  2. Identify last existing account — find the last entry in accounts (or note there are none yet)
  3. Add new entry — insert a new account with enabled: true, appId, and clientSecret, comma-separated from the previous entry
  4. Validate — verify the JSON is well-formed (commas, braces balance)
  5. Save — Gateway hot-reloads automatically; no restart needed

Important Notes

  • OpenIDs are per-bot. An OpenID from Bot A cannot be used to send messages via Bot B. Each bot sees its own set of user OpenIDs.
  • Credentials are in plaintext in openclaw.json by default. For production, consider SecretRef (env var or file-backed).
  • Account-level TTS overrides are supported — add a tts block inside the account config.
  • To remove an account, set enabled: false or delete the entry.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Ai Cartoon Video

Turn a 30-second live-action phone clip into 1080p cartoon-style videos just by typing what you need. Whether it's converting live-action videos into cartoon...

Registry SourceRecently Updated
Coding

Editing Generator Ai

Get AI-edited clips ready to post, without touching a single slider. Upload your raw video footage (MP4, MOV, AVI, WebM, up to 500MB), say something like "cu...

Registry SourceRecently Updated
Coding

Ai Tab Pile Closer

Turn an overwhelming list of open tabs into a keep, act, and archive board with next-click labels and a close-safe archive note.

Registry SourceRecently Updated
Coding

Kami Video

Skip the learning curve of professional editing software. Describe what you want — trim the silent parts, add background music, and export as a short clip —...

Registry SourceRecently Updated