alanalvestech/hitank/discord
Claude Code and agent skill by alanalvestech/hitank
- community
Checking that the SKILL.md file is still in the repository.
Manage Discord servers, channels, messages and members via Bot API
Install
npx vskill@latest install alanalvestech/hitank/discordSKILL.md
/discord
Connect to Discord to manage servers, send messages, read channels, react, pin, create threads and more. Pure Ruby, zero gems — stdlib only.
Structure
Setup (check before using)
If 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/applications1. Click New Application, give it a name2. Go to Bot in the left menu3. Click Reset Token and copy the token4. Under Privileged Gateway Intents, enable Server Members Intent and Message Content Intent5. Go to OAuth2 > URL Generator, select scope bot, then select permissions: Read Messages/View Channels, Send Messages, Manage Messages, Read Message History, Add Reactions6. Copy the generated URL and open it to invite the bot to your serverPaste the bot token here.
Step 2 — When the user pastes the token, save it:
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
Present the servers. If there is only one, use it automatically. Otherwise ask which server to work with.
Step 2: List channels
Show text channels (type 0) by default. Ask which channel to work with.
Step 3: Actions
Read messages:
Send a message (requires user confirmation):
Show the message content first, then ask to confirm before sending.
Edit a message (requires user confirmation):
Delete a message (requires user confirmation):
Show the message first, then ask: "Do you want to delete this message?" Only execute after a "yes".
React to a message (requires user confirmation):
Pin a message (requires user confirmation):
Create a thread (requires user confirmation):
List members:
List roles:
Notes
- 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
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/discord/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alanalvestech/hitank/discord)