configure-notifications
できること
このスキルは、エージェントの通知をDiscord、Telegram、Slackなどのチャットアプリに接続します。更新を携帯電話やチャットのチャンネルに届けたい人向けです。
使う場面
- ✓エージェントの更新を、DiscordやTelegram、Slackのチャンネルに送りたいとき。
- ✓通知の頻度や報告の量を変えたいとき。
- ✓すべての通知を止めたいとき。
スキルのリンク
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/configure-notifications/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エージェントのタスク更新をTelegramのチャットに送ってください。セッションが終わったときだけ知らせてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
現在の設定を確認し、使うチャンネルを尋ねてから、ボットトークンやWebhookアドレスなど必要な値を集めます。そのチャンネルに必要な設定だけを書き込み、動作を確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
どんな情報が必要ですか?
選んだプラットフォームに応じて、ボットトークンやチャットIDなどの値、またはSlackの受信Webhookを求められます。
通知を止められますか?
はい。このスキルで、すべての通知を止められます。
カスタムコマンドへ送れますか?
はい。カスタムWebhookとカスタムコマンドの両方に対応しています。
詳細
作者による元の説明
Configure OMX notifications - unified entry point for all platforms
repo: Yeachan-Heo/oh-my-codex
人気
- GitHubのスター
- 34k
- ランキング
- #8416
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ai-slop-cleaner
34k肥大化、繰り返し、またはAIが生成した、不要なコードを整理するのを助けます。不要なコードや余分なラッパーを取り除き、動作は保ちます。
analyze
34kコードベースについての質問に、関連するコードを読んで答えます。変更はせず、根拠を伴う順位付きの説明を報告します。
ask
34kローカルにインストールされたClaudeまたはGeminiのコマンドラインツールに、エージェントが第二の意見やレビューを求め、回答をファイルとして保存できるようにします。
autopilot
34kアイデアから要件定義、計画、実行まで、プロジェクト全体を少ない監督で進め、本当の障害がある場合にだけ止まります。
似ているスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
configure-channel
394kTelegramなどのチャットアプリをOpenClawに接続し、ボットトークンを安全に保存して、メッセージが流れることを確認するようエージェントに教えます。
discord
394kOpenClawを通じてDiscordのメッセージを読み、送信し、編集し、リアクションするようエージェントを支援します。変更の前に正確なメッセージを確認します。