← Back to Skills Marketplace
calecorbett

Discord Hub Builder

by CaleCorbett · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
307
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install discord-hub-builder
Description
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...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install discord-hub-builder
  3. After installation, invoke the skill by name or use /discord-hub-builder
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: builds complete AI command center Discord server via REST API with roles, channels, and pinned workflow cards
Metadata
Slug discord-hub-builder
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 307 downloads so far.

How do I install Discord Hub Builder?

Run "/install discord-hub-builder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Discord Hub Builder free?

Yes, Discord Hub Builder is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Discord Hub Builder support?

Discord Hub Builder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Discord Hub Builder?

It is built and maintained by CaleCorbett (@calecorbett); the current version is v1.0.0.

💬 Comments