Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By TonyWu20MITIn 1 marketplace
Routes Claude Code hook events to a Discord channel — approval requests, notifications, and session stop signals — with interactive Approve/Deny buttons. Also provides slash commands to inspect active sessions and conversation history.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Routes Claude Code hook events to a Discord channel — approval requests, notifications, and session stop signals — with interactive Approve/Deny buttons. Also provides slash commands to inspect active sessions and conversation history.
/sync command to forward prompts from a forum thread to your running Claude Code session via tmux, and receive responses back in the thread./sync mirrors a Claude Code session's conversation to a Discord forum post. Type in the forum thread to send prompts back to the running session, with responses posted back as replies.AskUserQuestion support — Claude's multi-choice questions appear as Discord Select menus; an "Answer with text" button opens a Modal for free-text responses.ExitPlanMode support — plan approval requests show the full plan content in Discord with Approve, Reject, and Give Feedback buttons. "Give Feedback" opens a Modal so you can type revision instructions directly./history slash command supports an optional tail parameter to see only the latest updates from your session, rendered in a Discord thread.Session tony-mbp-my-project), keeping your server tidy even across multiple machines.Claude Code hook event
│
▼
notify_discord.py ← thin hook shim (spawned per-event, exits fast)
│ writes decision file
▼
~/.claude/discord-decisions/ ← shared decision directory
▲
│ reads/writes
discord_bot.py ← persistent bot process (long-lived, holds connection)
│
▼
Discord channel / thread
notify_discord.py — the hook entry point. Claude Code invokes it for every
registered event. For PermissionRequest events it polls
~/.claude/discord-decisions/<request_id>.json until the bot writes a decision; all
other events are fire-and-forget.
discord_bot.py — a long-lived discord.py bot. It listens for button
interactions from Discord, writes decision files to ~/.claude/discord-decisions/,
and exposes slash commands for session inspection.
| Event | Behaviour |
|---|---|
PermissionRequest | Posts Approve / Deny / permission-suggestion buttons; also handles AskUserQuestion (Select menus + text modal) and ExitPlanMode (plan content + Approve / Reject / Give Feedback) |
Stop | Posts the assistant's final message to the session thread |
SubagentStop | Same as Stop, labelled with the agent type |
| Command | Channel | Description |
|---|---|---|
/sessions | Inspect channel | List active/recent Claude Code sessions |
/history [session] | Inspect channel | Show conversation history for a session in a thread |
/summary [date] | Summary channel | Post daily project usage (tokens, models, duration) |
/sync [session] | Inspect channel | Sync a session to a forum thread for bidirectional control |
session can be a numeric index (default 0) or a sessionId prefix.
The hook scripts use uv run to auto-manage the Python environment.
curl -LsSf https://astral.sh/uv/install.sh | sh
Verify: uv --version
In Claude Code, run:
/plugins install TonyWu20/my-claude-marketplace#claude-code-discord-bot-hooks
This automatically installs the plugin and registers all hook events in your Claude Code configuration.
bot and permissions
Send Messages, Create Public Threads, Read Message History.Add these to your shell profile (e.g. ~/.config/fish/config.fish, ~/.zshenv):
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
claude-code-discord-bot-hooks@my-claude-marketplace is listed by tonywu20/my-claude-marketplace — review the source before installing
npx claudepluginhub tonywu20/my-claude-marketplace --plugin claude-code-discord-bot-hooksPlugins from other owners that cover similar ground