Skip to content
Agentmart
Submit a tool

discord

Discord integration — send messages via webhooks and bots

Skill by jholhewres

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jholhewres-discord

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Discord integration — send messages via webhooks and bots

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/discord

What's inside

Skill name
discord
Description
Discord integration — send messages via webhooks and bots
License
MIT
Instructions
116 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Discord

Interact with Discord using webhooks or the Bot API.

## Setup

1. **Check existing credentials:**
   ```
   vault_get discord_webhook_url
   vault_get discord_bot_token
   ```
   Use webhook URL for simple notifications; use bot token for full Bot API (channels, messages, guilds).

2. **Webhook (easiest):**
   - Go to Server Settings > Integrations > Webhooks in your Discord server
   - Click "New Webhook", name it, select channel
   - Copy the Webhook URL
   - Save to vault:
     ```
     vault_save discord_webhook_url "https://discord.com/api/webhooks/ID/TOKEN"
     ```
   The URL is auto-injected as `$DISCORD_WEBHOOK_URL`.

3. **Bot API (more features):**
   - Go to https://discord.com/developers/applications
   - Create an application, add a bot, copy the Bot Token
   - Save to vault:
     ```
     vault_save discord_bot_token "your-bot-token"
     ```
   The token is auto-injected as `$DISCORD_BOT_TOKEN`.

## Send Messages (Webhook)

```bash
# Simple message
curl -s -X POST "$DISCORD_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{"content": "Hello from DevClaw!"}'

# With username and avatar override
curl -s -X POST "$DISCORD_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Custom message",
    "username": "DevClaw Bot",
    "avatar_url": "https://example.com/avatar.png"
  }'

# With embed (rich formatting)
curl -s -X POST "$DISCORD_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "embeds": [{
      "title": "Notification",
      "description": "Something happened!",
      "color": 3447003,
      "fields": [
        {"name": "Status", "value": "Success", "inline": true},
        {"name": "Time", "value": "Now", "inline": true}
      ]
    }]
  }'
```

## Bot API (More Features)

```bash
# Requires DISCORD_BOT_TOKEN (stored in vault)

# Send message to channel
curl -s -X POST "https://discord.com/api/v10/channels/CHANNEL_ID/messages" \
  -H "Authorization: Bot $DISCORD_BOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content": "Hello!"}'

# Get channel messages
curl -s "https://discord.com/api/v10/channels/CHANNEL_ID/messages?limit=10" \
  -H "Authorization: Bot $DISCORD_BOT_TOKEN" | jq '.[] | {author: .author.username, content}'

# List guilds (servers)
curl -s "https://discord.com/api/v10/users/@me/guilds" \
  -H "Authorization: Bot $DISCORD_BOT_TOKEN" | jq '.[] | {id, name}'
```

## Embed Examples

```bash
# Status embed with color coding
curl -s -X POST "$DISCORD_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "embeds": [{
      "title": "Deploy Status",
      "description": "Production deployment completed",
      "color": 3066993,
      "footer": {"text": "DevClaw Automation"}
    }]
  }'

# Colors: Red=15158332, Green=3066993, Blue=3447003, Yellow=16776960
```

## Tips

- Webhooks are easiest for simple notifications
- Bot API requires creating an app at https://discord.com/developers/applications
- Embed color is a decimal integer (not hex)
- Max message length: 2000 characters
- Rate limit: ~5 requests/second per channel

## Triggers

discord, send discord message, discord webhook, discord notification,
notify discord, discord bot

From jholhewres/devclaw-skills, MIT.

More from jholhewres/devclaw-skills

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Feb 17, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jholhewres

Cite this page

discord skill. Agent Mart. https://agentmart.dev/skills/jholhewres-discord (last updated 2026-10-24)