OpenParable
Skip to content
← Back to skills

Android Device

Apps & Automation
android-device

Android Device is an Agent Skill for apps & automation published in the ModalityDance/PalmClaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Operate Android device capabilities with device_status and device tools, including permissions, location, notifications, URL open, share, and settings recovery. Use for phone status, location, permissions, notifications, links, and Android system handoff tasks.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ModalityDance/PalmClaw/blob/HEAD/app/src/main/assets/skills/android-device/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/android-device, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Android Device

Use device_status for state and permission checks. Use device for system actions.

Tool Map

  • device_status with action=info|permissions|location
  • device with action=notify|open_url|share|open_app_settings

Default Automation Policy

  • Set request_if_missing=true when permissions may be missing.
  • Set open_settings_if_failed=true for automatic recovery.
  • Set wait_user_confirmation=true only when the app cannot complete the system step itself.
  • Avoid pre-confirmation for normal operations.

Location Playbook

  1. Call device_status(action="location", provider="auto", prefer_fine=true).
  2. If no fix, retry with provider="network".
  3. If location service is disabled, allow settings handoff and continue.
  4. If still unavailable, return recoverable error with next step.

Common Calls

  • device_status(action="permissions", permissions=[...], request_if_missing=true, open_settings_if_failed=true, wait_user_confirmation=true)
  • device_status(action="location", provider="auto", prefer_fine=true, open_settings_if_failed=true, wait_user_confirmation=true)
  • device(action="notify", title="...", text="...")
  • device(action="open_url", url="https://...")
  • device(action="share", text="...", subject="...")

Failure Recovery

  • permissions_missing or permissions_denied: grant permissions and retry.
  • location_disabled: enable location service in settings, then continue.
  • ui_unavailable: foreground app and retry same call.