discord
Skill by OpenHands
Guides an AI assistant through building and automating Discord integrations. It covers incoming webhooks, bot token REST API calls, and slash commands. It is for developers working on Discord bots and webhooks.
Install discord
Built from the published package, never by AI.
git clone --depth 1 https://github.com/OpenHands/extensions /tmp/extensions && mkdir -p ~/.claude/skills && cp -r /tmp/extensions/skills/discord ~/.claude/skills/discordRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/OpenHands/extensions /tmp/extensions && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/extensions/skills/discord ~/.gemini/antigravity-cli/skills/discordAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The discord skill gives an AI assistant guidance and ready-to-run examples for Discord integrations. It describes three approaches: incoming webhooks for one-way posting, a bot token with the Discord REST API for richer automation, and interactions with slash commands. The skill also includes bundled Python scripts that post to a webhook or send a message to a channel.
The skill stresses safety. It says to keep tokens and webhook URLs in environment variables and to set allowed_mentions to block accidental pings. It also says to handle HTTP 429 rate limits by waiting for the provided delay. It is aimed at developers who build Discord bots, webhooks, or slash commands. It says self-bots built on normal user accounts should not be used.
Written from the project's SKILL.md and checked against it.
What it can do
- Incoming webhook postingPosts messages to a Discord channel through a webhook URL without a bot user.
- Bot channel messagesSends messages to a channel with a bot token using the Discord REST API.
- Slash command guidanceExplains guild and global application commands and when to use each.
- Mention safetySets allowed_mentions to block accidental pings of everyone or roles.
- Rate limit handlingWaits for the Retry-After delay on HTTP 429 responses before retrying.
- Bundled scriptsProvides Python scripts for posting to a webhook or sending a channel message.
What you need
- A Discord incoming webhook URL or a bot token
- Python 3 for the bundled scripts
- DISCORD_WEBHOOK_URL or DISCORD_BOT_TOKEN set as environment variables
Try asking
- Send a build finished message to my Discord webhook
- Post a message to a Discord channel using my bot token
- Explain how to register slash commands for my Discord bot
Good to know
- Self-bots on normal user accounts are not allowed
- Interactions and slash commands typically need a running web server
- Global commands can take longer to propagate than guild commands
- PowerShell users need to translate the shown shell commands
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/discord/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to discord
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
discord: common questions
Should I use a webhook or a bot token for Discord?
Use an incoming webhook for one-way posting such as CI notifications. Use a bot token with the REST API when you need to post as a bot, manage channels, read history, or moderate.
How does this skill prevent accidental pings?
It sets allowed_mentions to an empty parse list in its examples, which avoids pinging @everyone or roles.
Can I automate a regular Discord user account with this?
No. The skill says not to automate normal user accounts and to use official bot or OAuth flows instead.
How do I install discord?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is discord free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is discord safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to discord?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
