Discord Hub Builder
/install discord-hub-builder
Discord Hub Builder
Builds a complete AI command center Discord server via API. No manual steps.
What Gets Built
Categories & Channels:
- COMMAND CENTER → #daily-brief, #task-queue
- AGENT CHANNELS → #agent-openclaw, #agent-perplexity, #agent-manus
- RESEARCH & OUTPUTS → #financial-briefs, #content-drafts, #research-archive
- OPERATIONS → #agent-logs, #ops-notes, #personal
Roles: Agent (blue), Reviewer (green)
Workflow Cards: Pinned in each agent channel with TOOL / TRIGGER / INPUT / OUTPUT / FREQUENCY
Prerequisites
Before running, confirm the user has:
- A Discord bot — created at https://discord.com/developers/applications
- Bot permissions:
Manage Channels,Manage Roles,Send Messages,Manage Messages(for pinning) - Bot invited to the server — use OAuth2 URL with
botscope + above permissions - Guild ID — right-click server name → Copy Server ID (Developer Mode must be on)
- Bot token — from the Bot tab in developer portal
If the user doesn't have these, walk through setup before running.
Execution
Dry run first (always)
python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID --dry-run
Show the user the preview. Confirm before live run.
Live run
python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID
The script:
- Creates roles (skips if already exist by name)
- Creates all categories and channels
- Posts and pins workflow cards in agent channels
- Prints channel IDs on completion
After Build
Tell the user:
- Set channel-specific permissions manually for
#task-queue(Owner-only send) and readonly channels — Discord's permission API requires role IDs which vary per server - To add more agent channels: copy an existing agent channel block in the script and re-run
- Workflow cards can be edited by finding the pinned message in each agent channel
Error Handling
If the script fails mid-run:
- Re-running is safe — roles skip if they exist by name
- Channels don't have dedup logic; re-run will create duplicates — delete extras manually or use the dry-run to check state first
- Rate limit errors (429): add
time.sleep(1)between calls or wait and retry
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install discord-hub-builder - 安装完成后,直接呼叫该 Skill 的名称或使用
/discord-hub-builder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Discord Hub Builder 是什么?
Build a complete Discord AI command center server from scratch using the Discord REST API. Use when a user wants to set up a professional Discord server for... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 307 次。
如何安装 Discord Hub Builder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install discord-hub-builder」即可一键安装,无需额外配置。
Discord Hub Builder 是免费的吗?
是的,Discord Hub Builder 完全免费(开源免费),可自由下载、安装和使用。
Discord Hub Builder 支持哪些平台?
Discord Hub Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Discord Hub Builder?
由 CaleCorbett(@calecorbett)开发并维护,当前版本 v1.0.0。