Android Device
Apps & Automationandroid-deviceAndroid 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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_statuswithaction=info|permissions|locationdevicewithaction=notify|open_url|share|open_app_settings
Default Automation Policy
- Set
request_if_missing=truewhen permissions may be missing. - Set
open_settings_if_failed=truefor automatic recovery. - Set
wait_user_confirmation=trueonly when the app cannot complete the system step itself. - Avoid pre-confirmation for normal operations.
Location Playbook
- Call
device_status(action="location", provider="auto", prefer_fine=true). - If no fix, retry with
provider="network". - If location service is disabled, allow settings handoff and continue.
- 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_missingorpermissions_denied: grant permissions and retry.location_disabled: enable location service in settings, then continue.ui_unavailable: foreground app and retry same call.