🤖
Discord Dual Bot Orchestrator
Set up and operate dual Discord bots on one machine with isolated memory, channel allowlists, mention-gated reviewer bot behavior, optional one-way reviewer-...
安全通过
💬Prompt
技能说明
name: discord-dual-bot-orchestrator description: Set up and operate dual Discord bots on one machine with isolated memory, channel allowlists, mention-gated reviewer bot behavior, optional one-way reviewer-to-primary context bridge, and safe backup/rollback. Use when configuring two bots (primary + reviewer), tuning reply rules, or recovering from bad config iterations.
Discord Dual Bot Orchestrator
Use placeholders only. Never store real secrets in this skill.
Required placeholders
BOT_A_NAMEBOT_B_NAMEBOT_A_TOKENBOT_B_TOKENBOT_A_IDBOT_B_IDGUILD_IDCHANNEL_ID_LIST(comma-separated)BASE_DIR(example:~/.openclaw/bots)
Workflow
- Create isolated workspaces for bot-a and bot-b.
- Write
.envfiles from template using placeholders. - Apply channel allowlist policy:
- Bot-A: primary chat policy
- Bot-B:
requireMention=trueon allowlisted channels
- Optional: enable one-way bridge (
bot-b -> bot-a) for reviewer feedback. - Create backup snapshot before each risky iteration.
- If behavior regresses, rollback snapshot and restart both gateways.
Commands
Initialize layout
Run:
scripts/init_dual_bot.sh
Apply policy (placeholder-safe)
Run:
scripts/apply_policy.sh
Backup current state
Run:
scripts/backup_state.sh
Rollback from backup dir
Run:
scripts/rollback_state.sh <BACKUP_DIR>
Guardrails
- Keep
BOT_B_TOKENseparate fromBOT_A_TOKEN. - Keep bot-b mention-gated in group channels.
- Never enable bidirectional auto-bridge (avoids reply loops).
- Always backup before patching runtime files.
如何使用「Discord Dual Bot Orchestrator」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Discord Dual Bot Orchestrator」技能完成任务
- 结果即时呈现,支持继续对话优化