Add Discord
Add Discord extends GhostClaw with Discord channel support through automated code patching and interactive configuration. The skill applies a DiscordChannel implementation, installs discord.js, and guides you through bot creation, environment setup, and channel registration. Choose whether Discord runs alongside WhatsApp or replaces it entirely.
Add Discord uses GhostClaw's skills engine to integrate Discord messaging alongside or instead of WhatsApp.
AI-generated summary based on this skill's SKILL.md
Install
b1rdmania/ghostclaw/add-discord · repository language: TypeScript
git clone https://github.com/b1rdmania/ghostclaw
cp -r ghostclaw/.claude/skills/add-discord ~/.claude/skills/add-discordnpx skillfed install b1rdmania/ghostclaw/add-discordFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I add discord support to GhostClaw?
Add Discord extends GhostClaw with Discord channel support through automated code patching and interactive configuration. The skill applies a DiscordChannel implementation, installs discord.js, and guides you through bot creation, environment setup, and channel registration to enable Discord messaging in GhostClaw.
What does Add Discord do during the integration process?
Add Discord automates the integration by patching your GhostClaw codebase with a DiscordChannel implementation, installing the discord.js dependency, and walking you through interactive setup steps. You'll configure your Discord bot token, register channels, and choose whether Discord runs alongside WhatsApp or replaces it entirely.
Can I run Discord alongside WhatsApp in GhostClaw?
Yes. Add Discord lets you choose your channel configuration: run Discord alongside WhatsApp for multi-channel messaging, or enable Discord-only mode to replace WhatsApp entirely. The skill guides you through this decision during setup.
How do I register Discord channels and troubleshoot bot connectivity?
Add Discord helps you register Discord channels by collecting your channel IDs during interactive configuration. If your bot isn't connecting, the skill provides troubleshooting guidance for common issues like missing message content intent permissions, invalid bot tokens, or incorrect channel registration.
What setup steps are needed for Discord developer credentials?
Add Discord guides you through obtaining your Discord bot token from the developer portal, configuring OAuth2 permissions, and enabling the message content intent. The skill handles environment variable setup so your GhostClaw instance can authenticate with Discord securely.
Is Add Discord open source and what license does it use?
Yes, Add Discord is released under the MIT license, making it free to use, modify, and distribute. The MIT license allows you to integrate Discord support into GhostClaw with minimal restrictions.
SKILL.md
rendered from the published skill — quoted content, verbatim
Add Discord Channel
This skill adds Discord support to GhostClaw using the skills engine for deterministic code changes, then walks through interactive setup.
Phase 1: Pre-flight
Check if already applied
Read .ghostclaw/state.yaml. If discord is in applied_skills, skip to Phase 3 (Setup). The code changes are already in place.
Ask the user
Use AskUserQuestion to collect configuration:
AskUserQuestion: Should Discord replace WhatsApp or run alongside it? - Replace WhatsApp - Discord will be the only channel (sets DISCORD_ONLY=true) - Alongside - Both Discord and WhatsApp channels active
AskUserQuestion: Do you have a Discord bot token, or do you need to create one?
If they have one, collect it now. If not, we'll create one in Phase 3.
Phase 2: Apply Code Changes
Run the skills engine to apply this skill's code package. The package files are in this directory alongside this SKILL.md.
Initialize skills system (if needed)
If .ghostclaw/ directory doesn't exist yet:
npx tsx scripts/apply-skill.ts --init
Or call initSkillsSystem() from skills-engine/migrate.ts.
Apply the skill
```bash npx tsx
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 10 files
.claude/skills/add-discord/SKILL.md
.claude/skills/add-discord/add/src/channels/discord.test.ts
.claude/skills/add-discord/add/src/channels/discord.ts
.claude/skills/add-discord/manifest.yaml
.claude/skills/add-discord/modify/src/config.ts
.claude/skills/add-discord/modify/src/config.ts.intent.md
.claude/skills/add-discord/modify/src/index.ts
.claude/skills/add-discord/modify/src/index.ts.intent.md
.claude/skills/add-discord/modify/src/routing.test.ts
.claude/skills/add-discord/tests/discord.test.ts