Loading...
Loading...
Multi-platform, multi-channel notification skill for AI code agents. Sends notifications (sound, macOS alert, Telegram, Email, Slack, Discord) when the agent needs user interaction or completes a task. Supports Claude Code, GitHub Copilot CLI, Cursor, Codex, and Aider.
npx skill4agent add crossoverjie/skills agent-notifier| Platform | Hook Event |
|---|---|
| Claude Code | |
| GitHub Copilot CLI | |
| Cursor | |
| Codex | |
| Aider | |
# Interactive setup — detects platforms, configures channels, installs hooks
python3 skills/agent-notifier/setup.py.github/hooks/mkdir -p .github/hooks
cat > .github/hooks/agent-notifier.json << 'EOF'
{
"version": 1,
"hooks": {
"sessionEnd": [
{"type": "command", "bash": "python3 $HOME/.claude/skills/agent-notifier/notify.py"}
],
"postToolUse": [
{"type": "command", "bash": "python3 $HOME/.claude/skills/agent-notifier/notify.py"}
]
}
}
EOF# Test with simulated Claude Code event
echo '{"notification_type":"idle_prompt","message":"Waiting for input"}' | python3 skills/agent-notifier/notify.py
# Test with command-line args (Aider style)
python3 skills/agent-notifier/notify.py "Task completed"| Channel | Default | Requirements |
|---|---|---|
| Sound | Enabled | macOS ( |
| macOS Notification | Enabled | macOS only |
| Telegram | Disabled | Bot token + Chat ID |
| Disabled | SMTP credentials | |
| Slack | Disabled | Incoming Webhook URL |
| Discord | Disabled | Webhook URL |
~/.claude/notify-config.jsonskills/agent-notifier/notify-config.jsonpython3 skills/agent-notifier/setup.py