跳到主内容
智客 ZICQ

技能库 智客分类:其他 discord OpenClaw

Discord

需要通过不协调工具从 Clawdbot 控制 Discord 时使用: 发送消息, 反应, 张贴或上传标签, 上传 emojis , 运行民调, 管理线索/ pins/ 搜索, 获取权限或成员/ 作用/ 频道信息, 或在 Discord DM 或频道中处理温和动作 .

1338 安装量 · 80 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

需要通过不协调工具从 Clawdbot 控制 Discord 时使用: 发送消息, 反应, 张贴或上传标签, 上传 emojis , 运行民调, 管理线索/ pins/ 搜索, 获取权限或成员/ 作用/ 频道信息, 或在 Discord DM 或频道中处理温和动作 .

何时用

您需要通过不协调工具从 Clawdbot 控制 Discord : 发送信件、反应、张贴或上传标签、上传 emojis 、 运行民调、 管理线索/ pins/ 搜索、 获取权限或成员/ 作用/ 频道信息, 或在 Discord DM 或频道中处理温和动作

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Discord Actions、Overview、Inputs to collect、Actions、React to a message、List reactions + users。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.

Discord ActionsOverviewInputs to collectActionsReact to a messageList reactions + usersSend a stickerUpload a custom emojiUpload a stickerCreate a pollCheck bot permissions for a channelIdeas to try

来源分类:ClawHub Discord

SKILL.md 与 Agent 调用

官方规范 ↗
name
discord
description
Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「discord」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-1345074828b4900a-%E8%A7%A3%E6%9E%90%E5%99%A8.html
请存为 .cursor/skills/discord/SKILL.md 或 .claude/skills/discord/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版
--- name: discord description: Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels. --- # Discord Actions ## Overview Use `discord` to manage messages, reactions, threads, polls, and moderation. You can disable groups via `discord.actions.*` (defaults to enabled, except roles/moderation). The tool uses the bot token configured for Clawdbot. ## Inputs to collect - For reactions: `channelId`, `messageId`, and an `emoji`. - For stickers/polls/sendMessage: a `to` target (`channel:` or `user:`). Optional `content` text. - Polls also need a `question` plus 2–10 `answers`. - For media: `mediaUrl` with `file:///path` for local files or `https://...` for remote. - For emoji uploads: `guildId`, `name`, `mediaUrl`, optional `roleIds` (limit 256KB, PNG/JPG/GIF). - For sticker uploads: `guildId`, `name`, `description`, `tags`, `mediaUrl` (limit 512KB, PNG/APNG/Lottie JSON). Message context lines include `discord message id` and `channel` fields you can reuse directly. **Note:** `sendMessage` uses `to: "channel:"` format, not `channelId`. Other actions like `react`, `readMessages`, `editMessage` use `channelId` directly. ## Actions ### React to a message ```json { "action": "react", "channelId": "123", "messageId": "456", "emoji": "✅" } ``` ### List reactions + users ```json { "action": "reactions", "channelId": "123", "messageId": "456", "limit": 100 } ``` ### Send a sticker ```json { "action": "sticker", "to": "channel:123", "stickerIds": ["9876543210"], "content": "Nice work!" } ``` - Up to 3 sticker IDs per message. - `to` can be `user:` for DMs. ### Upload a custom emoji ```json { "action": "emojiUpload", "guildId": "999", "name": "party_blob", "mediaUrl": "file:///tmp/party.png", "roleIds": ["222"] } ``` - Emoji images must be PNG/JPG/GIF and <= 256KB. - `roleIds` is optional; omit to make the emoji available to everyone. ### Upload a sticker ```json { "action": "stickerUpload", "guildId": "999", "name": "clawdbot_wave", "description": "Clawdbot waving hello", "tags": "👋", "mediaUrl": "file:///tmp/wave.png" } ``` - Stickers require `name`, `description`, and `tags`. - Uploads must be PNG/APNG/Lottie JSON and <= 512KB. ### Create a poll ```json { "action": "poll", "to": "channel:123", "question": "Lunch?", "answers": ["Pizza", "Sushi", "Salad"], "allowMultiselect": false, "durationHours": 24, "content": "Vote now" } ``` - `durationHours` defaults to 24; max 32 days (768 hours). ### Check bot permissions for a channel ```json { "action": "permissions", "channelId": "123" } ``` ## Ideas to try - React with ✅/⚠️ to mark status updates. - Post a quick poll for release decisions or meeting times. - Send celebratory stickers after successful deploys. - Upload new emojis/stickers for release moments. - Run weekly “priority check” polls in team channels. - DM stickers as acknowledgements when a user’s request is completed. ## Action gating Use `discord.actions.*` to disable action groups: - `reactions` (react + reactions list + emojiList) - `stickers`, `polls`, `permissions`, `messages`, `threads`, `pins`, `search` - `emojiUploads`, `stickerUploads` - `memberInfo`, `roleInfo`, `channelInfo`, `voiceStatus`, `events` - `roles` (role add/remove, default `false`) - `moderation` (timeout/kick/ban, default `false`) ### Read recent messages ```json { "action": "readMessages", "channelId": "123", "limit": 20 } ``` ### Send/edit/delete a message ```json { "action": "sendMessage", "to": "channel:123", "content": "Hello from Clawdbot" } ``` **With media attachment:** ```json { "action": "sendMessage", "to": "channel:123", "content": "Check out this audio!", "mediaUrl": "file:///tmp/audio.mp3" } ``` - `to` uses format `channel:` or `user:` for DMs (not `channelId`!) - `mediaUrl` supports local files (`file:///path/to/file`) and remote URLs (`https://...`) - Optional `replyTo` with a message ID to reply to a specific message ```json { "action": "editMessage", "channelId": "123", "messageId": "456", "content": "Fixed typo" } ``` ```json { "action": "deleteMessage", "channelId": "123", "messageId": "456" } ``` ### Threads ```json { "action": "threadCreate", "channelId": "123", "name": "Bug triage", "messageId": "456" } ``` ```json { "action": "threadList", "guildId": "999" } ``` ```json { "action": "threadReply", "channelId": "777", "content": "Replying in thread" } ``` ### Pins ```json { "action": "pinMessage", "channelId": "123", "messageId": "456" } ``` ```json { "action": "listPins", "channelId": "123" } ``` ### Search messages ```json { "action": "searchMessages", "guildId": "999", "content": "release notes", "channelIds": ["123", "456"], "limit": 10 } ``` ### Member + role info ```json { "action": "memberInfo", "guildId": "999", "userId": "111" } ``` ```json { "action": "roleInfo", "guildId": "999" } ``` ### List available custom emojis ```json { "action": "emojiList", "guildId": "999" } ``` ### Role changes (disabled by default) ```json { "action": "roleAdd", "guildId": "999", "userId": "111", "roleId": "222" } ``` ### Channel info ```json { "action": "channelInfo", "channelId": "123" } ``` ```json { "action": "channelList", "guildId": "999" } ``` ### Voice status ```json { "action": "voiceStatus", "guildId": "999", "userId": "111" } ``` ### Scheduled events ```json { "action": "eventList", "guildId": "999" } ``` ### Moderation (disabled by default) ```json { "action": "timeout", "guildId": "999", "userId": "111", "durationMinutes": 10 } ``` ## Discord Writing Style Guide **Keep it conversational!** Discord is a chat platform, not documentation. ### Do - Short, punchy messages (1-3 sentences ideal) - Multiple quick replies > one wall of text - Use emoji for tone/emphasis 🦞 - Lowercase casual style is fine - Break up info into digestible chunks - Match the energy of the conversation ### Don't - No markdown tables (Discord renders them as ugly raw `| text |`) - No `## Headers` for casual chat (use **bold** or CAPS for emphasis) - Avoid multi-paragraph essays - Don't over-explain simple things - Skip the "I'd be happy to help!" fluff ### Formatting that works - **bold** for emphasis - `code` for technical terms - Lists for multiple items - > quotes for referencing - Wrap multiple links in `<>` to suppress embeds ### Example transformations ❌ Bad: ``` I'd be happy to help with that! Here's a comprehensive overview of the versioning strategies available: ## Semantic Versioning Semver uses MAJOR.MINOR.PATCH format where... ## Calendar Versioning CalVer uses date-based versions like... ``` ✅ Good: ``` versioning options: semver (1.2.3), calver (2026.01.04), or yolo (`latest` forever). what fits your release cadence? ```

相关技能

其他

Self Improving Agent

掌握学习、错误和校正,以便不断改进。 使用时间:(1) 命令或操作意外失败, (2) 用户更正 Claude ('No, that's wrong...', 'Actually...'), (3)用户请求具备不存在的能力,(4)外部API或工具失败,(5)克洛德意识到其知识已经过…

其他

Self Improving + Proactive Agent

自我反省+自我批评+自我学习+自我组织记忆. 特工评估自己的工作,发现错误,并永久改进. 当 (1) 命令,工具, API, 或操作失败时使用; (2) 用户纠正或拒绝您的工作; (3) 您意识到您的知识已经过时或不正确; (4) 您发现更好的方法; (5) 用户明确安装或引用当…

其他

Proactive Agent

将AI代理人从任务跟踪者转变为预先预测需要并不断改进的主动伙伴. 现在WAL协议,工作缓冲,自主克龙, 和战斗测试模式。 哈尔·斯塔克的一部分

其他

Multi Search Engine

多搜索引擎集成16个引擎(7个CN+9 Global). 支持高级搜索操作员,时间过滤器,站点搜索,隐私引擎,和WolframAlpha知识查询. 不需要 API 密钥 .