From dev-skills
This skill should be used when the user asks to "set up discord", "configure discord bot", "install discord plugin dependencies", or wants to set up the prerequisites for the Claude Code Discord channel plugin including bun installation and shell alias configuration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-skills:discord-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up prerequisites for the Claude Code Discord channel plugin.
Set up prerequisites for the Claude Code Discord channel plugin.
Check if bun is installed:
command -v bun
If bun is not found, install it:
curl -fsSL https://bun.sh/install | bash
After installation, detect the user's shell and add bun to the appropriate rc file:
echo $SHELL
export BUN_INSTALL="$HOME/.bun" and export PATH="$BUN_INSTALL/bin:$PATH" to ~/.zshrc~/.bashrcSkip this step if bun is already on PATH.
Check if the alias already exists in the user's shell rc file (~/.zshrc or ~/.bashrc based on Step 1).
If not present, add this alias:
alias dangercc-discord='DISCORD_STATE_DIR="$(pwd)/.claude/channels/discord" claude --dangerously-skip-permissions --channels plugin:discord@claude-plugins-official'
This alias launches Claude Code with:
--dangerously-skip-permissions for unattended operation--channels plugin:discord@claude-plugins-official to connect the Discord botDISCORD_STATE_DIR set to the current project directory so each project gets isolated Discord stateConfirm both are configured:
command -v bun && echo "bun: OK" || echo "bun: NOT FOUND"
Check the appropriate rc file (from Step 1) for the alias:
grep -q "dangercc-discord" ~/.zshrc 2>/dev/null || grep -q "dangercc-discord" ~/.bashrc 2>/dev/null && echo "alias: OK" || echo "alias: NOT FOUND"
Inform the user to restart their shell or run source on their rc file for changes to take effect.
npx claudepluginhub aeghnnsw/cc-toolkit --plugin dev-skillsAdds Discord bot channel integration to ClaudeClaw with code changes, tests, and interactive bot setup.
Adds Discord bot channel integration to NanoClaw via git merge from dedicated repo, interactive bot setup, env configuration, build, and service restart. Use to enable Discord support in NanoClaw.
Writes Discord bot token to config and guides you through channel setup, access policy, and allowlist lockdown.