微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Discord Dual Bot Orchestrator

Discord Dual Bot Orchestrator · v1.0.0
安全 unknown 级 作者 nbdxrycyl 公开目录收录
1k 下载 0 安装 3.6k 收藏 2 浏览

简介

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-...

通过你的 Agent 添加

安装目录:discord-dual-bot-orchestrator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/discord-dual-bot-orchestrator/
Codex CLI~/.codex/skills/discord-dual-bot-orchestrator/
DeepSeek Harness~/.agents/skills/discord-dual-bot-orchestrator/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


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_NAME
  • BOT_B_NAME
  • BOT_A_TOKEN
  • BOT_B_TOKEN
  • BOT_A_ID
  • BOT_B_ID
  • GUILD_ID
  • CHANNEL_ID_LIST (comma-separated)
  • BASE_DIR (example: ~/.openclaw/bots)

Workflow

  1. Create isolated workspaces for bot-a and bot-b.
  2. Write .env files from template using placeholders.
  3. Apply channel allowlist policy:
    • Bot-A: primary chat policy
    • Bot-B: requireMention=true on allowlisted channels
  4. Optional: enable one-way bridge (bot-b -> bot-a) for reviewer feedback.
  5. Create backup snapshot before each risky iteration.
  6. 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_TOKEN separate from BOT_A_TOKEN.
  • Keep bot-b mention-gated in group channels.
  • Never enable bidirectional auto-bridge (avoids reply loops).
  • Always backup before patching runtime files.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill