Логотип 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 и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — ClawMobile. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Clawmobile Policy в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать 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?

С любым количеством. В TypingMind вы можете использовать Clawmobile Policy с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Clawmobile Policy?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — ClawMobile. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇