configure-channel
ما الذي تفعله
تعطي هذه المهارة وكيل الذكاء الاصطناعي أوامر خطوة بخطوة لربط قناة محادثة بـ OpenClaw والتحقق من عملها. وهي مناسبة لمن يريد أن يتواصل OpenClaw عبر تطبيق مراسلة.
متى تستخدمها
- ✓عندما تريد ربط OpenClaw بتطبيق محادثة مثل Telegram.
- ✓عندما تحتاج إلى معرفة الحالة الحالية لقنوات المحادثة في OpenClaw.
- ✓عندما تريد تغيير من يستطيع مراسلة بوت OpenClaw دون فتح الوصول عن طريق الخطأ.
رابط المهارة
https://github.com/openclaw/openclaw/blob/main/custodian-skills/configure-channel/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في ربط بوت OpenClaw الخاص بي بـ Telegram، وتحقق من أنه يردّ عليّ.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تتحقق المهارة من القنوات المُعدّة مسبقاً، ثم تضيف رمز البوت كمرجع آمن وليس كنص عادي. وتنتهي بتأكيد أن القناة تعمل برسالة حقيقية.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Configure a channel
Never print or persist secret values; channel tokens enter config only as SecretRefs, or through the in-session connect_channel flow where the operator types the secret into a masked prompt. Never hand-edit config files on disk. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.
Gather
openclaw channels list --all
openclaw channels status
openclaw config get channels --json # "Config path not found" is normal before first setup
Confirm the exact config path before writing — key names differ per channel (channels.telegram.botToken, channels.discord.token, ...):
openclaw config schema --json | jq '.properties.channels.properties.telegram'
Mutate
Confirm the intended account and access changes with the operator before writing. Preserve existing approved allowlist entries, dmPolicy, and groupPolicy unless their replacement or change is explicitly approved; never broaden access to make a check pass.
Preferred shell path — token staged as an env var on the gateway process or in a 0600 file, wired as a SecretRef (Telegram example):
openclaw config set channels.telegram.botToken --ref-provider default --ref-source env --ref-id TELEGRAM_BOT_TOKEN
With the bot connected and DM policy pairing, ask the operator to DM it. Read Your Telegram user id in the pairing reply, or run openclaw logs --follow and read senderUserId in that sender's telegram pairing request entry. Stop following once captured; keep unrelated logs private. If the current policy prevents this flow, use an already verified ID or report the discovery blocker; do not broaden access.
Use the numeric Telegram user ID, not a phone number, username, chat/group ID, or bot ID. In this single-user example, 123456789 is a placeholder: replace it with the verified, approved user ID and retain any other approved entries.
openclaw config set channels.telegram.allowFrom '["123456789"]' --strict-json
Multi-field changes in one validated write:
openclaw config patch --stdin <<'JSON'
{ channels: { telegram: { enabled: true, groupPolicy: "allowlist" } } }
JSON
In-session alternative: call the connect_channel tool action with the channel id — the operator enters the token in a masked prompt, never in chat. Avoid openclaw channels add --token <value>: it puts the secret in argv and process listings.
Repair
openclaw doctor --lint
openclaw channels status --probe
doctor --lint can exit 1 for findings: read the report and continue the remaining checks. Ordinary doctor and doctor --non-interactive can write config/state; do not use them for diagnosis before approval. Apply openclaw doctor --fix --non-interactive only after explicit approval, then re-check status.
Prove
Send one real, clearly labeled test message and confirm delivery from the command result (use --dry-run first to inspect the payload):
openclaw message send --channel telegram --target <chatId> --message "OpenClaw channel test — please ignore" --dry-run
openclaw message send --channel telegram --target <chatId> --message "OpenClaw channel test — please ignore"
If sending fails, report the exact account, permission, destination, or network blocker without exposing credentials.
Report
State the channel and account changed, the exact config paths written (never values), the test destination, and the observed delivery result. List any remaining operator action.
Further reference: https://docs.openclaw.ai/channels/telegram (and the matching page for other channels)
الأسئلة الشائعة
هل سيُحفظ رمز البوت كنص عادي؟
لا. يُحفظ الرمز كمرجع إلى متغير بيئة أو ملف آمن، فلا يُكتب السر نفسه داخل الإعداد.
هل تستطيع تغيير من يُسمح له بمراسلة البوت؟
تحتفظ بإعدادات الوصول المعتمدة الموجودة ما لم توافق على تغيير، ولا توسّع الوصول فقط لتجتاز فحصاً.
أي تطبيقات محادثة تغطيها؟
تغطي عدة تطبيقات، منها Telegram وDiscord، ولكل منها إعداداته الخاصة.
التفاصيل
الوصف الأصلي من المؤلف
Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.
repo: openclaw/openclaw
الشعبية
- نجوم GitHub
- 394k
- الترتيب
- #11
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
discord-user-post
394kتتيح لوكيلك نشر رسالة وافقت عليها في Discord باسمك عبر تطبيق Discord على سطح المكتب، بعد التأكد من القناة المحددة.
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
graincrawl
394kيتيح لوكيلك البحث في ملاحظات اجتماعات Granola المحفوظة ونصوصها، والتحقق من حداثتها، وعدّها خلال فترة محددة.
مهارات مشابهة
to-questionnaire
310kيحوّل سؤالًا لا تستطيع الإجابة عنه وحدك إلى استبيان مكتوب يملؤه شخص آخر، عبر البريد أو في اجتماع.
email-ops
280kيساعد وكيلك على إدارة البريد الإلكتروني وترتيب صندوق الوارد والتحقق من الإرسال. يضمن وصول الرسائل المهمة وتتبعها.
messages-ops
280kيساعد وكيلك على قراءة الرسائل ورموز التحقق. مفيد للاطلاع على المحادثات قبل الرد، أو لإثبات الرسالة التي تمت رؤيتها.