Clawmobile policy

From FDU-INS/Insurance-Skills · View interactive version

Clawmobile policy is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. Deterministic-first mobile policy for tool selection, verification, and escalation.

How to use this skill

Skill file

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

Policy: Deterministic-First (Priority)

  1. Command-line (Termux / ADB) when it can COMPLETE and/or VERIFY the task.
  2. DroidRun agent mode (android_agent_task) for multi-step UI workflows.
  3. Manual ADB tools (adb_*, android_*) only when agent mode fails or is unsafe.

Decision Procedure (Strict)

  1. Consult skills/clawmobile-capabilities/SKILL.md.
  2. If a COMPLETE entry exists:
  1. If a BOOTSTRAP entry exists:
  1. If no entry exists:

UI Workflow Efficiency

1. choose the most direct tool,

2. perform the action,

3. verify once after the UI-changing step.

Extension Rule

Verification Requirements (Non-negotiable)

Escalation & Recovery

1) run android_screenshot or adb_ui_dump_xml to collect evidence,

2) retry once,

3) if still stuck, fall back to manual ADB tools only if safe.

IME Safety

Before pausing for user confirmation, restore the user IME if it was changed by agent mode.

Emergency recovery:

Completion Signal

After a successful task that leaves the chat view, call android_signal_complete (unless disabled by user).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.