Back to Skills

slack-notify

verified

Auto-send Slack notifications when TodoWrite tasks complete. Includes task summary, file changes, execution time, and repository context. Supports config file (no env vars needed) and manual `/devnogari:slack-notify` trigger.

View on GitHub

Marketplace

devnogari-claude-plugins

devnogari/devnogari-claude-plugins

Plugin

slack-notify

Repository

devnogari/devnogari-claude-plugins
2stars

plugins/slack-notify/skills/slack-notify/SKILL.md

Last Verified

January 23, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/devnogari/devnogari-claude-plugins/blob/main/plugins/slack-notify/skills/slack-notify/SKILL.md -a claude-code --skill slack-notify

Installation paths:

Claude
.claude/skills/slack-notify/
Powered by add-skill CLI

Instructions

# Slack Notify Skill

## Purpose
Automatically send Slack notifications when TodoWrite tasks are completed, providing real-time updates on work progress with repository context.

## Activation Triggers
- **Auto-trigger (Default: ON)**: Automatically activates when ALL TodoWrite tasks are marked as `completed`
  - Receives hook context via **stdin as JSON** (not environment variables)
  - Context includes `transcript_path` pointing to conversation history in JSONL format
  - Hook parses transcript to extract completed TodoWrite tasks
- **Manual invocation**: `/devnogari:slack-notify` command
- **Alternative triggers**: Git hooks, build scripts, time-based, error-based, etc. (see `docs/triggers.md`)
- **Configurable**: Can be disabled via `SLACK_NOTIFY_AUTO_TRIGGER=false` or config file

## Prerequisites

### Required
- **Slack Webhook URL**: Must be configured via **config file** (recommended) OR environment variable
- **Node.js**: Version 16.0.0 or higher
- **Plugin Installation**: Installed at `~/.claude/plugins/slack-notify/`

### Configuration

**IMPORTANT**: Webhook URL can be provided via config file OR environment variable. The script will check both locations automatically.

**๐Ÿ“ Config File Locations** (โœ… Recommended - checked in priority order):
1. `./.claude-slack-notify.json` - Project-level (highest priority)
2. `~/.config/claude-slack-notify/config.json` - Global (โœ… recommended)
3. `~/.claude-slack-notify.json` - Home directory
4. `~/.config/claude-code/slack-notify.json` - Legacy location

If a valid config file exists with `webhookUrl` set, the script will use it automatically. **No environment variable needed.**

**โš™๏ธ Environment Variables** (Optional override):
- `SLACK_WEBHOOK_URL` - Webhook URL (only required if no config file exists)
- `SLACK_NOTIFY_PROFILE` - Config profile to use (default: "default")
- `SLACK_NOTIFY_ENABLED` - Enable/disable (default: true)
- `SLACK_NOTIFY_AUTO_TRIGGER` - Auto-trigger on TodoWrite (default: true)
- `SLACK_NOTIF

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
15780 chars