Community编程与开发github.com

Discord

Discord 消息操作工具:发送/读取/编辑/删除、回应、投票、置顶、线程、搜索、状态与组件。

Discord 是什么?

该技能为 AI 代理提供了完整的 Discord 消息操作能力。它支持消息的发送、读取、编辑、删除、添加反应(表情回应)、创建投票、置顶消息、管理线程以及搜索历史消息。对于多账户场景,可以指定 `accountId`。发送对象支持频道和用户,提及用户时使用 `<@USER_ID>` 格式。此外,它还支持富 UI 组件(v2 版)和媒体附件(如文件路径)。状态设置(如“在线”“玩游戏”)通常需要额外权限。所有操作通过统一的 `message` 工具完成,无需单独的 Discord 工具,频道参数固定为 `channel: "discord"`。该技能适用于 Cursor、Claude Code 等支持消息工具的 AI 代理平台,遵循 `channels.discord.actions.*` 的权限 gates。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/discord

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Discord 是做什么的?

使用 message 工具,并设置 channel: "discord"。无需单独的 Discord 工具。

规则

  • 遵守 channels.discord.actions.* 的权限控制。
  • 优先使用明确的 guildId、channelId、messageId、userId。
  • 多账户:需要时传递 accountId。
  • 发送目标:to: "channel:<id>" 或 to: "user:<id>"。
  • 以 <@USER_ID> 格式提及用户。
  • 在出站 Discord 消息中避免使用 Markdown 表格。
  • 优先使用 v2 组件构建丰富 UI;不要将 v2 components 与旧版 embeds 混用。

常见操作

发送:

{ "action": "send", "channel": "discord", "to": "channel:123", "message": "你好", "silent": true }

发送媒体:

{
  "action": "send",
  "channel": "discord",
  "to": "channel:123",
  "message": "看附件",
  "media": "file:///tmp/example.png"
}

组件 v2:

{
  "action": "send",
  "channel": "discord",
  "to": "channel:123",
  "message": "状态",
  "components": "[Carbon v2 components]"
}

回应:

{ "action": "react", "channel": "discord", "channelId": "123", "messageId": "456", "emoji": "👍" }

读取:

{ "action": "read", "channel": "discord", "to": "channel:123", "limit": 20 }

编辑/删除:

{
  "action": "edit",
  "channel": "discord",
  "channelId": "123",
  "messageId": "456",
  "message": "修正了错字"
}
{ "action": "delete", "channel": "discord", "channelId": "123", "messageId": "456" }

投票:

{
  "action": "poll",
  "channel": "discord",
  "to": "channel:123",
  "pollQuestion": "午饭吃啥?",
  "pollOption": ["披萨", "寿司"],
  "pollDurationHours": 24
}

置顶:

{ "action": "pin", "channel": "discord", "channelId": "123", "messageId": "456" }

线程:

{
  "action": "thread-create",
  "channel": "discord",
  "channelId": "123",
  "messageId": "456",
  "threadName": "bug 分类"
}

搜索:

{
  "action": "search",
  "channel": "discord",
  "guildId": "999",
  "query": "发布说明",
  "channelIds": ["123"],
  "limit": 10
}

状态(通常需要额外权限):

{
  "action": "set-presence",
  "channel": "discord",
  "activityType": "playing",
  "activityName": "OpenClaw",
  "status": "online"
}

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能