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انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرسل تحديثات مهام وكيلي إلى محادثة Telegram الخاصة بي، ولا تبلغ إلا عند انتهاء الجلسة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص المهارة إعداداتك الحالية، وتسألك أي قناة تريد، وتجمع القيم المطلوبة مثل رموز البوت أو عناوين 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
الأسئلة الشائعة
ما المعلومات التي تحتاجها؟
تطلب قيمًا مثل رمز البوت ومعرّف الدردشة، أو رابط webhook لـSlack، حسب المنصة التي تختارها.
هل أستطيع إيقاف التنبيهات؟
نعم. تستطيع المهارة إيقاف كل التنبيهات.
هل تستطيع الإرسال إلى أمر مخصص؟
نعم. تدعم خيارات webhook مخصص وأمر مخصص.
التفاصيل
الوصف الأصلي من المؤلف
Configure OMX notifications - unified entry point for all platforms
repo: Yeachan-Heo/oh-my-codex
الشعبية
- نجوم GitHub
- 34k
- الترتيب
- #8416
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ai-slop-cleaner
34kيساعد وكيلك على تنظيف الشيفرة المنفوخة أو المتكررة أو المولّدة بالذكاء الاصطناعي، بحذف الشيفرة الميتة والأغلفة غير الضرورية مع الحفاظ على السلوك.
analyze
34kيتيح لوكيلك الإجابة عن سؤال عن قاعدة شيفرة بقراءة الشيفرة ذات الصلة، وعرض تفسيرات مرتبة حسب الأدلة، دون إجراء أي تعديل.
ask
34kيتيح لوكيلك إرسال سؤال إلى أداة سطر أوامر محلية لـClaude أو Gemini للحصول على رأي ثانٍ أو مراجعة، ويحفظ الجواب كملف.
autopilot
34kيدير مشروعًا كاملًا بتدخل قليل منك، من الفكرة إلى التنفيذ، مرورًا بالمتطلبات والتخطيط، ويتوقف فقط عند عوائق حقيقية.
مهارات مشابهة
discord-user-post
394kتتيح لوكيلك نشر رسالة وافقت عليها في Discord باسمك عبر تطبيق Discord على سطح المكتب، بعد التأكد من القناة المحددة.
configure-channel
394kتعلّم وكيلك كيف يربط تطبيق محادثة مثل Telegram بـ OpenClaw، ويخزّن رمز البوت بأمان، ويتحقق من أن الرسائل تصل.
discord
394kيساعد وكيلك على قراءة رسائل Discord وإرسالها وتعديلها والتفاعل معها عبر OpenClaw، مع التحقق من الرسالة بدقة قبل أي تغيير.