add-discord

Installs and configures a Discord bot channel adapter for NanoClaw agents.

1|Updated May 22, 2026
One-click install
npx skills add https://github.com/roseDwayane/LocalizeAgenticSys --skill add-discord-rosedwayane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-discord
Source: https://github.com/roseDwayane/LocalizeAgenticSys/tree/main/nanoclaw/.claude/skills/add-discord
Command: npx skills add https://github.com/roseDwayane/LocalizeAgenticSys --skill add-discord-rosedwayane

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chat-adapter/discord.

What problem does it solve? NanoClaw does not ship channel integrations in its main branch, so connecting an agent to Discord requires manually fetching the adapter, registering it, installing the package, and wiring up bot credentials. This Skill automates that entire setup 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 TypeScript build and a registration integration test to confirm the adapter is correctly wired into the channel registry. - 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 in the environment. - Use Case: You want your NanoClaw agent to answer messages in your Discord server. Run this Skill to install the adapter, configure the bot token, then wire the channel to an agent group via /manage-channels. ## Quick Start Ask the assistant to add the Discord channel to NanoClaw and it will fetch the adapter, install dependencies, and walk you through bot credential setup.

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, registers it in src/channels/index.ts, installs @chat-adapter/discord, and validates the build. Then add your bot credentials to .env and sync them to the container.

What Discord bot credentials does the adapter require?

The adapter requires three values in .env: 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 the application ID and public key.

Does the Discord adapter support threads and direct messages?

Yes, the Discord channel supports threads and can receive direct messages in addition to server text channels. Platform IDs use the format discord:{guildId}:{channelId}, requiring both the guild and channel IDs.

Why does the Discord registration test fail after installation?

The discord-registration.test.ts 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 pnpm run build to diagnose.

How do I remove the Discord integration from NanoClaw?

Follow REMOVE.md: delete the self-registration import and adapter files, remove the three Discord variables from .env, uninstall @chat-adapter/discord with pnpm, then rebuild and restart the service. Every step is idempotent.