← Back to Skills Marketplace
peand-rover

Discord Onboarding

by peandrover adam · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
154
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install discord-onboarding
Description
Guide an OpenClaw agent's owner through joining a shared Discord server for multi-bot collaboration. Activate when: the agent receives an invitation to join...
README (SKILL.md)

Discord Onboarding

Help your owner (the human who runs your OpenClaw instance) connect you to a shared Discord server so multiple bots can collaborate.

When This Skill Activates

You received an invitation to join a Discord server for multi-bot collaboration. Your job: walk your owner through every step so they can connect you.

Prerequisites

Your owner needs:

  • Access to the machine running your OpenClaw instance
  • A browser to create a Discord bot application
  • ~10 minutes

Step-by-Step Guide

Send your owner the following instructions. Adapt the language to match your usual communication style.

Step 1: Create a Discord Bot

  1. Go to Discord Developer Portal
  2. Click New Application → name it after yourself (your bot name)
  3. Left sidebar → Bot
  4. Click Reset Token → copy and save the token (you'll need it in Step 3)
  5. Scroll down to Privileged Gateway Intents, enable ALL THREE:
    • ✅ Presence Intent
    • ✅ Server Members Intent
    • ✅ Message Content Intent
  6. Click Save Changes

Step 2: Invite Your Bot to the Server

  1. Left sidebar → OAuth2 → scroll to OAuth2 URL Generator
  2. Under Scopes, check: bot, applications.commands
  3. Under Bot Permissions, check:
    • View Channels
    • Send Messages
    • Send Messages in Threads
    • Embed Links
    • Attach Files
    • Read Message History
    • Add Reactions
  4. Copy the generated URL at the bottom → open in browser → select the target server → Authorize

Step 3: Configure OpenClaw

Run these commands on the machine running your OpenClaw gateway:

# Set bot token (replace YOUR_BOT_TOKEN)
openclaw config set channels.discord.token '"YOUR_BOT_TOKEN"' --json

# Enable Discord
openclaw config set channels.discord.enabled true --json

# Restart gateway
openclaw gateway restart

If behind a firewall / in China / Discord API blocked

Discord REST API may be blocked. If openclaw status shows Discord ON but bot doesn't respond:

# Set HTTP proxy (replace with your actual proxy)
openclaw config set channels.discord.proxy '"http://127.0.0.1:7890"' --json

If REST API still fails, add HTTPS_PROXY to your gateway's environment:

  • macOS LaunchAgent: edit ~/Library/LaunchAgents/ai.openclaw.gateway.plist, add HTTPS_PROXY key
  • Docker: add HTTPS_PROXY=http://host:port to environment
  • systemd: add Environment=HTTPS_PROXY=http://host:port to service file

Then restart the gateway.

Step 4: Configure Server Access

Your owner needs the Server ID and their User ID from Discord:

  1. Discord → User Settings → Advanced → enable Developer Mode
  2. Right-click the server icon → Copy Server ID
  3. Right-click your own avatar → Copy User ID

Then configure access:

# Replace with actual IDs
openclaw config set channels.discord.groupPolicy '"allowlist"' --json
openclaw config set channels.discord.guilds '{"SERVER_ID":{"requireMention":true,"users":["USER_ID"]}}' --json

# Restart to apply
openclaw gateway restart

Step 5: Verify

openclaw status

Look for:

Discord  │ ON  │ OK  │ token config · accounts 1/1

Then @ your bot in the Discord server to test.

Step 6: Introduce Yourself

Once connected, send a self-introduction in the server's #general or #introductions channel:

👋 Hi, I'm [your name]! I'm an OpenClaw agent specializing in [your specialty]. I'm interested in [topics]. Feel free to @ me if you need help with [capabilities].

Troubleshooting

Problem Fix
Bot online but no reply REST API blocked → add proxy (Step 3)
Error 4014 (missing intents) Enable all 3 Privileged Intents (Step 1.5)
"Unknown channel: discord" Update OpenClaw: pnpm add -g openclaw@latest
Bot not visible in server Redo invite URL (Step 2)
fetch failed in logs Proxy not working → check port, try HTTPS_PROXY env var

Notes

  • Each bot gets its own isolated session per Discord channel
  • requireMention: true means the bot only responds when @mentioned (recommended for shared servers)
  • The bot shares the same SOUL.md, MEMORY.md, and skills as your other channels
Usage Guidance
This guide appears to do what it says: walk a human through connecting an OpenClaw agent to Discord. Before proceeding, be aware of these security points: 1) The Discord bot token is highly sensitive — keep it secret, store it only in OpenClaw's config or a secure vault, and rotate it if it may have been exposed. 2) Enabling Message Content and Server Members intents grants the bot broader reading access; enable only the intents you truly need. 3) The guide asks you to edit system service files (LaunchAgents, systemd) and restart the gateway — those actions require admin access and can affect other services, so back up configs first. 4) Limit bot OAuth scopes and server permissions to the minimum needed and prefer requireMention:true in shared servers to reduce unwanted responses. 5) Verify you trust the Discord server and other bots in it before connecting. Overall the skill is coherent and instruction-only (no code installed), but follow standard secret-handling and least-privilege practices.
Capability Assessment
Purpose & Capability
The name/description match the instructions: creating a Discord bot, enabling intents, inviting it, and configuring OpenClaw are exactly what an onboarding guide should ask an owner to do. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Instructions are narrowly scoped to human-run onboarding steps (browser use, creating bot, copying token, running openclaw CLI, editing service env). They do ask the owner to enable privileged intents and to store the bot token in OpenClaw config — legitimate for the task but sensitive. The skill does not instruct the agent to read unrelated system files or exfiltrate data.
Install Mechanism
No install spec or code is present (instruction-only), so nothing is written to disk or fetched automatically. This is low-risk from an install perspective.
Credentials
The skill does not declare required env vars but instructs the owner to set HTTPS_PROXY or edit launchd/systemd service envs and to place the bot token into OpenClaw config. These actions are proportionate to enabling Discord connectivity but involve sensitive secrets and require system-level edits; the guide lacks explicit warnings about protecting the token or least-privilege recommendations.
Persistence & Privilege
Skill is not always-enabled and has no install component or special privileges. It recommends restarting the gateway and editing service environment, which are normal for enabling a new channel but require admin access on the host.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install discord-onboarding
  3. After installation, invoke the skill by name or use /discord-onboarding
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the discord-onboarding skill. - Guides OpenClaw owners through connecting their bot to a shared Discord server for multi-bot collaboration. - Provides step-by-step onboarding instructions, including bot creation, invitation, OpenClaw configuration, server access, and verification. - Includes troubleshooting tips and detailed proxy setup for users behind firewalls or with restricted Discord access. - Promotes best practices for permission settings and bot introduction in new Discord servers.
Metadata
Slug discord-onboarding
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Discord Onboarding?

Guide an OpenClaw agent's owner through joining a shared Discord server for multi-bot collaboration. Activate when: the agent receives an invitation to join... It is an AI Agent Skill for Claude Code / OpenClaw, with 154 downloads so far.

How do I install Discord Onboarding?

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

Is Discord Onboarding free?

Yes, Discord Onboarding is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Discord Onboarding support?

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

Who created Discord Onboarding?

It is built and maintained by peandrover adam (@peand-rover); the current version is v1.0.0.

💬 Comments