clawmobile-trace-induction

录制或总结一次 ClawMobile 演示,并保存为一份经过验证的、可复用的技能候选草稿。

仓库最近推送
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-trace-induction":https://skillpi.com/zh/skills/deepskill-f18533984af0481c0b9fc879efe195b3847cb7a6734c3994a76f8f771c9affad。安装前核对上游来源和版本:https://github.com/ClawMobile/ClawMobile。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

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

安装实测待补充

录制或总结一次 ClawMobile 演示,并保存为一份经过验证的、可复用的技能候选草稿。

0 下载

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

SkillPi 解读

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

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: clawmobile-trace-induction
description: Record or summarize a ClawMobile demonstration and save a validated reusable skill candidate draft.

ClawMobile Trace Induction

Use this skill when the user wants to record, demonstrate, summarize, induce, draft, or convert a ClawMobile mobile task into a reusable skill candidate.

This skill is not a skill executor. It records or reads a demonstration, then creates human-readable and machine-readable draft artifacts for later implementation. Do not replay the task or claim the candidate is production ready.

Choose The Entry Point

  • If the user provides a recording directory or trace.json, use Existing Trace Flow.
  • If the user provides an existing generated skill directory and a new recording/candidate for the same task, use Update Existing Skill Flow.
  • If the user wants to create a candidate from a new human demonstration and no recording path is provided, use Record Then Induce Flow.
  • If a recording is already active and the user says they are finished, continue from Stop Recording And Induce.

Do not ask the user to read coordinates, label every step, or explain raw touch events. The user should operate the phone naturally.

Record Then Induce Flow

Use this flow when the user asks to record or create a new candidate skill from a demonstration.

  1. Pick a concise task_hint from the user's request, such as wechat.send_message. If the user intentionally asks to record the next demonstration without naming the task, use a generic hint such as recorded_mobile_task and infer the task later from trace evidence. Ask only when you cannot tell whether the user wants to record a new demonstration, update an existing skill, or process an existing trace.
  2. Call clawmobile_record_start with task_hint.
  3. Tell the user to perform the demonstration naturally on the phone and reply when finished.
  4. Stop here and wait for the user. Do not call clawmobile_record_stop until the user indicates the demonstration is complete.

Stop Recording And Induce

Use this flow after the user says the demonstration is done.

  1. Call clawmobile_record_stop.
  2. Use the returned recording_dir or trace_path.
  3. Continue immediately with Existing Trace Flow. Do not ask for another confirmation before generating the candidate.

Existing Trace Flow

Use this flow when a recording directory or trace.json is already available.

  1. Call clawmobile_trace_prepare_summary.
    • Use recording_dir_or_trace_path, recording_dir, or trace_path.
    • If the user did not provide a path and no just-finished recording is available, ask for the recording directory or trace.json path.
  2. Read the returned:
    • trace_digest
    • trace_digest.derived_semantics
    • grounding_rules
    • candidate_schema
    • allowed_anchors
    • screenshot paths and state snippets
  3. Think through the demonstrated task using only the returned trace evidence.
  4. Produce a JSON candidate that matches candidate_schema.
  5. Call clawmobile_trace_save_skill_candidate with the candidate JSON.
  6. If validation reports rejected anchors or missing anchor references, revise the candidate once using the same trace_digest, then call clawmobile_trace_save_skill_candidate again.
  7. If validation then passes with no rejected anchors, call clawmobile_skill_candidate_promote with the saved skill_candidate_path and install: true.
  8. Report the saved skill_candidate_path, skill_summary_path, promoted primary SKILL.md path, fixed_SKILL.md path, generated skill name, generalized_skill.json, generalized_SKILL.md, and any remaining warnings.
  9. Also give the user a short skill review:
    • what the skill does
    • required parameters
    • reusable app knowledge learned from the demo
    • available execution routes
    • plain-language execution steps
    • whether an optional fast path is available
    • important uncertainties or anchors that may need regrounding
    • how to improve it by recording another demonstration of the same task

Update Existing Skill Flow

Use this flow when a generated skill already exists and the user records or provides another demonstration for the same task.

  1. First produce a validated skill_candidate.json for the new trace by using Record Then Induce Flow or Existing Trace Flow.
  2. Call clawmobile_skill_update_from_trace with:
    • existing_skill_dir: the existing generated skill directory
    • new_recording_dir_or_candidate_path: the new recording directory or skill_candidate.json
  3. Read the returned validation and anchor_updates.
  4. If validation fails because the intent, app, or required parameters do not match, stop and report that the new trace should create a separate skill.
  5. If validation succeeds, report the updated primary SKILL.md, generalized_skill.json, source traces, evidence directory, anchor stability changes, and warnings.
  6. Explain what changed in the skill and whether the new trace strengthened anchors, added a new entry state, or recorded a failure/correction pattern.

Do not merge unrelated traces just because the app is the same. Evolution is for the same task intent. Stable UI anchors such as composer or send buttons may become stronger replay-first anchors when multiple traces agree. Context or parameter anchors such as chats, contacts, files, and search results should stay reground-friendly.

Candidate Rules

  • Use schema version clawmobile.skill_candidate.v1.
  • Set source_trace_id to the trace id returned by prepare.
  • Summarize the user's demonstrated intent in task_summary.
  • Fill app.package and app.activity from trace state when available.
  • Add an intent object with:
    • name: stable snake_case task name
    • description: concise human-readable task description
    • parameters: variable user inputs, such as message_text
  • Add preconditions, verification rules, and fallback guidance that a future executor could use.
  • Keep uncertain claims in warnings instead of pretending they are known.

Generalization Rules

Promotion generates a merged skill directory. The primary SKILL.md is the generalized skill. The fixed coordinate-heavy version is retained as fixed_SKILL.md for evidence and rollback.

  • Treat the fixed candidate as concrete evidence, not as a universal rule.
  • Separate task/procedure applicability from anchor applicability.
  • If the user intent matches but a coordinate or UI location changed, the generalized skill should remain applicable_with_regrounding when a plausible grounding path exists.
  • Do not add arbitrary contact, account, file, or object parameters unless the trace evidence or candidate parameters already support them.
  • Keep uncovered parameters under intent.not_covered_parameters.
  • Preserve uncertainty under evolution.open_uncertainties so future traces or failures can improve the skill.
  • When multiple traces support the same skill, keep source_traces, per-anchor observations, and evolution.anchor_updates as evidence. Do not delete older trace evidence.
  • Generated skills should record execution feedback with clawmobile_skill_record_feedback when it is low-friction and does not disrupt the user-facing task. Success feedback can stay compact with outcome, parameters, anchors, and verification summary. Failure or partial feedback is especially useful when it includes the failed step/anchor and concise observations so later trace updates or repairs have evidence. The feedback tool automatically extracts compact verified contexts and failure patterns into the generated skill's evolution block.
  • Generated skills carry frontmatter/manifest metadata: clawmobile_generated=true, feedback_tool=clawmobile_skill_record_feedback, and status_tool=clawmobile_skill_status.
  • Use clawmobile_skill_status when a generated skill's prior execution experience is needed in structured form.
  • Generated SKILL.md files render a Prior Execution Experience section from feedback-derived guidance. Use it as evidence for grounding/fallback choices, not as a replacement for normal verification.
  • Generated SKILL.md files should be used primarily as compact app/task knowledge. They may also render an eligible fast path, but fast path is an optional acceleration route, not the definition of the skill. Use clawmobile_skill_run_fast_path only when the user intent, required parameters, and current app state match the route assumptions. Pass required skill variables under the top-level parameters object. If the exact required names are unclear, call clawmobile_skill_status; do not assume the runner lacks parameter support.
  • If clawmobile_skill_run_fast_path fails, do not immediately abandon the skill. First inspect the structured failure, current UI evidence, and prior execution status. Continue with normal grounded execution using the same skill context. Use clawmobile_skill_reflect_fast_path_failure only for a bounded repair when the failure clearly looks like a repairable entry-state, text-query, or verifier mismatch.
  • If normal stepwise execution also fails, record feedback and tell the user whether another demonstration of the same task would likely improve the skill. Do not silently hand-code app-specific patches.
  • Generated SKILL.md files render a Skill Review section. After generating or updating a skill, use it to briefly explain the new skill to the user. This is part of the learning loop: if the user says the skill is wrong, incomplete, or overfit, record another demonstration of the same task and use Update Existing Skill Flow rather than hand-coding app-specific patches.
  • Fast paths should use app-state checkpoints only at app entry or app switches. Do not add per-step state checks. If the current package/activity or stable entry UI text cannot be confirmed cheaply, stop fast execution and use normal agent/LLM inspection or regrounding.

Derived Semantics Rules

Always inspect trace_digest.derived_semantics before choosing replay steps.

  • Preserve derived_semantics.pre_text_input_action_candidates as evidence before the related type_parameter step.
  • Use a pre-text candidate as a coordinate replay anchor only when replay_allowed=true.
  • When a pre-text candidate has replay_allowed=false, do not turn it into a tap_anchor. Use semantic grounding instead, usually tap_text for the visible menu option or UI text, then continue with type_parameter.
  • If a FAB/plus tap opens a menu and the next step should choose a visible option such as Text/List/Image, prefer replaying the FAB/plus coordinate and then tap_text for the visible option instead of replaying every recorded low-screen tap.
  • Treat derived_semantics.text_input_clusters as human typing evidence.
  • Turn each text input cluster into a parameterized type_parameter step, usually with message_text.
  • Do not replay individual soft-keyboard taps as tap_anchor steps.
  • Do not use anchors with replay_allowed: false as replay targets. They are evidence only.
  • For send/confirm actions after typing, prefer derived_semantics.post_text_input_action_candidates when present.
  • For a message-send flow, the usual replay shape is:
    1. tap a conversation or composer anchor when needed
    2. type_parameter with message_text
    3. tap the post-text send/confirm anchor

Grounding Rules

  • Do not invent coordinates.
  • Coordinate anchors must come from trace_digest.allowed_anchors.
  • For every coordinate_anchor, include:
    • type: "coordinate_anchor"
    • x_norm and y_norm copied from an allowed anchor
    • source_anchor_id copied from the allowed anchor id
    • source_step_id
    • evidence naming the relevant step and screenshot/state evidence
    • confidence
  • Do not use shorthand such as "coordinate_anchor": "step_1_tap" in the final candidate. Expand it to the full coordinate anchor object.
  • If the trace does not support a semantic claim, write it as a warning.
  • Do not put raw coordinates directly in candidate steps; steps should target named anchors or use parameterized actions.

Good Output Shape

{
  "schema_version": "clawmobile.skill_candidate.v1",
  "source_trace_id": "rec_...",
  "task_summary": "The demo sends a parameterized message in an existing chat.",
  "app": {
    "package": "com.example",
    "activity": "com.example.MainActivity"
  },
  "intent": {
    "name": "send_current_chat_message",
    "description": "Send a parameterized message in the currently open chat.",
    "parameters": {
      "message_text": {"type": "string", "required": true}
    }
  },
  "preconditions": [
    "The target chat or conversation is visible or can be opened from the recorded app state."
  ],
  "entry_state_checks": {
    "after_app_open": {
      "package": "com.example",
      "activity": "com.example.MainActivity",
      "ui_text_any": ["stable visible entry text when the trace clearly shows one"]
    }
  },
  "anchors": {
    "message_input": {
      "type": "coordinate_anchor",
      "source_step_id": 2,
      "source_anchor_id": "step_2_tap",
      "x_norm": 0.48,
      "y_norm": 0.93,
      "evidence": ["step_2_tap", "before screenshot shows composer area"],
      "confidence": 0.75
    },
    "send_button": {
      "type": "coordinate_anchor",
      "source_step_id": 8,
      "source_anchor_id": "step_8_tap",
      "x_norm": 0.93,
      "y_norm": 0.56,
      "evidence": ["post_text_action_1", "after text input cluster"],
      "confidence": 0.7
    }
  },
  "steps": [
    {
      "action": "tap_anchor",
      "target": "message_input",
      "verify_after": "A text input should be focused."
    },
    {
      "action": "type_parameter",
      "parameter": "message_text",
      "verify_after": "The composer contains message_text."
    },
    {
      "action": "tap_anchor",
      "target": "send_button",
      "verify_after": "The message appears as an outgoing bubble or the composer clears."
    }
  ],
  "verification": [
    "Confirm the expected app/activity remains visible after the action."
  ],
  "fallback": [
    "If an anchor is not visible, stop and request a new demonstration or re-ground the UI."
  ],
  "warnings": []
}

Final Response

After recording starts, keep the response short and tell the user to perform the demo and reply when done.

After saving a candidate:

  • Mention the saved candidate and summary paths.
  • Mention the promoted primary generated skill path when promotion succeeds.
  • Mention that the primary SKILL.md is generalized, with fixed_SKILL.md retained as source evidence.
  • Mention the generalized skill JSON/markdown paths.
  • Include a concise skill review: intent, parameters, reusable app knowledge, execution routes, optional fast-path status, and important uncertainties.
  • If the user is not satisfied, tell them they can demonstrate the same task again and the existing skill can be updated from the new trace.
  • If future execution fails, suggest recording a correction demo from the failed or desired starting state, then use clawmobile_skill_update_from_trace.
  • Mention validation warnings, especially rejected anchors.
  • Do not claim the skill can execute yet.

版本历史

  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 实验室的评测报告。

场景价值85/100

亮点

  • 提供从移动端自然演示到结构化技能候选的完整转化流程
  • 支持技能迭代更新,强化锚点稳定性与泛化能力
  • 显著降低非技术用户创建自动化技能的门槛
触发精准90/100

亮点

  • 触发描述清晰覆盖 record/summarize/induce/draft 等多种意图
  • 边界定义明确,避免与其他技能混淆
结构规范88/100

待提升项

  • 缺少显式 When to Use 章节 原报告严重程度:轻微

    虽然开头段落说明了使用场景,但未使用标准章节标题

    改进建议:建议添加 '## When to Use' 章节以提升规范性

亮点

  • 四大流程划分清晰,步骤编号完整
  • 提供高质量 JSON 输出示例
  • frontmatter 完整且符合规范
执行可靠92/100

亮点

  • 工具命名规范,参数使用准确
  • 验证失败、锚点拒绝、fast path 失败等关键异常均有处理路径
  • 提供 feedback 机制支持持续改进
证据可验 (前四项均值)89/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

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

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

安全评级与访问范围

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

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