discord
Skill0 starsChanged 21 days agoMITView on GitHub
Use the Discord Bot API from an agent: read and post messages, list servers and channels, add reactions, and build an invite link. Use when the user wants Discord posting, monitoring, or a bot set up.
- Sends data out
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Every request sends Authorization: Bot <token>.
- Distinctive: line 64
If the token is reset in the Developer Portal, update the file.
- Distinctive: line 70
Bots only: Never automate a user account, and never ask a user for their personal Discord token.
- Distinctive: line 79
Follow each server's own rules (self-promotion channels, posting frequency) — a bot that spams gets removed, and the removal is usually …
“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 (Bot API)
Purpose
Give an agent a presence on Discord through an official bot application: see which servers the bot is in, list channels, read recent messages, post, and react. This is the only sanctioned route — automating a personal user account (a "self-bot") violates Discord's Terms of Service and gets the account banned.
Setup
- Go to the Discord Developer Portal and create an application, then add a Bot to it.
- Copy the bot token (shown once) and store it in a local file with mode
0600, e.g.
~/.discord-bot-token. Never commit it, log it, or paste it into chat. - Under Bot → Privileged Gateway Intents, enable the intents you need:
- Server Members — list/enumerate guild members
- Message Content — read message text via the Gateway (REST history reads work without it, but anything event-driven needs it)
- Presence — see member online status
- Invite the bot to a server with the OAuth2 URL (see Tooling). A server
admin must open it and pick the server — bots cannot accept normal
discord.gginvite links and cannot join servers on their own.
Tooling
Plain REST against https://discord.com/api/v10 with any HTTP client.
Every request sends Authorization: Bot <token>. A small wrapper script
with subcommands (info, guilds, channels, read, post, react,
invite) keeps the calls one line each; the raw endpoints are:
BASE=https://discord.com/api/v10
AUTH="Authorization: Bot $(cat ~/.discord-bot-token)"
curl -s -H "$AUTH" "$BASE/users/@me" # who am I (bot identity)
curl -s -H "$AUTH" "$BASE/users/@me/guilds" # servers the bot is in
curl -s -H "$AUTH" "$BASE/guilds/<guild_id>/channels" # channels in a server
curl -s -H "$AUTH" "$BASE/channels/<channel_id>/messages?limit=20" # recent messages
curl -s -X POST -H "$AUTH" -H "Content-Type: application/json" \
-d '{"content":"hello"}' "$BASE/channels/<channel_id>/messages" # post
curl -s -X PUT -H "$AUTH" \
"$BASE/channels/<channel_id>/messages/<message_id>/reactions/%F0%9F%91%8D/@me" # react (URL-encoded emoji)Invite URL (permissions are a bitfield; 3072 = View Channel + Send
Messages, a sensible read/post minimum):
https://discord.com/oauth2/authorize?client_id=<your_application_id>&permissions=3072&scope=botCreating channels, roles, or webhooks needs the matching permissions in that bitfield (e.g. Manage Channels). If a call returns 403, the bot's permissions in that server are the first suspect, not the token.
Auth
- Token lives in a local 0600 file and is read at runtime — never hardcoded, never written to logs or memory.
- If the token is reset in the Developer Portal, update the file; the old token dies immediately.
- A 401 means the token is wrong or revoked. A 403 means the bot lacks a permission (or isn't in that server/channel at all).
Operating Rules
- Bots only. Never automate a user account, and never ask a user for their personal Discord token.
- The bot can only act in servers it has been invited to. To reach a new server, an admin there must open the invite URL — there is no workaround.
- Respect rate limits: on HTTP 429, wait the
retry_afterseconds in the response body instead of retrying immediately. - Disclose the bot as a bot where it interacts with people (profile bio is a good place) — several jurisdictions require bot disclosure when a bot communicates to sell or influence.
- Follow each server's own rules (self-promotion channels, posting frequency) — a bot that spams gets removed, and the removal is usually permanent.
Also on Honeypot — a free, open index of skills for AI agents: https://honeypot-e6c.pages.dev Image: Indexed on Honeypot
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
- casibase/casibase★ 5.7ksame name
- the-open-agent/openagent★ 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.
Used alongsideProjects 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
In this repository20 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-checkoutSkill
- coinbaseSkill
- context7Skill
- cronSkill
- cursorSkill
- honeypotSkill
- image-optimizeSkill
- kalshiSkill
- oids-python-sdkSkill
- oidsSkill
- pdf-textSkill
- playwright-mcpSkill
- polymarketSkill
- robinhood-mcpSkill
- skill_creatorSkill
- sqliteSkill
- the_odds_apiSkill
- webhooksSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

