Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

discord-automationDiscord 自动化

Agent Skill

用于处理 Discord 服务器、频道、消息、成员和机器人交互。它适合让 Agent 辅助查询社区对话、整理频道内容、发布通知或管理基础协作流程。使用时需要确认 bot 权限、频道可见范围和服务器规则;涉及删除消息、管理成员、批量通知或读取私密频道时,应先获得明确授权并控制操作范围。

总安装

624

周安装

26

GitHub Stars

52

下载量

208
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:discord-automation(Discord 自动化)
来源仓库:https://github.com/aaaaqwq/claude-code-skills
仓库路径:skills/discord-automation
安装命令:
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill discord-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill discord-automation

简介

discord-automation 通过 Rube MCP 实现 Discord 服务器、频道和消息的自动化管理。

  • 可用于查询社区讨论、发布通知、整理频道内容或执行基础机器人操作。
  • 支持用户级和 Bot 级两种连接方式,分别处理不同权限范围的交互任务。
  • 使用前需完成 Discord OAuth 授权并确认连接状态为 ACTIVE,确保操作合法性。
  • 涉及敏感操作如删除消息或管理成员时,应严格遵循服务器规则并获得明确授权。

SKILL.md

Discord Automation via Rube MCP

Automate Discord operations through Composio's Discord/Discordbot toolkits via Rube MCP.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Discord connection via RUBE_MANAGE_CONNECTIONS with toolkits discord and discordbot
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit discordbot (bot operations) or discord (user operations)
  3. If connection is not ACTIVE, follow the returned auth link to complete Discord auth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Send Messages

When to use: User wants to send messages to channels or DMs

Tool sequence:

  1. DISCORD_LIST_MY_GUILDS - List guilds the bot belongs to [Prerequisite]
  2. DISCORDBOT_LIST_GUILD_CHANNELS - List channels in a guild [Prerequisite]
  3. DISCORDBOT_CREATE_MESSAGE - Send a message [Required]
  4. DISCORDBOT_UPDATE_MESSAGE - Edit a sent message [Optional]

Key parameters:

  • channel_id: Channel snowflake ID
  • content: Message text (max 2000 characters)
  • embeds: Array of embed objects for rich content
  • guild_id: Guild ID for channel listing

Pitfalls:

  • Bot must have SEND_MESSAGES permission in the channel
  • High-frequency sends can hit per-route rate limits; respect Retry-After headers
  • Only messages sent by the same bot can be edited

2. Send Direct Messages

When to use: User wants to DM a Discord user

Tool sequence:

  1. DISCORDBOT_CREATE_DM - Create or get DM channel [Required]
  2. DISCORDBOT_CREATE_MESSAGE - Send message to DM channel [Required]

Key parameters:

  • recipient_id: User snowflake ID for DM
  • channel_id: DM channel ID from CREATE_DM

Pitfalls:

  • Cannot DM users who have DMs disabled or have blocked the bot
  • CREATE_DM returns existing channel if one already exists

3. Manage Roles

When to use: User wants to create, assign, or remove roles

Tool sequence:

  1. DISCORDBOT_CREATE_GUILD_ROLE - Create a new role [Optional]
  2. DISCORDBOT_ADD_GUILD_MEMBER_ROLE - Assign role to member [Optional]
  3. DISCORDBOT_DELETE_GUILD_ROLE - Delete a role [Optional]
  4. DISCORDBOT_GET_GUILD_MEMBER - Get member details [Optional]
  5. DISCORDBOT_UPDATE_GUILD_MEMBER - Update member (roles, nick, etc.) [Optional]

Key parameters:

  • guild_id: Guild snowflake ID
  • user_id: User snowflake ID
  • role_id: Role snowflake ID
  • name: Role name
  • permissions: Bitwise permission value
  • color: RGB color integer

Pitfalls:

  • Role assignment requires MANAGE_ROLES permission
  • Target role must be lower in hierarchy than bot's highest role
  • DELETE permanently removes the role from all members

4. Manage Webhooks

When to use: User wants to create or use webhooks for external integrations

Tool sequence:

  1. DISCORDBOT_GET_GUILD_WEBHOOKS / DISCORDBOT_LIST_CHANNEL_WEBHOOKS - List webhooks [Optional]
  2. DISCORDBOT_CREATE_WEBHOOK - Create a new webhook [Optional]
  3. DISCORDBOT_EXECUTE_WEBHOOK - Send message via webhook [Optional]
  4. DISCORDBOT_UPDATE_WEBHOOK - Update webhook settings [Optional]

Key parameters:

  • webhook_id: Webhook ID
  • webhook_token: Webhook secret token
  • channel_id: Channel for webhook creation
  • name: Webhook name
  • content/embeds: Message content for execution

Pitfalls:

  • Webhook tokens are secrets; handle securely
  • Webhooks can post with custom username and avatar per message
  • MANAGE_WEBHOOKS permission required for creation

5. Manage Reactions

When to use: User wants to view or manage message reactions

Tool sequence:

  1. DISCORDBOT_LIST_MESSAGE_REACTIONS_BY_EMOJI - List users who reacted [Optional]
  2. DISCORDBOT_DELETE_ALL_MESSAGE_REACTIONS - Remove all reactions [Optional]
  3. DISCORDBOT_DELETE_ALL_MESSAGE_REACTIONS_BY_EMOJI - Remove specific emoji reactions [Optional]
  4. DISCORDBOT_DELETE_USER_MESSAGE_REACTION - Remove specific user's reaction [Optional]

Key parameters:

  • channel_id: Channel ID
  • message_id: Message snowflake ID
  • emoji_name: URL-encoded emoji or name:id for custom emojis
  • user_id: User ID for specific reaction removal

Pitfalls:

  • Unicode emojis must be URL-encoded (e.g., '%F0%9F%91%8D' for thumbs up)
  • Custom emojis use name:id format
  • DELETE_ALL requires MANAGE_MESSAGES permission

Common Patterns

Snowflake IDs

Discord uses snowflake IDs (64-bit integers as strings) for all entities:

  • Guilds, channels, users, roles, messages, webhooks

Permission Bitfields

Permissions are combined using bitwise OR:

  • SEND_MESSAGES = 0x800
  • MANAGE_ROLES = 0x10000000
  • MANAGE_MESSAGES = 0x2000
  • ADMINISTRATOR = 0x8

Pagination

  • Most list endpoints support limit, before, after parameters
  • Messages: max 100 per request
  • Reactions: max 100 per request, use after for pagination

Known Pitfalls

Bot vs User Tokens:

  • discordbot toolkit uses bot tokens; discord uses user OAuth
  • Bot operations are preferred for automation

Rate Limits:

  • Discord enforces per-route rate limits
  • Respect Retry-After headers on 429 responses

Quick Reference

TaskTool SlugKey Params
List guildsDISCORD_LIST_MY_GUILDS(none)
List channelsDISCORDBOT_LIST_GUILD_CHANNELSguild_id
Send messageDISCORDBOT_CREATE_MESSAGEchannel_id, content
Edit messageDISCORDBOT_UPDATE_MESSAGEchannel_id, message_id
Get messagesDISCORDBOT_LIST_MESSAGESchannel_id, limit
Create DMDISCORDBOT_CREATE_DMrecipient_id
Create roleDISCORDBOT_CREATE_GUILD_ROLEguild_id, name
Assign roleDISCORDBOT_ADD_GUILD_MEMBER_ROLEguild_id, user_id, role_id
Delete roleDISCORDBOT_DELETE_GUILD_ROLEguild_id, role_id
Get memberDISCORDBOT_GET_GUILD_MEMBERguild_id, user_id
Update memberDISCORDBOT_UPDATE_GUILD_MEMBERguild_id, user_id
Get guildDISCORDBOT_GET_GUILDguild_id
Create webhookDISCORDBOT_CREATE_WEBHOOKchannel_id, name
Execute webhookDISCORDBOT_EXECUTE_WEBHOOKwebhook_id, webhook_token
List webhooksDISCORDBOT_GET_GUILD_WEBHOOKSguild_id
Get reactionsDISCORDBOT_LIST_MESSAGE_REACTIONS_BY_EMOJIchannel_id, message_id, emoji_name
Clear reactionsDISCORDBOT_DELETE_ALL_MESSAGE_REACTIONSchannel_id, message_id
Test authDISCORDBOT_TEST_AUTH(none)
Get channelDISCORDBOT_GET_CHANNELchannel_id

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.12%
按下载量换算73

Claude

30.33%
按下载量换算63

Cursor

19.48%
按下载量换算41

Gemini CLI

9.66%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills