← 返回 Skills 市场
calecorbett

Discord Hub Builder

作者 CaleCorbett · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
307
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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:

  1. A Discord bot — created at https://discord.com/developers/applications
  2. Bot permissions: Manage Channels, Manage Roles, Send Messages, Manage Messages (for pinning)
  3. Bot invited to the server — use OAuth2 URL with bot scope + above permissions
  4. Guild ID — right-click server name → Copy Server ID (Developer Mode must be on)
  5. 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:

  1. 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
  2. To add more agent channels: copy an existing agent channel block in the script and re-run
  3. 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
安全使用建议
This skill appears to do exactly what it says, but take these precautions before running: 1) Provide only a bot token with the minimal permissions you can (it needs Manage Channels/Roles/Manage Messages to perform all actions). 2) Prefer not to pass the token on the command line on multi-user systems (CLI args can be visible via process listings); consider using an environment variable or an interactive prompt, and rotate the token if exposed. 3) Run the dry-run first to preview changes—the script can create duplicate channels if re-run. 4) Only run this against servers you control or have explicit permission to modify. 5) If you accidentally leak the token or suspect compromise, immediately revoke/rotate it in the Discord developer portal.
功能分析
Type: OpenClaw Skill Name: discord-hub-builder Version: 1.0.0 The skill bundle is a legitimate utility for automating the setup of a Discord server structure via the Discord REST API. The script `scripts/build_hub.py` uses standard Python libraries to create roles, categories, and channels as described in the documentation, and it includes a dry-run feature to preview changes. There is no evidence of data exfiltration, credential theft, or unauthorized communication with non-Discord endpoints.
能力评估
Purpose & Capability
Name/description promise (create a Discord AI command center) matches the contained script and runtime instructions. The script only calls the Discord API to create roles, categories, channels, post messages, and pin those messages—functionality expected for this purpose.
Instruction Scope
SKILL.md explicitly limits actions to creating roles, categories, channels, posting & pinning messages, and printing channel IDs. It documents required bot permissions and guild ID. The script does not read unrelated files or send data to external endpoints other than discord.com.
Install Mechanism
No installation/downloading is performed; this is an instruction-only skill with an included Python script. No external archive downloads or package installs are invoked.
Credentials
The skill requires a Discord bot token with Manage Channels/Roles/Messages and a guild ID—these are appropriate for the task. Minor mismatch: the registry metadata lists no required env vars, while SKILL.md/docs expect the user to supply the token and guild ID as CLI arguments; this is not malicious but is an operational detail the user should note.
Persistence & Privilege
The skill does not request always:true or claim permanent system presence. It runs when invoked and performs only Discord API calls using the supplied token. Autonomous invocation is allowed by platform default but not intrinsically problematic here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install discord-hub-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /discord-hub-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: builds complete AI command center Discord server via REST API with roles, channels, and pinned workflow cards
元数据
Slug discord-hub-builder
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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。

💬 留言讨论