smart-dispatch

Decomposes natural language commands into Android shell tool sequences for device automation.

10|2|Updated Jul 9, 2026
One-click install
npx skills add https://github.com/xvxv-stack7/android-claude-agent --skill smart-dispatch-xvxv-stack7
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: smart-dispatch
Source: https://github.com/xvxv-stack7/android-claude-agent/tree/main/skills/smart-dispatch
Command: npx skills add https://github.com/xvxv-stack7/android-claude-agent --skill smart-dispatch-xvxv-stack7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Executing user requests on an Android phone requires choosing among many tools (content providers, am, uiautomator, input events, screenshots) with very different speeds and compatibility. This Skill removes the guesswork by giving the AI a priority ladder, an app compatibility matrix, and ready-made workflow templates so each step uses the fastest working method. ## Core Features & Use Cases - Tool Priority Ladder: Ranks eight execution methods by speed (0.2s–8s), from content queries down to screenshot-plus-vision as a last resort. - App Compatibility Matrix: Records which UI inspection tools work per app (e.g., WeChat blocks accessibility data, so vision fallback is required). - Composite Workflow Templates: Step-by-step command chains for tasks like sending a WeChat message, sending an SMS, opening files, or reacting to headphone connection. - Use Case: When the user says "send a WeChat to Mom saying I'll be late", the Skill decomposes it into launch app, tap search, paste contact name, paste message, tap send — about 5 seconds total. ## Quick Start Ask the AI to help you send an SMS to a contact or open an app on your phone, and it will pick the fastest command sequence automatically.

Frequently Asked Questions about smart-dispatch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Android UI tasks from the command line?▼

Use uiautomator dump or an accessibility-based dump to locate UI elements by text, then execute input tap with the found coordinates. For Chinese text entry, set the clipboard with cmd clipboard and paste via keyevent 279 instead of input text.

What is the fastest way to find and tap a button on Android?▼

The fastest method is an accessibility-based interactive element dump (about 0.5s), followed by uiautomator dump (about 1s) for standard native Views. Screenshot plus vision AI takes around 8s and should only be a last resort.

Why does uiautomator not work with WeChat?▼

WeChat does not populate accessibility data and uses a custom rendering engine, so both uiautomator and accessibility dumps return nothing. For WeChat, skip element inspection and go directly to the screenshot-plus-vision fallback.

How do I type Chinese text on Android via adb?▼

Use cmd clipboard set-text to place the Chinese string on the clipboard, then send input keyevent 279 to paste it. The input text command handles non-ASCII characters unreliably, so clipboard paste is the recommended approach.

When should I use screenshot-based vision instead of UI dumps?▼

Only when both accessibility and uiautomator dumps fail, such as with apps that block accessibility data or novel unknown layouts. Vision costs about 8 seconds versus 0.5–1 second for dumps, so it is strictly a fallback.