diagnose-gateway
ما الذي تفعله
توجّه هذه المهارة وكيل الذكاء الاصطناعي في إجراء فحص صحة للقراءة فقط على بوابة OpenClaw Gateway، ويشمل الإعدادات والأسرار والقنوات والمنافذ. وهي مناسبة لمن يرى أخطاء أو بوابة لا تبدأ العمل.
متى تستخدمها
- ✓عندما تفشل بوابة OpenClaw Gateway في البدء أو تستمر في التعطل.
- ✓عندما تتوقف قناة محادثة عن العمل وتريد معرفة السبب.
- ✓عندما ترى تعارضاً في المنفذ أو خطأ في الإعدادات داخل OpenClaw.
رابط المهارة
https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“بوابة OpenClaw Gateway لا تبدأ العمل. هل يمكنك فحص المشكلة دون تغيير إعداداتي؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشغّل المهارة مجموعة فحوصات للقراءة فقط، وتقرأ السجلات الأخيرة. ثم تذكر السبب المرجّح، مثل خطأ في الإعدادات أو انتهاء تسجيل دخول أو منفذ مستخدم، دون إجراء أي تغيير.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Diagnose the Gateway
This playbook is read-only: no config writes, no service restarts, no doctor --fix, no killing listeners. Never print secret values; report only redacted SecretRef owner state. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.
Gather
openclaw doctor --lint
openclaw gateway status --deep
openclaw config validate
openclaw channels status
openclaw models status
openclaw channels logs --channel <id>
doctor --lint is read-only and can exit 1 for findings: read the report and continue the remaining checks. Do not substitute ordinary doctor or doctor --non-interactive; they can copy legacy config and migrate state without --fix.
On managed installs, bounded recent logs: ./scripts/clawlog.sh (repo checkout) or the log path printed at gateway startup (/tmp/openclaw/openclaw-<date>.log by default).
Check these signatures without guessing:
- invalid config or schema errors (
config validatenames the exact key and line); - degraded SecretRef owners — report the owner, never ids or values;
- expired or rejected channel authentication (
channels statusper account); EADDRINUSE, a second gateway listener, or service/config port mismatch (lsof -nP -iTCP:<port> -sTCP:LISTEN);- gateway crash loops: read the last startup stack in the gateway log; a schema-valid config that still crashes startup is a bug — capture the stack and report it.
Correlate timestamps and identify the first owner-boundary failure.
Mutate
Nothing. Do not change config, migrate state, or alter services. Diagnostic commands may still produce incidental logs or cache bookkeeping.
Repair
Translate each finding into the next action, naming the responsible skill when one exists: configure-channel, add-model-provider, or cloud-image-bake. Recommend openclaw doctor --fix --non-interactive only as a separately approved step.
Prove
Repeat the smallest read-only check that exposes the condition and record its output, for example:
openclaw gateway status --deep
openclaw channels status --probe
If access, logs, or the gateway are unavailable, report that exact blocker rather than declaring a cause.
Report
Findings in causal order with evidence for each; current gateway/config/SecretRef/channel/port state; one recommended next skill or operator action. State explicitly that no config/service repairs or state migrations were performed.
Further reference: https://docs.openclaw.ai/gateway/troubleshooting
الأسئلة الشائعة
هل ستغيّر إعداداتي أثناء الفحص؟
لا. الإجراء للقراءة فقط، فلا يكتب الإعدادات ولا يعيد تشغيل الخدمات ولا يوقف البرامج الجارية.
هل ستعرض كلمات المرور أو الرموز الخاصة بي؟
لا. لا تطبع المهارة أي قيمة سرية، وتذكر فقط معلومات مُخفاة عن مصدر الأسرار.
ما المشكلات التي تستطيع اكتشافها؟
تبحث عن إعدادات غير صالحة، وتسجيلات دخول منتهية للقنوات، ومنفذ مستخدم، وبوابات عالقة في حلقة تعطل.
التفاصيل
الوصف الأصلي من المؤلف
Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.
repo: openclaw/openclaw
الشعبية
- نجوم GitHub
- 394k
- الترتيب
- #12
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
discord-user-post
394kتتيح لوكيلك نشر رسالة وافقت عليها في Discord باسمك عبر تطبيق Discord على سطح المكتب، بعد التأكد من القناة المحددة.
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
graincrawl
394kيتيح لوكيلك البحث في ملاحظات اجتماعات Granola المحفوظة ونصوصها، والتحقق من حداثتها، وعدّها خلال فترة محددة.
مهارات مشابهة
wizard
310kيرشدك خلال خطوات الإعداد التي لا يستطيع أحد غيرك القيام بها، مثل إضافة بيانات الاعتماد أو تغيير إعدادات لوحة التحكم، بسكربت موجّه.
git-guardrails-claude-code
310kيضبط خطاف أمان يمنع أوامر git الخطرة، مثل push وhard reset وحذف الفروع القسري، قبل أن تُنفَّذ.
setup-pre-commit
310kيضبط فحوصًا تلقائية تنسّق شيفرتك وتتحقق من أنواعها وتختبرها في كل مرة تودعها في git.