clawmobile-policy
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "clawmobile-policy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6089e28764cd8c6e166abfecb29f31835148eb582aa0e87db67e83b1226a1b84. Verify the upstream source and version against https://github.com/ClawMobile/ClawMobile before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A reference policy for complex ClawMobile Termux runtime recovery, generation of skill execution, and capability boundaries. Routine UI lookups should follow AGENTS/TOOLS and do not require consulting this skill.
Introduction source: third_party · ClawMobile · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
Frontmatter
name: clawmobile-policy
description: 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 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:
- Tool result and exit status.
- Cheap state checks such as package/activity/orientation.
android_ui_querywhen the target term is known; it can fresh-dump and cache UI XML by itself. Useandroid_ui_dumpfirst only for discovery or multiple related queries, then reuse the returneddump_id.adb_ui_dump_xmlorandroid_ui_dump rawXml=trueonly when the compact keyword/query result is insufficient and a raw hierarchy snippet is genuinely useful.- OCR on an existing screenshot path or bounded region when text is visually present but not available in the UI hierarchy.
- A fresh
android_screenshotonly when visual state matters, earlier checks are inconclusive, or failure recovery needs evidence. - 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:
- Record or preserve the fast-path failure evidence.
- Inspect the structured failure and cheap UI state. If the failure is a
repairable verifier/text-query issue, call
clawmobile_skill_reflect_fast_path_failurewith an agent-written diagnosis and one bounded repair. - Retry
clawmobile_skill_run_fast_pathat most once with the same parameters. - If the repaired fast path still fails, use normal stepwise execution/regrounding and record feedback.
- 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.
Version history
-
android-latest
GitHub ↗
Original release notes
# ClawMobile Android — Latest **Current Android app: 0.3.2 (`versionCode 16`).** [Download the latest APK](https://github.com/ClawMobile/ClawMobile/releases/download/android-latest/ClawMobile-v0.3.2.apk) · [Full version history](https://github.com/ClawMobile/ClawMobile/blob/main/CHANGELOG.md) This is the fixed Android download channel. Its assets contain only the current APK and update manifest; future Android updates will replace them here. The `android-latest` tag identifies this distribution channel, not a new ClawMobile core/runtime version. Older published Releases remain available as archives. ## What's new in Android 0.3.2 - Preserve existing plain text and whitespace during explicit insertions and unique-fragment edits, with bounded local readback. - Improve safe clickable-parent selection, long-press input handling, and evidence for newly opened creation forms. - Read deeply nested controls within bounded local UI indexing limits; model-facing output limits remain unchanged. - Recheck enabled capabilities before tool execution and propagate task cancellation correctly. Existing model preferences, GPT-5.6-Sol defaults, generated Skills, and the optional Termux/OpenClaw Shell Runtime are unchanged. No new Android permissions are required. This patch does not introduce a new Workflow engine or claim a new benchmark score. ## Install or update Install over an existing release-signed app to preserve settings, history, skills, and saved beta access. Do not uninstall first. Debug-signed builds use a different signature; obtain migration guidance before uninstalling, which clears local data. - APK: `ClawMobile-v0.3.2.apk` - Version: **0.3.2** (`versionCode 16`) - SHA-256: `ed08426b5b0b045905ad4fc198b63a2d8f1e8a82659844160d237198043d5330` `ClawMobile-update.json` supplies the version and APK URL for the app's existing update check. This channel is marked **Latest** so the existing updater continues to work without an app change. ## History and limitations See the [changelog](https://github.com/ClawMobile/ClawMobile/blob/main/CHANGELOG.md) for version history and [v0.5.2](https://github.com/ClawMobile/ClawMobile/releases/tag/v0.5.2) for the retained Android 0.3.1/0.3.2 downloads. Historical tags and download URLs have not been moved or removed. Text-preserving edits require the app to expose a complete editable plain-text value to Accessibility; rich-text styling and hidden content are not covered. Large UI trees retain explicit safety limits. Task outcomes depend on the selected model, permissions, target app, and starting state. Generated Skills remain preview functionality.
-
v0.5.2
GitHub ↗
Original release notes
# ClawMobile Android 0.3.2 This existing Release now distributes Android **0.3.2** (`versionCode 16`). The public repository tag `v0.5.2` is unchanged: Android APK updates and ClawMobile core/runtime source versions are independent. ## What's Improved - Preserve existing plain text and whitespace during explicit insertions and unique-fragment edits, with bounded local readback. - Improve safe clickable-parent selection, long-press input handling, and evidence for newly opened creation forms. - Read deeply nested controls within bounded local UI indexing limits; model-facing output limits remain unchanged. - Recheck enabled capabilities before tool execution and propagate task cancellation correctly. Existing model preferences, GPT-5.6-Sol defaults, generated Skills, and the optional Termux/OpenClaw Shell Runtime are unchanged. No new Android permissions are required. This patch does not introduce a new Workflow engine or claim a new benchmark score. ## Download and Upgrade [Download Android 0.3.2](https://github.com/ClawMobile/ClawMobile/releases/download/v0.5.2/ClawMobile-v0.3.2.apk) - APK: `ClawMobile-v0.3.2.apk` - Version: **0.3.2** (`versionCode 16`) - SHA-256: `ed08426b5b0b045905ad4fc198b63a2d8f1e8a82659844160d237198043d5330` Install over an existing release-signed app to preserve settings, history, skills, and saved beta access. Do not uninstall first. Debug-signed builds use a different signature; obtain migration guidance before uninstalling, which clears local data. `ClawMobile-update.json` is updated for the app's existing update check. The [previous Android 0.3.1 APK](https://github.com/ClawMobile/ClawMobile/releases/download/v0.5.2/ClawMobile-v0.3.1.apk) and its [original release notes and checksum](https://github.com/ClawMobile/ClawMobile/blob/v0.5.2/docs/releases/android-v0.3.1.md) remain available unchanged. ## Known Limitations Text-preserving edits require the app to expose a complete editable plain-text value to Accessibility; rich-text styling and hidden content are not covered. Large UI trees retain explicit safety limits. Task outcomes depend on the selected model, permissions, target app, and starting state. Generated Skills remain preview functionality.
-
v0.5.1
GitHub ↗
Original release notes
# ClawMobile v0.5.1 — Android 0.2.4 Beta Testing ClawMobile v0.5.1 publishes the Android 0.2.4 (`versionCode 11`) test build and adds a documented invitation-based ClawMobile Beta onboarding path. ## Highlights - Hardens Android UI-skill recording and replay. - Adds structured multi-step UI execution, transport, failure, recovery, and action-verification evidence. - Lets stable Note and Maps workflows use fast paths while conservatively falling back for ambiguous dynamic-list controls. - Adds public Android beta testing, invitation, quota, expiry, optional Accessibility/ADB, and safe issue-reporting guidance. - Keeps Termux/OpenClaw available as the optional Shell Runtime. - Does not include the deferred Feedback settings feature. ## Android Download [Download ClawMobile for Android](https://github.com/ClawMobile/ClawMobile/releases/download/v0.5.1/ClawMobile-v0.2.4.apk) SHA-256: `29c2d59a6d0e10ee95768bc1fb0cc09c8585ade8ef5c03f55ef96b5de4d409cf` ## Beta Access ClawMobile Beta requires an individually issued, single-use invitation code. Apply through the [ClawMobile waitlist](https://clawmobile.ae/#waitlist), then follow the [Android beta testing guide](https://github.com/ClawMobile/ClawMobile/blob/v0.5.1/docs/android-beta-testing.md). Invitation codes are distributed privately. Do not request or share a code in a public GitHub issue. ## Setup Notes - The app-local runtime is the recommended default and does not require Termux. - Accessibility is recommended for visible UI context, screenshots, OCR, phone actions, and demo recording. - Built-in ADB is an optional enhancement for supported low-level actions. - Termux/OpenClaw remains available for advanced Shell Runtime workflows. - A debug-signed APK may need to be uninstalled before installing this release-signed build; uninstalling clears local app data. ## Known Limitations - Generated Skills work best on the device, app version, layout, and starting state used for recording. - Dynamic lists and repeated labels may fall back to normal model-guided UI execution. Some YouTube `Action menu` workflows intentionally do so. - ADB may need to be re-enabled after a phone reboot. - Invitation access can expire or reach its monthly request limit.
-
v0.5.0
GitHub ↗
Original release notes
ClawMobile v0.5.0 updates the public release around the app-first mobile agent experience. ## Highlights - Introduces the Android app-local runtime with built-in device, file, web, and app-control capabilities. - Improves task planning, action verification, skill routing, replay, and demo-to-skill workflows, including multi-app demos. - Adds ClawMobile Gateway access through invite-code activation, monthly usage and quota visibility, and access renewal support. - Keeps API credentials isolated by model provider and encrypted on device. - Adds Android update checks, accessibility disclosure, privacy documentation, and refreshed release assets. - Mentions iOS App Store availability while clarifying that Android remains the platform for full phone-control and demo-to-skill capabilities. - Keeps the Termux/OpenClaw Shell Runtime documented as the advanced setup path. ## Android Download [Download ClawMobile for Android](https://github.com/ClawMobile/ClawMobile/releases/download/v0.5.0/ClawMobile-v0.2.3.apk) SHA-256: `2841fb157a0c9d55a39cd6354ddb0b4fabed157bb5cfef2dd3c8b900e2368970`
-
v0.4.3
GitHub ↗
Original release notes
This patch release exposes the shared ClawMobile Runtime Protocol v1 and includes the latest Android companion APK. Highlights: - Adds the cross-platform Runtime Protocol v1 document. - Moves companion server routes under the `/v1` protocol surface. - Keeps remote bootstrap responses safe until pairing/auth is available. - Bundles ClawMobile Android v0.1.5 APK. APK: - File: `ClawMobile-v0.1.5.apk` - SHA-256: `07665b1e779516ba79c0f0f355648f5f4b7af4558599573d3bd50d28603bddf7`
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供复杂 ClawMobile Termux 运行时恢复的专业策略指导
- 明确界定适用范围,避免误用于常规 UI 操作
Highlights
- 触发条件描述精准,涵盖多种故障恢复场景
- 边界清晰,有效区分本技能与 AGENTS/TOOLS 的职责分工
Highlights
- Phase 划分清晰,逻辑严谨
- frontmatter 完整,文档结构专业且易读
Highlights
- 工具调用顺序合理,覆盖主要异常场景
- 提供失败修复循环机制,增强执行鲁棒性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.