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

discordDiscord 社区管理

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

267

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ninehills/skills --skill discord

简介

discord 用于处理 Discord 服务器、频道、消息、成员和机器人交互,适合辅助社区对话查询或通知发布。

  • 适用于频道内容整理、基础协作流程管理或成员互动支持等场景。
  • 使用时需要确认 bot 权限和频道可见范围,避免越权操作。
  • 涉及删除消息或批量通知时,应先获得明确授权并控制操作范围。
  • discord 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Discord Bot Skill

Alma can connect to Discord via a bot and participate in guild channels.

Setup

  1. Create a Discord bot at https://discord.com/developers/applications
  2. Enable MESSAGE CONTENT intent in Bot settings
  3. Generate a bot token
  4. Add the bot to your server with these permissions: Send Messages, Read Message History, Add Reactions, Attach Files
  5. Configure in Alma settings:
# Set Discord settings via API
curl -X PUT http://localhost:23001/api/settings \
  -H "Content-Type: application/json" \
  -d '{
    "discord": {
      "enabled": true,
      "botToken": "YOUR_BOT_TOKEN",
      "allowedGuildIds": [],
      "allowedChannelIds": []
    }
  }'

Sending Messages

# Send a text message to a Discord channel
curl -s http://localhost:23001/api/discord/send \
  -H "Content-Type: application/json" \
  -d '{"channelId": "CHANNEL_ID", "message": "Hello from Alma!"}'

# Send a photo
curl -s http://localhost:23001/api/discord/send-photo \
  -H "Content-Type: application/json" \
  -d '{"channelId": "CHANNEL_ID", "filePath": "/path/to/image.jpg", "caption": "Check this out!"}'

# Send a file
curl -s http://localhost:23001/api/discord/send-file \
  -H "Content-Type: application/json" \
  -d '{"channelId": "CHANNEL_ID", "filePath": "/path/to/doc.pdf", "caption": "Here you go"}'

Stickers

# List all stickers from all servers the bot is in
alma discord sticker-list

# List stickers from a specific server
alma discord sticker-list <guildId>

# Search stickers by name
alma discord sticker-find <query>

# Send a sticker to a channel
alma discord sticker <channelId> <stickerId>

Direct Messages (DM)

# Send a DM to a Discord user
alma discord dm <userId> "Hello, this is a private message!"
  • The user must share a server with the bot, or have DMs enabled
  • userId is the Discord numeric user ID (find in people profiles under discord_id)

Delete Messages

# Delete (retract) a message
alma discord delete <channelId> <messageId>
  • Bot can only delete its own messages, or messages in channels where it has Manage Messages permission

Bot Commands (in Discord)

Users can use these commands in Discord:

  • /help or !help — Show help
  • /new [title] — Start a new conversation
  • /stop — Stop current generation
  • /model — Show current model

Notes

  • The bot requires MESSAGE_CONTENT intent to read message content
  • Discord has a 2000 character limit per message — long responses are automatically split
  • File attachments (images, documents) sent by users are downloaded and passed to Alma
  • The bot responds to: direct mentions (@Alma), replies to bot messages, messages containing "alma", and DMs
  • Group chat history is tracked per channel for context-aware responses

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.3%
按下载量换算27

Claude

31.38%
按下载量换算23

Cursor

18.17%
按下载量换算13

Gemini CLI

9.54%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills