VM0VM0
Agent Skills

Slack Webhook

Send messages to Slack via Incoming Webhooks

Slack Incoming Webhooks send messages to Slack channels without OAuth or bot setup.

Required Environment

NameTypeDescription
SLACK_WEBHOOK_URLsecretWebhook URL from Slack App > Incoming Webhooks

Configuration

vm0.yaml
version: "1.0"

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

Run

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

vm0 secret set SLACK_WEBHOOK_URL your-slack-webhook-url

Then run your agent - secret is automatically loaded:

vm0 run my-agent "send status update to Slack"

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

Example Instructions

AGENTS.md
# Slack Notifier Agent

You send notifications to Slack.

## Workflow

1. Receive notification content
2. Format message with blocks
3. Send to webhook URL
4. Confirm delivery

## Message Formats

- Plain text, blocks, attachments
AGENTS.md
# CI/CD Alert Agent

You send build alerts to Slack.

## Workflow

1. Receive build status
2. Create formatted message
3. Include commit details
4. Send to channel

## Block Elements

- Section, context, divider