clawmobile-policy

关于复杂 ClawMobile Termux 运行时恢复、生成技能执行和能力边界的参考策略。常规 UI 查找应遵循 AGENTS/TOOLS,无需读取此技能。

仓库最近推送
GitHub Stars
151
Forks
28
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "clawmobile-policy":https://skillpi.com/zh/skills/deepskill-6089e28764cd8c6e166abfecb29f31835148eb582aa0e87db67e83b1226a1b84。安装前核对上游来源和版本:https://github.com/ClawMobile/ClawMobile。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

关于复杂 ClawMobile Termux 运行时恢复、生成技能执行和能力边界的参考策略。常规 UI 查找应遵循 AGENTS/TOOLS,无需读取此技能。

0 下载

介绍来源: third_party · ClawMobile · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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:

  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.

版本历史

  1. android-latest GitHub ↗
    原版更新说明

    # 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.

  2. v0.5.2 GitHub ↗
    原版更新说明

    # 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.

  3. v0.5.1 GitHub ↗
    原版更新说明

    # 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.

  4. v0.5.0 GitHub ↗
    原版更新说明

    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`

  5. v0.4.3 GitHub ↗
    原版更新说明

    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`

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值60/100

亮点

  • 提供复杂 ClawMobile Termux 运行时恢复的专业策略指导
  • 明确界定适用范围,避免误用于常规 UI 操作
触发精准95/100

亮点

  • 触发条件描述精准,涵盖多种故障恢复场景
  • 边界清晰,有效区分本技能与 AGENTS/TOOLS 的职责分工
结构规范95/100

亮点

  • Phase 划分清晰,逻辑严谨
  • frontmatter 完整,文档结构专业且易读
执行可靠90/100

亮点

  • 工具调用顺序合理,覆盖主要异常场景
  • 提供失败修复循环机制,增强执行鲁棒性
证据可验 (前四项均值)85/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。