configure-notifications
What it does
This skill connects agent notifications to chat apps such as Discord, Telegram, and Slack. It is for users who want updates sent to their phone or a chat channel.
When to use it
- โWhen you want agent updates sent to a Discord, Telegram, or Slack channel.
- โWhen you want to change how often or how much notifications report.
- โWhen you want to turn off all notifications.
Skill link
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/configure-notifications/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentโs skills folder.
Example of what to ask your AI
โSend my agent's task updates to my Telegram chat, and only report when a session finishes.โ
5 new skills a week. 1 minute to read.
How it works
It checks your current settings, asks which channel to use, and collects the required values such as tokens or webhook addresses. It then writes only the settings needed for that channel and checks them.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Configure OMX Notifications
Use this card for Discord, Telegram, Slack, generic command aliases, or OpenClaw. Shared safety, lifecycle, hook, team, autonomy, and cancellation rules live in templates/AGENTS.md.
1. Inspect and choose a path
CONFIG_FILE="$HOME/.codex/.omx-config.json"
if [ -f "$CONFIG_FILE" ]; then
jq -r '{notifications_enabled:(.notifications.enabled // false), discord:(.notifications.discord.enabled // false), discord_bot:(.notifications["discord-bot"].enabled // false), telegram:(.notifications.telegram.enabled // false), slack:(.notifications.slack.enabled // false), openclaw:(.notifications.openclaw.enabled // false), custom_webhook_command:(.notifications.custom_webhook_command.enabled // false), custom_cli_command:(.notifications.custom_cli_command.enabled // false), verbosity:(.notifications.verbosity // "session"), idleCooldownSeconds:(.notifications.idleCooldownSeconds // 60), reply_enabled:(.notifications.reply.enabled // false)}' "$CONFIG_FILE"
else
echo "NO_CONFIG_FILE"
fi
Use AskUserQuestion to choose: Discord native (webhook or bot), Telegram native (bot token + chat id), Slack native (incoming webhook), custom_webhook_command, custom_cli_command, cross-cutting settings, or disable all notifications.
2. Native providers
Collect and validate provider values, then write only these native keys: notifications.discord, notifications["discord-bot"], notifications.telegram, or notifications.slack. Do not represent native providers with generic aliases.
3. Generic aliases
For custom_webhook_command, collect URL, optional headers, method (POST default or PUT), events (session-end, ask-user-question, session-start, session-idle, stop), and an instruction template:
jq --arg url "$URL" --arg method "${METHOD:-POST}" --arg instruction "${INSTRUCTION:-OMX event {{event}} for {{projectPath}}}" --argjson headers "${HEADERS_JSON:-{}}" '.notifications=(.notifications//{enabled:true})|.notifications.enabled=true|.notifications.custom_webhook_command={enabled:true,url:$url,headers:$headers,method:$method,instruction:$instruction,events:["session-end","ask-user-question"]}' "$CONFIG_FILE" >"$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"
For custom_cli_command, collect a command template ({{event}}, {{instruction}}, {{sessionId}}, {{projectPath}}), optional events, and an instruction template:
jq --arg command "$COMMAND_TEMPLATE" --arg instruction "${INSTRUCTION:-OMX event {{event}} for {{projectPath}}}" '.notifications=(.notifications//{enabled:true})|.notifications.enabled=true|.notifications.custom_cli_command={enabled:true,command:$command,instruction:$instruction,events:["session-end","ask-user-question"]}' "$CONFIG_FILE" >"$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"
OpenClaw dispatch requires OMX_OPENCLAW=1; command gateways additionally require OMX_OPENCLAW_COMMAND=1; timeout precedence is gateways.<name>.timeout > OMX_OPENCLAW_COMMAND_TIMEOUT_MS > 5000 ms.
4. OpenClaw + Clawdbot agent mode
Use this only when the requested route is a clawdbot agent turn delivered to Discord. The session-stop notification intentionally maps to the OpenClaw stop hook. OMX shell-escapes substitutions; keep instructions short, avoid untrusted shell metacharacters, append || true, and append JSONL logs with >>.
jq --arg command "(clawdbot agent --session-id omx-hooks --message {{instruction}} --thinking minimal --deliver --reply-channel discord --reply-to 'channel:CHANNEL_ID' --timeout 120 --json >>/tmp/omx-openclaw-agent.jsonl 2>&1 || true)" '.notifications=(.notifications//{enabled:true})|.notifications.enabled=true|.notifications.verbosity="verbose"|.notifications.openclaw={enabled:true,gateways:{local:{type:"command",command:$command,timeout:120000}},hooks:{"session-start":{enabled:true,gateway:"local",instruction:"OMX hook=session-start project={{projectName}} session={{sessionId}} tmux={{tmuxSession}}. ํ๊ตญ์ด๋ก ์ํ๋ฅผ #omc-dev์ ๊ณต์ ํ๊ณ SOUL.md๋ฅผ ์ฐธ๊ณ ํ์ธ์."},"session-idle":{enabled:true,gateway:"local",instruction:"OMX hook=session-idle session={{sessionId}} tmux={{tmuxSession}}. ํ๊ตญ์ด๋ก ํ๋ก์
์ #omc-dev์ ์๋ดํ์ธ์."},"ask-user-question":{enabled:true,gateway:"local",instruction:"OMX hook=ask-user-question session={{sessionId}} tmux={{tmuxSession}} question={{question}}. ํ๊ตญ์ด๋ก ์๋ต ํ์๋ฅผ #omc-dev์ ์๋ฆฌ์ธ์."},"stop":{enabled:true,gateway:"local",instruction:"OMX hook=session-stop session={{ses
FAQ
What information does it need?
It asks for values such as a bot token and chat ID, or a Slack incoming webhook, depending on the platform you choose.
Can I turn notifications off?
Yes. The skill can turn all notifications off.
Can it send to a custom command?
Yes. It supports custom webhook and custom command options.
Details
Original description by the author
Configure OMX notifications - unified entry point for all platforms
repo: Yeachan-Heo/oh-my-codex
Popularity
- GitHub stars
- 34k
- Ranking position
- #8416
- License
- MIT
- Updated
- 11/2/2026
Comments
- โฆ
More skills from this repository
ai-slop-cleaner
34kHelps your agent clean up bloated, repetitive, or AI-generated code by removing dead code and needless wrappers, while keeping behavior intact.
analyze
34kLets your agent answer a question about a codebase by reading the relevant code and reporting ranked explanations with evidence, without making changes.
ask
34kLets your agent ask a locally installed Claude or Gemini command line tool for a second opinion or review, and saves the answer as a file.
autopilot
34kRuns a full, hands-off project from an idea through requirements, planning, and execution, pausing only for real blockers.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.