configure-notifications
Configure session notifications (Discord/Telegram/Slack webhooks or custom commands) by writing a WorkBuddy-native notifications config file
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure session notifications (Discord/Telegram/Slack webhooks or custom commands) by writing a WorkBuddy-native notifications config file
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a regression-tests-first, smell-by-smell deslop/refactor workflow that preserves behavior and raises signal quality. Use when the user asks to "cleanup", "refactor", "deslop", or when follow-up code has duplicates, dead code, weak boundaries, or fallback-like slop.
Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says "analyze", "investigate", "why does", "what's causing", or needs grounded cross-file explanation before any changes are proposed.
Deprecated compatibility shim for Claude advisor requests. Use `ask` with the claude backend instead.
Deprecated compatibility shim for Gemini advisor requests. Use `ask` with the gemini backend instead.
Ask a locally installed external advisor CLI (Claude or Gemini) for focused questions, reviews, brainstorming, or second opinions, and capture a reusable artifact. Use when the user wants a Claude/Gemini second opinion, "ask claude", or "ask gemini".
Strict autonomous delivery loop that runs deep-interview, ralplan, ultragoal, code-review, and ultraqa in order with automatic re-planning when gates are not clean. Use on "autopilot", "autonomous", "build me", "create me", "make me", "full auto", "handle it all", or "I want a/an…".
| name | configure-notifications |
| category | utility |
| status | active |
| description | Configure session notifications (Discord/Telegram/Slack webhooks or custom commands) by writing a WorkBuddy-native notifications config file |
| agent_created | true |
| triggers | ["configure notifications","setup notifications","notification settings","configure discord","configure telegram","configure slack","discord webhook","telegram bot","slack webhook"] |
Ported from oh-my-codex
configure-notifications. OMX runtime conventions ($macroinvocation,omxCLI,.omx/state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list,.workbuddy/memory).
Unified entry point for notification setup in WorkBuddy.
custom_webhook_command (POST to a URL) and custom_cli_command (run a local command).WorkBuddy has no built-in session-end hook system, so this skill writes a config file (
.workbuddy/notifications.jsonat the repo root, or~/.workbuddy/notifications.jsonfor global). You can wire that file into your own external automation, scheduler, or shell wrapper to actually send the notifications. The skill only manages the configuration.
CONFIG_FILE=".workbuddy/notifications.json"
if [ -f "$CONFIG_FILE" ]; then
cat "$CONFIG_FILE"
else
echo "NO_CONFIG_FILE"
fi
Use AskUserQuestion:
Question: "What would you like to configure?"
Options:
custom_webhook_command.custom_cli_command.notifications.enabled = false.Collect and validate platform-specific values, then write them under native keys:
notifications.discordnotifications.telegramnotifications.slackExample config shape:
{
"notifications": {
"enabled": true,
"verbosity": "session",
"idleCooldownSeconds": 60,
"discord": { "enabled": true, "webhookUrl": "https://discord.com/api/webhooks/..." },
"telegram": { "enabled": false, "botToken": "", "chatId": "" },
"slack": { "enabled": false, "webhookUrl": "" },
"custom_webhook_command": { "enabled": false, "url": "", "method": "POST", "events": ["session-end"] },
"custom_cli_command": { "enabled": false, "command": "", "events": ["session-end"] }
}
}
custom_webhook_commandUse AskUserQuestion to collect: URL, optional headers, optional method (POST default or PUT), optional event list (session-end, ask-user-question, session-start, session-idle, stop), optional instruction template.
custom_cli_commandUse AskUserQuestion to collect: command template (supports {{event}}, {{instruction}}, {{sessionId}}, {{projectPath}}), optional event list, optional instruction template.
Write the resulting config with the Write tool (or jq) to CONFIG_FILE.
minimal / session (recommended) / agent / verbose.notifications.idleCooldownSeconds.notifications.reply.enabled (if your external automation supports it).Set notifications.enabled = false in the config file.
After writing the config, tell the user how to validate it with their own sender, e.g.:
# POST a test payload to a configured webhook
curl -s -X POST "$WEBHOOK_URL" -H 'Content-Type: application/json' \
-d '{"text":"WorkBuddy notification test"}'
Or, if using custom_cli_command, run the configured command manually once to confirm it executes.
Show:
custom_webhook_command, custom_cli_command)..workbuddy/notifications.json or ~/.workbuddy/notifications.json).