send-slack-notification

A command that sends formatted messages to a Slack channel using Slack's API. Slack is a team messaging service, and Block Kit is its layout system for structured messages.

In plain words
What is it for?
Use it to send text, code blocks, headers, status updates, and custom layouts to a channel, with a Slack bot token.
Why use it?
It avoids manually composing and sending status updates or other formatted notifications in Slack.

Command

Part of the bvdr plugin — 13 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/bvdr/claude-plugins/send-slack-notification
Clone the repo
git clone --depth 1 https://github.com/bvdr/claude-plugins

Or install bvdr, the plugin that ships this one along with the rest of its 13 commands.

Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.01630
Opus 5 $0.00014 $0.00815
Sonnet 5 $0.00006 $0.00326
Haiku 4.5 $0.00003 $0.00163

Measured 3d ago against content hash 81bc3afd740f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

send-slack-notification scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Once the payload is ready, send it via curl:
plugins/bvdr/commands/send-slack-notification.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Send Slack Notification

This skill sends a rich message to a Slack channel using the Slack API with Block Kit formatting.

Pre-flight Check

  1. Run echo $SLACK_BOT_TOKEN in Bash
  2. If empty or not starting with xoxb-, tell the user:
    SLACK_BOT_TOKEN is not set. Run /setup-slack-notifications first to configure your Slack bot token.
    
    Then stop — do not proceed.

Gather Message Details

Check if the user provided a message and channel inline (e.g. /send-slack #general Here's the update). If they did, parse it and skip the questions.

If not, use AskUserQuestion to gather details:

{
  "questions": [
    {
      "question": "Which Slack channel should the message go to?",
      "header": "Channel",
      "options": [
        {"label": "#general", "description": "The default general channel"},
        {"label": "#engineering", "description": "Engineering team channel"},
        {"label": "#random", "description": "The random channel"}
      ],
      "multiSelect": false
    },
    {
      "question": "What type of message do you want to send?",
      "header": "Format",
      "options": [
        {"label": "Text message (Recommended)", "description": "Simple rich text with markdown formatting"},
        {"label": "Status update", "description": "Header + body with context footer — great for progress updates"},
        {"label": "Code snippet", "description": "Formatted code block with optional description"},
        {"label": "Custom blocks", "description": "I'll describe the layout and you build the Block Kit JSON"}
      ],
      "multiSelect": false
    }
  ]
}

The user may select "Other" for the channel to type a custom channel name. Strip the # prefix if they include it.

Then ask the user for the actual message content in a follow-up chat message (not via AskUserQuestion — just ask them to type it).


Message Templates

Based on the format choice, build the appropriate Block Kit payload.

Text Message

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 229 lines · 28 tokens per session scan A 81bc3afd740f

Subscribe to this mod's changes

send-slack-notification is a command published in the GitHub repository bvdr/claude-plugins (3 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 1,630 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.