clawmobile-policy
БесплатноБез исполняемых скриптовНе проверенDeterministic-first mobile policy for tool selection, verification, and escalation.
от FDU-INS★ 84 звезды на GitHubОб этом скилле
ClawMobile Policy (Skill)
This skill defines the interaction-level policy for mobile autonomy: tool selection, verification, and escalation. It does not add new tools; it constrains how existing tools are used.
Ownership
- This skill owns planning policy, tool-selection policy, escalation, and verification rules.
- The base mobile plugin owns executable runtime primitives.
- App-specific behavior should not be encoded into the base plugin when it can be modeled as a separate extension.
Policy: Deterministic-First (Priority)
- Command-line (Termux / ADB) when it can COMPLETE and/or VERIFY the task.
- DroidRun agent mode (
android_agent_task) for multi-step UI workflows. - Manual ADB tools (
adb_*,android_*) only when agent mode fails or is unsafe.
Decision Procedure (Strict)
- Consult
skills/clawmobile-capabilities/SKILL.md. - If a COMPLETE entry exists:
- Execute the deterministic command/tool.
- Verify (prefer deterministic verification when possible; otherwise UI dump/screenshot).
- If a BOOTSTRAP entry exists:
- Run the bootstrap command once.
- Immediately switch to
android_agent_taskto finish and verify.
- If no entry exists:
- Use
android_agent_taskfor UI workflows. - Use manual ADB tools only if agent mode fails or is unsafe.
- Use
UI Workflow Efficiency
- Avoid redundant UI observation on the same step.
- Do not run XML/screenshot observation before every action by default.
- Use
adb_ui_dump_xmlorandroid_screenshotwhen you need diagnosis, disambiguation, or post-action verification.
- Use
- For a single deterministic UI action, prefer:
- choose the most direct tool,
- perform the action,
- verify once after the UI-changing step.
Extension Rule
- If a new behavior is device-generic and reusable across apps, it belongs in the base plugin.
- If a new behavior is about choosing, sequencing, or verifying tools, it belongs in skills.
- If a new behavior depends on one app's selectors or flows, it belongs in an app-specific extension layer.
Verification Requirements (Non-negotiable)
- Do NOT claim success unless a tool was called and the result is verified.
- For UI-changing steps, verify using:
adb_ui_dump_xmlorandroid_screenshot
- If a tool returns
ok:falseor fails: report failure; do not claim success.
Escalation & Recovery
- If deterministic path cannot verify state reliably, escalate to
android_agent_task. - If
android_agent_taskappears stuck:- run
android_screenshotoradb_ui_dump_xmlto collect evidence, - retry once,
- if still stuck, fall back to manual ADB tools only if safe.
- run
IME Safety
Before pausing for user confirmation, restore the user IME if it was changed by agent mode. Emergency recovery:
android_shell backend="adb" cmd="ime list -s"android_shell backend="adb" cmd="ime set <IME_ID>"
Completion Signal
After a successful task that leaves the chat view, call android_signal_complete (unless disabled by user).
Установить clawmobile-policy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл clawmobile-policy?
Deterministic-first mobile policy for tool selection, verification, and escalation.
Как установить скилл clawmobile-policy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clawmobile-policy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic