← ClaudeAtlas

slack-notifylisted

Send Slack notifications via Incoming Webhook with mrkdwn formatting. Use this skill whenever: (1) you need to send a message or notification to Slack, (2) alerting users about task completion or results, (3) sharing summaries, reports, or status updates to a Slack channel, (4) another skill or workflow needs to notify someone via Slack. Even if the user doesn't say 'Slack' explicitly, use this skill when they mention sending notifications, alerting a channel, or posting updates.
chenwei791129/agent-skills · ★ 0 · AI & Automation · score 56
Install: claude install-skill chenwei791129/agent-skills
# Slack Notify Send messages to Slack channels via Incoming Webhook with mrkdwn formatting support. ## Prerequisites A Slack Incoming Webhook URL is required. Provide it via either: 1. **Environment variable** (recommended for repeated use): ```bash export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/T.../B.../xxx" ``` 2. **`--webhook-url` argument** (for one-off or per-channel sends): ```bash uv run scripts/send_slack.py --webhook-url "https://hooks.slack.com/services/..." --text "hello" ``` The `--webhook-url` argument takes priority over the environment variable when both are present. ## Usage Send a simple message: ```bash uv run scripts/send_slack.py --text "Deployment complete :rocket:" ``` Send with mrkdwn formatting: ```bash uv run scripts/send_slack.py --text "*Build succeeded*\nBranch: \`main\`\nCommit: <https://github.com/org/repo/commit/abc123|abc123>" ``` Send a multiline message via stdin (useful for longer content): ```bash cat <<'EOF' | uv run scripts/send_slack.py *Daily Report* :bar_chart: > Total requests: 12,345 > Error rate: 0.02% > P99 latency: 120ms _Generated at 2025-03-22 09:00 UTC_ EOF ``` Send to a specific webhook (overrides env var): ```bash uv run scripts/send_slack.py --webhook-url "https://hooks.slack.com/services/T.../B.../xxx" --text "Alert!" ``` ## Arguments | Argument | Description | |----------|-------------| | `--text`, `-t` | Message text in mrkdwn format | | `--webhook-url` | Incoming Webhook URL (