一键导入
configure-notifications
Configure OMX notifications - unified entry point for all platforms
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure OMX notifications - unified entry point for all platforms
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Personalized writing assistant with style transfer, error memory, grammar checking, and long-term writing preferences. Use when users ask for writing polishing, style mimicry, iterative correction, bilingual grammar checks, or persistent writing preferences by domain.
Academic paper AI content detection and rewriting assistant. Analyzes text for AI-generated characteristics, provides detailed rewrite suggestions. Supports .docx files, outputs reports and rewritten documents. Bilingual: Chinese & English.
解释代码、回答技术问题或概念问答时使用。直接给出答案,不启动开发流程。
评估系统架构、平台设计或高层结构时使用。输出风险检查清单。
Autonomously improve a generated paper via GPT-5.4 xhigh review → implement fixes → recompile, for 2 rounds. Use when user says "改论文", "improve paper", "论文润色循环", "auto improve", or wants to iteratively polish a generated paper.
Autonomous multi-round research review loop. Repeatedly reviews via Codex MCP, implements fixes, and re-reviews until positive assessment or max rounds reached. Use when user says "auto review loop", "review until it passes", or wants autonomous iterative improvement.
| name | configure-notifications |
| description | Configure OMX notifications - unified entry point for all platforms |
| triggers | ["configure notifications","setup notifications","notification settings","configure discord","configure telegram","configure slack","configure openclaw","setup discord","setup telegram","setup slack","setup openclaw","discord notifications","telegram notifications","slack notifications","openclaw notifications","discord webhook","telegram bot","slack webhook"] |
Unified entry point for setting up notifications across all supported platforms. OMX can notify you on Discord, Telegram, Slack, or your own OpenClaw gateway.
This skill detects what's already configured, presents a menu, and delegates to the appropriate platform skill. It also handles cross-cutting settings like verbosity, notification profiles, reply listener, and idle cooldown.
CONFIG_FILE="$HOME/.codex/.omx-config.json"
if [ -f "$CONFIG_FILE" ]; then
DISCORD_ENABLED=$(jq -r '.notifications.discord.enabled // false' "$CONFIG_FILE" 2>/dev/null)
DISCORD_BOT_ENABLED=$(jq -r '.notifications["discord-bot"].enabled // false' "$CONFIG_FILE" 2>/dev/null)
TELEGRAM_ENABLED=$(jq -r '.notifications.telegram.enabled // false' "$CONFIG_FILE" 2>/dev/null)
SLACK_ENABLED=$(jq -r '.notifications.slack.enabled // false' "$CONFIG_FILE" 2>/dev/null)
OPENCLAW_ENABLED=$(jq -r '.notifications.openclaw.enabled // false' "$CONFIG_FILE" 2>/dev/null)
NOTIF_ENABLED=$(jq -r '.notifications.enabled // false' "$CONFIG_FILE" 2>/dev/null)
VERBOSITY=$(jq -r '.notifications.verbosity // "session"' "$CONFIG_FILE" 2>/dev/null)
COOLDOWN=$(jq -r '.notifications.idleCooldownSeconds // 60' "$CONFIG_FILE" 2>/dev/null)
REPLY_ENABLED=$(jq -r '.notifications.reply.enabled // false' "$CONFIG_FILE" 2>/dev/null)
echo "NOTIF_ENABLED=$NOTIF_ENABLED"
echo "DISCORD_ENABLED=$DISCORD_ENABLED"
echo "DISCORD_BOT_ENABLED=$DISCORD_BOT_ENABLED"
echo "TELEGRAM_ENABLED=$TELEGRAM_ENABLED"
echo "SLACK_ENABLED=$SLACK_ENABLED"
echo "OPENCLAW_ENABLED=$OPENCLAW_ENABLED"
echo "VERBOSITY=$VERBOSITY"
echo "COOLDOWN=$COOLDOWN"
echo "REPLY_ENABLED=$REPLY_ENABLED"
else
echo "NO_CONFIG_FILE"
fi
Display a summary of what's configured:
OMX Notification Status
───────────────────────
Discord webhook: enabled / not configured
Discord bot: enabled / not configured
Telegram: enabled / not configured
Slack: enabled / not configured
OpenClaw: enabled / not configured
Verbosity: session (default)
Idle cooldown: 60s
Reply listener: disabled
Then use AskUserQuestion:
Question: "What would you like to configure?"
Options:
Based on the user's choice, invoke the appropriate platform skill:
/configure-discord/configure-telegram/configure-slack/configure-openclawWhen delegating, say: "Starting the [Platform] configuration wizard..." and invoke the skill.
If the user chose "Cross-cutting settings":
Use AskUserQuestion:
Question: "How verbose should notifications be?"
Options:
Write verbosity to config:
echo "$(cat "$CONFIG_FILE")" | jq \
--arg verbosity "$VERBOSITY" \
'.notifications.verbosity = $verbosity' > "$CONFIG_FILE"
Env var alternative: OMX_NOTIFY_VERBOSITY=session
Use AskUserQuestion:
Question: "How often should idle notifications fire at most? (in seconds)"
Options:
Write the cooldown to config:
echo "$(cat "$CONFIG_FILE")" | jq \
--argjson cooldown "$COOLDOWN_SECONDS" \
'.notifications.idleCooldownSeconds = $cooldown' > "$CONFIG_FILE"
Env var alternative: OMX_IDLE_COOLDOWN_SECONDS=60
Explain that profiles let the user have different notification configs per context:
Notification Profiles
─────────────────────
Profiles let you switch notification targets based on context.
For example: a "work" profile for your work Slack, a "personal"
profile for your personal Telegram.
Activate a profile with: OMX_NOTIFY_PROFILE=work
or set a default: .omx-config.json > notifications.defaultProfile
Use AskUserQuestion:
Question: "Would you like to configure notification profiles?"
Options:
If yes, guide the user to manually add profiles under notifications.profiles in .omx-config.json, and set defaultProfile.
Explain the reply listener:
Reply Listener
──────────────
The reply listener lets you send messages back to Codex from
Discord (bot) or Telegram. When OMX asks for input, you can
reply directly from your phone or messaging app.
Requires:
- Discord Bot or Telegram platform configured
- OMX_REPLY_ENABLED=true in your shell profile
- For Discord: OMX_REPLY_DISCORD_USER_IDS=<your user ID>
(only messages from these IDs are accepted for security)
Use AskUserQuestion:
Question: "Would you like to enable the reply listener?"
Options:
If yes, write to config:
echo "$(cat "$CONFIG_FILE")" | jq \
'.notifications.reply = (.notifications.reply // {}) |
.notifications.reply.enabled = true' > "$CONFIG_FILE"
And remind them to set OMX_REPLY_ENABLED=true and (for Discord) OMX_REPLY_DISCORD_USER_IDS.
If the user chose "Disable all notifications":
Use AskUserQuestion:
Question: "Are you sure you want to disable all notifications?"
Options:
If confirmed:
echo "$(cat "$CONFIG_FILE")" | jq \
'.notifications.enabled = false' > "$CONFIG_FILE"
Confirm: "Notifications disabled. Re-enable anytime by running /configure-notifications."
After completing any platform or setting configuration, offer to configure another:
Use AskUserQuestion:
Question: "Would you like to configure another platform or setting?"
Options:
Display a summary of all active notification platforms:
OMX Notification Configuration Complete!
─────────────────────────────────────────
Active platforms:
Discord webhook: enabled
Telegram: enabled
Verbosity: session
Idle cooldown: 60s
Reply listener: disabled
Config saved to: ~/.codex/.omx-config.json
Quick reference — env vars:
OMX_DISCORD_WEBHOOK_URL=...
OMX_TELEGRAM_BOT_TOKEN=...
OMX_TELEGRAM_CHAT_ID=...
OMX_SLACK_WEBHOOK_URL=...
OMX_NOTIFY_VERBOSITY=session
OMX_IDLE_COOLDOWN_SECONDS=60
OMX_OPENCLAW=1
Run /configure-notifications again to update any settings.