add-discord
Enable Discord as a NanoClaw channel (works alongside WhatsApp or Discord-only).
Best use case
add-discord is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Enable Discord as a NanoClaw channel (works alongside WhatsApp or Discord-only).
Teams using add-discord should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/add-discord/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How add-discord Compares
| Feature / Agent | add-discord | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Enable Discord as a NanoClaw channel (works alongside WhatsApp or Discord-only).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Add Discord Support This skill reflects the current Discord integration as implemented. ## 1) What works now - Discord runs alongside WhatsApp, or Discord-only. - Scope IDs: - Guild channel: `discord:<guildId>:<channelId>` - DM: `discord:dm:<userId>` - Messages are stored in the same SQLite DB as WhatsApp (`store/messages.db`). - Typing indicators are supported. - Responses are sent for **all allowed messages** (no mention requirement in the current code). ## 2) Configuration Set these environment variables (e.g. in `.env`): - `DISCORD_TOKEN` (required) - `DISCORD_MAIN_CHANNEL_ID` (recommended) - `DISCORD_ALLOWED_GUILD_IDS` (optional CSV) - `DISCORD_ALLOWED_CHANNEL_IDS` (optional CSV) Allowlist behavior: - If allowlists are **empty**, Discord only allows DMs + `DISCORD_MAIN_CHANNEL_ID`. - If allowlists are set, only those guilds/channels are accepted. ## 3) Behavior summary - **DMs**: always allowed and responded to. - **Main channel** (`DISCORD_MAIN_CHANNEL_ID`): allowed and responded to. - **Other channels**: allowed only if allowlisted; responses are sent for all allowed messages. ## 4) Discord Developer Portal setup (quick checklist) - Create a Discord application + bot - Enable **Message Content Intent** - Invite the bot to your server with permissions: - View Channels / Read Messages - Send Messages - Read Message History - (Optional) Send Typing Indicators ## 5) Testing ```bash export DISCORD_TOKEN="..." export DISCORD_MAIN_CHANNEL_ID="123..." # Optional export DISCORD_ALLOWED_GUILD_IDS="123...,456..." export DISCORD_ALLOWED_CHANNEL_IDS="123...,456..." npm run dev ``` Verify: - Send a DM → bot responds. - Send a message in the main channel → bot responds. - Send a message in an allowlisted channel → bot responds. ## 6) Troubleshooting - **Bot connects but doesn’t receive messages** - Ensure Message Content intent is enabled. - Ensure the bot has permissions to view the channel. - Check allowlists. - **No responses in a guild channel** - If no allowlists are set, only the main channel is accepted. - Ensure the channel is allowlisted or set as `DISCORD_MAIN_CHANNEL_ID`. - **`Missing Access` / `Forbidden` errors** - The bot lacks permissions in that channel. - The bot may not be in the server. - **DMs not working** - The user might have server privacy settings disallowing DMs.
Related Skills
setup
Run initial NanoClaw setup. Use when user wants to install dependencies, authenticate WhatsApp, register their main channel, or start the background services. Triggers on "setup", "install", "configure nanoclaw", or first-time setup requests.
setup-linux
Set up NanoClaw on Linux (Ubuntu/Debian recommended). Installs deps, configures .env, optional WhatsApp auth, and optional systemd service.
debug
Debug container agent issues. Use when things aren't working, container fails, authentication problems, or to understand how the container system works. Covers logs, environment variables, mounts, and common issues.
customize
Add new capabilities or modify NanoClaw behavior. Use when user wants to add channels (Telegram, Slack, email input), change triggers, add integrations, modify the router, or make any other customizations. This is an interactive skill that asks questions to understand what the user wants.
add-gmail
Add Gmail integration to NanoClaw. Can be configured as a tool (agent reads/sends emails when triggered from WhatsApp) or as a full channel (emails can trigger the agent, schedule tasks, and receive replies). Guides through GCP OAuth setup and implements the integration.
/add-codex
Add Codex CLI as an alternative NanoClaw agent runtime.
discord-bot-architect
Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding.
discord-automation
Automate Discord tasks via Rube MCP (Composio): messages, channels, roles, webhooks, reactions. Always search tools first for current schemas.
discord-bot-architect
Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding.
discord
Post announcements and messages to Discord channels. Use when sharing updates, releases, or team communications.
discord-voice
Real-time voice conversations in Discord voice channels with Claude AI
discord-admin-elite
Build, harden, and scale elite Discord servers with a practical admin playbook: security baseline, role/permission architecture, onboarding, moderation ops, engagement systems, and analytics-driven iteration. Use when designing a new server, auditing an existing one, fixing chaos, or preparing for growth.