A publishable skill for OpenClaw operators who run QQBot in multi-account, multi-agent environments.
Install the QQBot plugin first:
openclaw plugins install @tencent-connect/openclaw-qqbot@latest
K1 -> main, K2 -> agent2 style deploymentsbindings, accounts, appId, gateway port, and runtime stateqqbot plugin as a portable archive for handoff or backup本技能來自小蔥技能站7w4.net。
{
"bindings": [
{
"agentId": "main",
"match": {
"channel": "qqbot",
"accountId": "K1"
}
},
{
"agentId": "agent2",
"match": {
"channel": "qqbot",
"accountId": "K2"
}
}
],
"channels": {
"qqbot": {
"enabled": true,
"accounts": {
"K1": {
"appId": "YOUR_APP_ID_1",
"clientSecretFile": "/path/to/qqbot_k1.secret",
"name": "K1"
},
"K2": {
"appId": "YOUR_APP_ID_2",
"clientSecretFile": "/path/to/qqbot_k2.secret",
"name": "K2"
}
}
}
}
}
If one QQ message reaches two agents, do not assume the bindings are wrong first. In multi-account deployments, the plugin runtime must isolate account state by appId, especially:
If these are global instead of account-scoped, one account can consume another account's event stream and create duplicate sessions.
bash {baseDir}/scripts/inspect-qqbot.sh
references/multi-account-routing.mdreferences/proactive-send.mdbash {baseDir}/scripts/export-local-qqbot.sh
By default this writes a portable archive into {baseDir}/dist/.
這個 Skill 整體質量良好,文件結構清晰、配置示例詳細,能有效幫助運維人員理解多賬號路由和會話隔離的核心邏輯。指令碼工具簡單實用,適合快速檢查部署狀態。美中不足的是內容覆蓋面較窄,缺少常見問題的彙總解答,對新手使用者的引導還可以更友好。總體而言,這是一個專注於特定場景的實用技能,適合有 OpenClaw 運維經驗的使用者使用。