Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 70
  • 188 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/discord

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install discord in Claude Code

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

A

No 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 →

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.

discord Install

Add to stack

Loading.