discord
Skill38 starsChanged 8 months agoMITView on GitHub
Manage Discord servers, channels, messages and members via Bot API
34 other projects use a version of this.
Adopted by
Most recently taken up by
- QVerisAI/QVerisBottheir own version, first seen Nov 1, 2026
- yuhua99/skillstheir own version, first seen Nov 1, 2026
- oidsdev/honeypottheir own version, first seen Oct 15, 2026
- HybridAIOne/hybridclawtheir own version, first seen Oct 13, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- garri333/Skillstheir own version, first seen Oct 11, 2026
Used with
Projects with it also use taskflow-inbox-triage, voice-call and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AtomicBot-aiSkilltaskflow-inbox-triage
Also in 6 projects that use this
seedprodSkillvoice-call
Start voice calls via the OpenClaw voice-call plugin.
Also in 17 projects that use this
seedprodSkillsession-logs
Search and analyze your own session logs (older/parent conversations) using jq.
Also in 17 projects that use this
hkyutongSkillopenclaw-release-maintainer
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
Also in 4 projects that use this
AtomicBot-aiSkilltaskflow
Also in 6 projects that use this
- +7 more from seedprod
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- spinabot/brigade★ 11ksame name
- civitai/civitai★ 7.3ksame name
- the-open-agent/openagent★ 5.7ksame name
- casibase/casibase★ 5.7ksame name
- linuxhsj/openclaw-zero-token★ 5.2ksame name
- jiulingyun/openclaw-cn★ 4.7ksame name
- Bitterbot-AI/bitterbot-desktop★ 2.5ksame name
- OpenBMB/EdgeClaw★ 1.2ksame name
- understudy-ai/understudy★ 461same name
- AtomicBot-ai/atomicbot★ 325same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- abacatepaySkill
- appsignalSkill
- clickupSkill
- cloudflareSkill
- cloudinarySkill
- datadogSkill
- digitaloceanSkill
- firebaseSkill
- flyioSkill
- google-sheetsSkill
- herokuSkill
- honeybadgerSkill
- hostingerSkill
- hubspotSkill
- intercomSkill
- jiraSkill
- linearSkill
- mercadopagoSkill
- n8nSkill
- notionSkill
- openaiSkill
- planetscaleSkill
- posthogSkill
- railwaySkill
- resendSkill
- rewriteSkill
- sentrySkill
- shopifySkill
- slackSkill
- stripeSkill
- supabaseSkill
- trelloSkill
- twilioSkill
- vercelSkill
- xSkill
- zendeskSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
If the output is OK, proceed to the Flow section.
- Very specific: line 40
If the output is SETUP_NEEDED, guide the user step by step.
- Distinctive: line 62
If the script outputs an error, the token is invalid.
- Distinctive: line 149
Avoid Markdown tables in outbound Discord messages
“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/discord
Connect to Discord to manage servers, send messages, read channels, react, pin, create threads and more. Pure Ruby, zero gems — stdlib only.
Structure
scripts/
├── auth.rb # Bot token auth + discord_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate a bot token
├── guilds.rb # List servers the bot is in
├── channels.rb # List channels in a server
├── messages.rb # Read messages from a channel
├── send_message.rb # Send a message to a channel
├── edit_message.rb # Edit a message
├── delete_message.rb # Delete a message
├── react.rb # Add a reaction to a message
├── pin.rb # Pin a message
├── members.rb # List members in a server
├── roles.rb # List roles in a server
└── thread_create.rb # Create a thread from a messageSetup (check before using)
ruby ~/.claude/skills/discord/scripts/check_setup.rbIf the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create a Discord bot and get the token:
You need a Discord Bot token. Go to the Discord Developer Portal: https://discord.com/developers/applications
- Click New Application, give it a name
- Go to Bot in the left menu
- Click Reset Token and copy the token
- Under Privileged Gateway Intents, enable Server Members Intent and Message Content Intent
- Go to OAuth2 > URL Generator, select scope bot, then select permissions: Read Messages/View Channels, Send Messages, Manage Messages, Read Message History, Add Reactions
- Copy the generated URL and open it to invite the bot to your server
Paste the bot token here.
Step 2 — When the user pastes the token, save it:
ruby ~/.claude/skills/discord/scripts/save_token.rb 'PASTED_TOKEN'If the script outputs an error, the token is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain a server name or channel reference.
Step 1: List servers
ruby ~/.claude/skills/discord/scripts/guilds.rbPresent the servers. If there is only one, use it automatically. Otherwise ask which server to work with.
Step 2: List channels
ruby ~/.claude/skills/discord/scripts/channels.rb GUILD_ID
ruby ~/.claude/skills/discord/scripts/channels.rb GUILD_ID --type 0Show text channels (type 0) by default. Ask which channel to work with.
Step 3: Actions
Read messages:
ruby ~/.claude/skills/discord/scripts/messages.rb CHANNEL_ID
ruby ~/.claude/skills/discord/scripts/messages.rb CHANNEL_ID --limit 50Send a message (requires user confirmation):
Show the message content first, then ask to confirm before sending.
ruby ~/.claude/skills/discord/scripts/send_message.rb CHANNEL_ID "Hello from HiTank!"Edit a message (requires user confirmation):
ruby ~/.claude/skills/discord/scripts/edit_message.rb CHANNEL_ID MESSAGE_ID "Updated content"Delete a message (requires user confirmation):
Show the message first, then ask: "Do you want to delete this message?" Only execute after a "yes".
ruby ~/.claude/skills/discord/scripts/delete_message.rb CHANNEL_ID MESSAGE_IDReact to a message (requires user confirmation):
ruby ~/.claude/skills/discord/scripts/react.rb CHANNEL_ID MESSAGE_ID "✅"Pin a message (requires user confirmation):
ruby ~/.claude/skills/discord/scripts/pin.rb CHANNEL_ID MESSAGE_IDCreate a thread (requires user confirmation):
ruby ~/.claude/skills/discord/scripts/thread_create.rb CHANNEL_ID MESSAGE_ID "Thread Name"List members:
ruby ~/.claude/skills/discord/scripts/members.rb GUILD_ID
ruby ~/.claude/skills/discord/scripts/members.rb GUILD_ID --limit 100List roles:
ruby ~/.claude/skills/discord/scripts/roles.rb GUILD_IDNotes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bot token (
Authorization: Bot TOKEN) - Token file:
~/.config/discord/token(outside the repo, never commit) - Sending, editing, deleting messages, reacting, pinning, and creating threads require explicit user confirmation
- Mention users as
<@USER_ID>in message content - Avoid Markdown tables in outbound Discord messages
- Rate limit: Discord uses per-route rate limits — check
X-RateLimit-*headers - Base URL:
https://discord.com/api/v10
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

