VM0VM0
Agent Skills

Discord Webhook

Send messages to Discord channels via webhooks

Discord Webhooks allow sending messages to Discord channels without setting up a bot.

Required Environment

NameTypeDescription
DISCORD_WEBHOOK_URLsecretWebhook URL from Discord (Server Settings > Integrations)

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    framework: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/discord-webhook

Run

Store your secret on the platform (recommended, one-time setup):

vm0 secret set DISCORD_WEBHOOK_URL your-discord-webhook-url

Then run your agent - secret is automatically loaded:

vm0 run my-agent "send deployment notification to Discord"

For CI/CD or temporary overrides, pass secrets at runtime: --secrets DISCORD_WEBHOOK_URL=value. See Environment Variables for details.

Example Instructions

AGENTS.md
# Notification Agent

You use Discord webhooks to send notifications.

## Workflow

1. Receive notification content
2. Format message with embeds
3. Send to Discord channel
4. Confirm delivery

## Message Types

- Simple text messages
- Rich embeds with colors and fields
- File attachments
AGENTS.md
# CI/CD Alert Agent

You send pipeline alerts to Discord.

## Workflow

1. Receive pipeline status
2. Create embed with status color
3. Include commit info and links
4. Send to Discord channel

## Embed Colors

- Green (success): 5763719
- Red (failure): 15548997
- Yellow (warning): 16776960