Agent Skills
› xuiltul/animaworks
› discord-tool
discord-tool
GitHubDiscord集成工具,支持通过Bash命令发送消息、搜索历史消息、列出服务器和频道以及添加表情反应。用于自动化Discord社区交互与管理。
触发场景
向Discord频道发送消息
在Discord中搜索特定关键词的消息
获取指定服务器的频道列表
安装
npx skills add xuiltul/animaworks --skill discord-tool -g -y
SKILL.md
Frontmatter
{
"name": "discord-tool",
"tags": [
"communication",
"discord",
"external"
],
"description": "Discord integration tool for messaging, search, guild and channel listing, and reactions. Use when: posting to Discord, listing channels, searching messages, or adding reactions in guilds."
}
Discord Tool
External tool for Discord messaging, search, listing guilds and channels, and reactions.
Invocation via Bash
Use Bash with animaworks-tool discord <subcommand> [args]:
animaworks-tool discord guilds
animaworks-tool discord channels GUILD_ID
animaworks-tool discord send CHANNEL_ID MESSAGE [--reply-to MESSAGE_ID]
animaworks-tool discord messages CHANNEL_ID [-n 20]
animaworks-tool discord search KEYWORD [-c CHANNEL_ID] [-n 50]
Actions
guilds — List servers (guilds)
animaworks-tool discord guilds
channels — List channels
animaworks-tool discord channels GUILD_ID
GUILD_ID: Snowflake ID of the target guild (server), required
send — Send message
animaworks-tool discord send CHANNEL_ID MESSAGE [--reply-to MESSAGE_ID]
CHANNEL_ID: Snowflake ID of the target text channel--reply-to: Optional. Message ID to reply to
messages — Fetch messages
animaworks-tool discord messages CHANNEL_ID [-n 20]
search — Search messages
animaworks-tool discord search KEYWORD [-c CHANNEL_ID] [-n 50]
react — Add reaction (MCP only; not available via CLI)
- Add an emoji reaction to a message. MCP only; the CLI does not support this action.
CLI usage (consolidated)
animaworks-tool discord guilds
animaworks-tool discord channels GUILD_ID
animaworks-tool discord send CHANNEL_ID MESSAGE [--reply-to MESSAGE_ID]
animaworks-tool discord messages CHANNEL_ID [-n 20]
animaworks-tool discord search KEYWORD [-c CHANNEL_ID] [-n 50]
Notes
- Discord Bot Token must be configured in credentials beforehand
- Copy channel IDs with Developer Mode: right-click the channel → Copy ID
- Messages are limited to 2000 characters
- Guild, channel, and message IDs are numeric strings (Snowflake IDs)
- The bot needs appropriate permissions: Send Messages, Read Message History, Add Reactions, View Channels
版本历史
- 140e43b 当前 2026-07-25 09:12


