add-discord

Installs and configures a Discord bot channel adapter for NanoClaw via the Chat SDK.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/RADHA0-max/selfhealbackend --skill add-discord-radha0-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-discord
Source: https://github.com/RADHA0-max/selfhealbackend/tree/main/nanoclaw/.claude/skills/add-discord
Command: npx skills add https://github.com/RADHA0-max/selfhealbackend --skill add-discord-radha0-max

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chat-adapter/discord.

What problem does it solve? NanoClaw does not ship channel integrations in its trunk, so connecting a Discord bot requires manually copying the adapter from the channels branch, registering it, installing the package, and wiring credentials. This Skill walks through that entire process with idempotent, re-runnable steps. ## Core Features & Use Cases - Adapter Installation: Copies the Discord adapter and its registration test from the channels branch, appends the self-registration import, and installs the pinned @chat-adapter/discord package. - Build Validation: Runs the build and the discord-registration integration test to confirm the adapter is registered and the dependency resolves. - Credential Setup: Guides creation of a Discord bot in the Developer Portal and configuration of DISCORD_BOT_TOKEN, DISCORD_APPLICATION_ID, and DISCORD_PUBLIC_KEY. - Use Case: You want your NanoClaw assistant to respond in your Discord server. Run this Skill to install the adapter, invite the bot with the correct permissions, and wire the channel to an agent group. ## Quick Start Ask the assistant to add the Discord channel to NanoClaw and it will copy the adapter, install the package, and guide you through bot credentials.

Frequently Asked Questions about add-discord

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a Discord bot channel to NanoClaw?

Run the add-discord skill, which copies the Discord adapter from the channels branch, appends the self-registration import to src/channels/index.ts, installs @chat-adapter/discord, and validates with a build and registration test.

What credentials does the Discord adapter require?

The adapter requires three environment variables: DISCORD_BOT_TOKEN, DISCORD_APPLICATION_ID, and DISCORD_PUBLIC_KEY. All three come from the Discord Developer Portal, and the adapter fails to start without them.

How do I find Discord server and channel IDs for registration?

Enable Developer Mode in Discord settings, then right-click a server to copy its guild ID and a channel to copy its channel ID. The platform ID format is discord:{guildId}:{channelId}, and both IDs are required.

Why does the Discord registration test fail after installation?

The test fails if the import './discord.js' line is missing from the channel barrel, if the barrel fails to evaluate, or if @chat-adapter/discord is not installed. Re-run the install steps and confirm pnpm run build passes.

Can I remove the Discord integration after installing it?

Yes, the REMOVE.md file documents an idempotent removal process: delete the adapter files and import, remove the credentials from .env, uninstall @chat-adapter/discord, then rebuild and restart the service.