Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

discord — Claude Code skill: what it does, how to install

A skill that runs Discord messaging through OpenClaw's message tool: send, edit, delete, pin, react, plus interactive buttons. Useful when your agent needs Discord as a channel for replies and notifications.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openclaw/openclaw --skill discord -a claude-code
Open on GitHub

What discord does

The skill calls OpenClaw's message tool with channel set to "discord". Which actions are on depends on your account's channels.discord.actions.* gates. The tool schema lists what is enabled, so do not assume unavailable actions.

In practice the skill leans on stable guildId, channelId, messageId and userId values from context and passes accountId when more than one Discord account could apply. If the user's reference is ambiguous, it resolves the exact message before editing, deleting, pinning, moderating or reacting. Thread replies stay in their thread; a forum parent cannot receive components, so components go to the created forum thread. Destructive and moderation actions are confirmed unless you named the exact target and action.

The components field takes a structured object or a native component array, never a placeholder string. Components v2 cannot be combined with legacy embeds. Discord mention syntax and form hints are injected automatically, and the skill follows the current tool schema rather than a duplicated action catalog.

This is worth installing if you want your agent to answer in Discord and push notifications there, and you already have channels.discord configured. Without that Discord channel set up, the skill does nothing.

What it helps with

  • send a message to a Discord channel or thread from the agent
  • attach Approve / Decline buttons to an agent message
  • find and edit the exact message when the user's reference is vague
  • pin, delete or react to a specific message on request
  • post components to a forum thread instead of its parent channel

Example prompts for the agent

  • Send a message to Discord `channel:123` with Approve and Decline buttons.
  • Pin the last message in my Discord thread channel. Find which one first.
  • Answer my Discord forum request and send the reply into the created thread.

How to install discord

1Skills CLI (Vercel)

npx skills add openclaw/openclaw --skill discord -a claude-code

2Manually: put the files in place

~/.claude/skills/discord/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/discord/

From the same set45

The whole set →
summarize openclaw Runs a CLI tool to summarize or transcribe web articles, YouTube videos, podcasts, and local PDF documents directly within your AI assistant. Claude Code CX Codex Cursor +1 26,900installs weather openclaw This skill fetches current conditions and forecasts for a city, region, airport code, or coordinates. Use it to check rain and temperature or plan a trip. Claude Code CX Codex Cursor +1 9,300installs gog openclaw Guides an agent using the gog CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Use it when Google Workspace tasks need to run from a terminal. Claude Code CX Codex Cursor +1 8,500installs tmux openclaw Lets an agent work with live tmux sessions: read pane output, send keys and text, wait for a prompt line to show up. Claude Code CX Codex Cursor +1 8,400installs openai-whisper openclaw This skill lets your agent call the Whisper CLI to transcribe audio on your own machine. No API key needed. Claude Code CX Codex Cursor +1 7,100installs nano-pdf openclaw Edit PDF pages with plain text instructions through the nano-pdf CLI. Useful when you need to fix a typo or swap a heading without leaving your terminal. Claude Code CX Codex Cursor +1 7,100installs skill-creator openclaw A skill for writing, repairing and reviewing other skills. It splits behaviour into branches, sets the frontmatter and sorts resources into folders. Useful once your skill folder gets crowded. Claude Code CX Codex Cursor +1 6,700installs coding-agent openclaw This skill sends large coding tasks to Codex, Claude Code, or OpenCode as background workers. Use it for refactors, PR reviews, and issue-to-PR work. Claude Code CX Codex Cursor +1 6,500installs

Similar

bmad-agent-pm bmad-code-org Activates John, a product manager persona for PRD creation and requirements discovery. It breaks down product ideas into deliverable tickets. Claude Code CX Codex Cursor +1 11,800installs bmad-agent-architect bmad-code-org This skill turns ticket requirements into technical architecture with explicit trade-offs. Use it when you want to work with Winston as the architect. Claude Code CX Codex Cursor +1 11,800installs bmad-brainstorming bmad-code-org The skill runs a brainstorming session: the agent asks one question at a time, rotates creative techniques and logs ideas to a memlog. Useful when you want more options than you'd get alone. Claude Code CX Codex Cursor +1 11,800installs knap kepano The skill teaches the agent to call the Knap CLI and render Markdown templates from JSON or CSV, including batch note generation. Claude Code CX Codex Cursor +1 5,200installs bmad-agent-analyst bmad-code-org Turns your agent into Mary, a business analyst who handles market research, competitor breakdowns and requirements, and turns vague asks into specs. Claude Code CX Codex Cursor +1 11,700installs bmad-product-brief bmad-code-org Talks you through your product idea and helps shape a brief: what it is, who it's for, what's still unknown. Useful at idea stage or when an old brief needs a second look. Claude Code CX Codex Cursor +1 11,600installs find-skills vercel-labs Discovers and installs agent skills from skills.sh directly inside your coding assistant. Handy when you need domain-specific workflows for a project. Claude Code CX Codex Cursor +1 4,000,000installs grill-me Matt Pocock grill-me interviews you about a plan or design to expose gaps and sharpen decisions. Use it before implementation starts. Claude Code 1,424,476installs

Questions about discord

How do I install the discord skill in Claude Code?

Run npx skills add openclaw/openclaw --skill discord -a claude-code. The skill file lands in ~/.claude/skills/discord/SKILL.md.

What does the discord skill do?

It routes Discord messaging through OpenClaw's message tool: channels, threads and interactive components. Enabled actions come from your account's channels.discord.actions.*.

Which component formats work and can I mix them with embeds?

The components field accepts a structured object or a native component array. Components v2 cannot be combined with legacy embeds.

Source text

SKILL.md · MIT
---
name: discord
description: "Discord messaging workflows through OpenClaw's message tool."
metadata: { "openclaw": { "emoji": "🎮", "requires": { "config": ["channels.discord"] } } }
allowed-tools: ["message"]
---

# Discord

Use the `message` tool with `channel: "discord"`. The tool schema lists the actions enabled by the current account's `channels.discord.actions.*` gates; do not assume unavailable actions.

## Workflow

- Prefer stable `guildId`, `channelId`, `messageId`, and `userId` values from context. Pass `accountId` when more than one Discord account could apply.
- Resolve the exact message before editing, deleting, pinning, moderating, or reacting when the user's reference is ambiguous.
- Keep thread replies in their existing thread. A forum parent cannot receive components; send components to the created forum thread instead.
- Confirm destructive or moderation actions unless the user already specified the exact target and action.

## Interactive components

`components` must be a structured object or native component array, never a placeholder string. Do not combine components v2 with legacy `embeds`.

```json
{
  "action": "send",
  "channel": "discord",
  "to": "channel:123",
  "message": "Choose an option",
  "components": {
    "blocks": [
      {
        "type": "actions",
        "buttons": [
          { "label": "Approve", "style": "success", "callbackData": "approve" },
          { "label": "Decline", "style": "danger", "callbackData": "decline" }
        ]
      }
    ]
  }
}
```

Discord mention syntax, component availability, and form hints are injected automatically. Follow the current hints and tool schema rather than a duplicated action catalog.

© openclaw · MIT · openclaw/openclaw

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor