شعار Clawmobile Policy

Clawmobile Policy

مؤسسة
ClawMobile
clawmobile-policy

Reference policy for complex ClawMobile Termux runtime recovery, generated-skill execution, and capability boundaries. Routine UI lookup should follow AGENTS/TOOLS without reading this skill.

نظرة عامة

الناشرClawMobile
المستودعClawMobile
اسم المهارةclawmobile-policy
النجوم
147
التفريعات
28
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها ClawMobile على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Clawmobile Policy في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ClawMobile/ClawMobile/tree/main/installer/workspace-seed-lite/skills/clawmobile-policy
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawMobile/ClawMobile.git /tmp/ClawMobile
mkdir -p .claude/skills
cp -r /tmp/ClawMobile/installer/workspace-seed-lite/skills/clawmobile-policy .claude/skills/clawmobile-policy
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Clawmobile Policy في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Clawmobile Policy تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Clawmobile Policy بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

ClawMobile Termux Runtime Policy

Use this skill as a reference for complex ClawMobile Termux runtime decisions. Do not read it for routine mobile UI lookup, simple shell work, or generated-skill fast path execution when AGENTS.mobile.md and TOOLS.mobile.md already provide enough guidance.

Read This Skill When

  • A routine ClawMobile tool path failed and recovery needs a policy decision.
  • A task is high-risk or requires balancing screenshots, OCR, UI XML, and generated-skill replay.
  • A generated skill needs feedback, status interpretation, or failure analysis.
  • You need the Termux runtime capability boundaries.

Verification Policy

When the simple hot path is not enough, use this verification order:

  1. Tool result and exit status.
  2. Cheap state checks such as package/activity/orientation.
  3. android_ui_query when the target term is known; it can fresh-dump and cache UI XML by itself. Use android_ui_dump first only for discovery or multiple related queries, then reuse the returned dump_id.
  4. adb_ui_dump_xml or android_ui_dump rawXml=true only when the compact keyword/query result is insufficient and a raw hierarchy snippet is genuinely useful.
  5. OCR on an existing screenshot path or bounded region when text is visually present but not available in the UI hierarchy.
  6. A fresh android_screenshot only when visual state matters, earlier checks are inconclusive, or failure recovery needs evidence.
  7. LLM visual judgment only for semantic uncertainty, recovery, or high-risk actions.

For stable generated skills, prefer an entry checkpoint, the recorded-anchor procedure, and a final checkpoint. Do not take a fresh screenshot or UI dump after every low-risk tap/type when the skill's anchors are reliable and the current state remains plausible.

When using OCR after a screenshot has already been captured, pass that image path to the OCR tool. Avoid triggering another fresh screen capture unless the UI has changed or a fresh observation is required.

When a UI query returns many matches, prefer the adaptive compact results and select by label, bounds, region, or nodeId. If a query finds no match, inspect fallback_keywords and retry with a better text, contentDesc, resourceId, or className before falling back to screenshots or OCR.

Do not claim success unless the tool result supports it.

Generated-Skill Policy

Generated skills should be used as compact app/task knowledge first. Prefer their app model, applicability rules, anchors, verification hints, and prior execution evidence to avoid repeated UI probing. If a generated skill has an eligible fast path, treat it as an optional acceleration route, not the definition of the skill.

When the generated skill name is known, call clawmobile_skill_status before manual expansion when prior execution evidence may matter. If the user request provides the skill's required values and the app state matches a fast path, you may call clawmobile_skill_run_fast_path with a top-level parameters object, for example parameters: {"title_text":"...","body_text":"..."}. Do not reject the runner because of uncertainty about parameter passing; parameters is the primary argument and parameter_values is an alias.

clawmobile_skill_run_fast_path loads the generated skill's generalized_skill.json, executes the deterministic fast path, and can perform one final checkpoint plus low-friction feedback. Internally it uses clawmobile_batch_execute, which does not run arbitrary code and does not ask an LLM to recover inside the batch.

Generated skills should keep execution feedback through clawmobile_skill_record_feedback when it is low-friction. This is most useful when a run exposes a bad anchor, a partial completion, or a verified success that should strengthen future confidence. Feedback updates compact verified contexts and failure patterns in the generated skill's evolution block. Use clawmobile_skill_status when structured generated-skill experience is more useful than reading the full generated SKILL.md.

When a generated fast path fails, continue with normal grounded execution using the same skill context. Use a one-repair loop only when the structured failure suggests a small safe repair:

  1. Record or preserve the fast-path failure evidence.
  2. Inspect the structured failure and cheap UI state. If the failure is a repairable verifier/text-query issue, call clawmobile_skill_reflect_fast_path_failure with an agent-written diagnosis and one bounded repair.
  3. Retry clawmobile_skill_run_fast_path at most once with the same parameters.
  4. If the repaired fast path still fails, use normal stepwise execution/regrounding and record feedback.
  5. If normal execution fails too, clearly report the failed step and suggest a correction demonstration for the same task.

The reflection tool may soften entry text checks, add observed entry text evidence, or add tap-text candidates. It should not invent new coordinates or turn a different task into the same skill.

Artifact Retention

Keep raw recording screenshots and traces as evidence for later debugging and skill evolution. Runtime screenshots taken only for verification or recovery should be treated as temporary evidence: keep useful final/failure artifacts in feedback, but do not create extra fresh screenshots just to confirm every intermediate action.

Limits

Termux-only stage can run OpenClaw, local shell commands, files, network tools, and Termux:API integrations where Android permissions allow them. It cannot inspect or control other apps' UIs.

Termux-only stage can still help the user enable wireless ADB. When the user provides a pairing port/code or connect port from Android wireless debugging, run adb pair, adb connect, and adb devices through android_shell backend="termux", then recheck android_health. This is a local Termux command path, not ADB shell, so it is available before ADB is ready. After the first successful connection, try adb tcpip 5555 and adb connect 127.0.0.1:5555; ClawMobile prefers that stable loopback serial when it is available. If the 5555 switch fails, keep using the temporary connect port and retry after ADB is authorized.

ADB shell stage can open apps, press keys, type, swipe, tap, dump UI XML, take screenshots, and run bounded ADB shell commands. It is still not root, not a high-level UI agent, and should not pretend to infer multi-step app workflows without observing and verifying each step.

The generated-skill workflow is available in the Termux runtime through clawmobile-trace-induction. Recording a fresh trace still requires ADB/shell-level input-event and screenshot access. Parsing, summarizing, generalizing, and promoting an existing trace are local file operations.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Clawmobile Policy؟

Reference policy for complex ClawMobile Termux runtime recovery, generated-skill execution, and capability boundaries. Routine UI lookup should follow AGENTS/TOOLS without reading this skill.

لماذا تستخدم Clawmobile Policy على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Clawmobile Policy عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Clawmobile Policy في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ClawMobile/ClawMobile/tree/main/installer/workspace-seed-lite/skills/clawmobile-policy. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Clawmobile Policy؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Clawmobile Policy؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Clawmobile Policy معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Clawmobile Policy مجانية؟

نعم. نشرها ClawMobile على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇