/vibe:android-screen-tools-expertfrom vibe
Captures annotated Android screenshots and resolves label references (e.g., #5) to tap coordinates for agent-driven UI automation. Use when automating adb input commands via vision-based reasoning.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in android screen — the screenshot + label-resolution pair that lets an agent reason about a UI visually and then drive it precisely. The canonical loop: capture → annotate → reason about labels → resolve to coordinates → drive input tap.
android screen capture [--output=<path>] [--annotate]
android screen resolve --screenshot=<path> --string=<string>
screen captureandroid screen capture --output=ui.png # plain PNG screenshot
android screen capture --output=ui.png --annotate # PNG with labeled bounding boxes
--annotate (-a) overlays numbered bounding boxes on every detected UI element. The numbers (#1, #2, ...) are the contract that screen resolve reads.
screen resolveandroid screen resolve --screenshot=ui.png --string="input tap #5"
# Output: input tap 500 1000
The CLI parses the --string for #<n> tokens, looks up bounding-box n in the annotated screenshot, and substitutes the center coordinates of that box. The output is a ready-to-execute shell command (typically an adb shell input ...).
This is the killer feature for vision-driven agents: the model never has to know pixel coordinates. It just labels boxes by intent ("the green primary CTA = #5") and the CLI does the math.
# 1. Capture annotated screenshot
android screen capture --output=/tmp/ui.png --annotate
# 2. Agent reasons about /tmp/ui.png:
# "I see a Sign In button as box #3, an email field as #1, password as #2"
# 3. Resolve a typed action into coords
CMD=$(android screen resolve --screenshot=/tmp/ui.png --string="input tap #3")
echo "$CMD" # -> input tap 540 1200
# 4. Run via adb
adb shell $CMD
# 5. Verify the result
android layout --diff --pretty
android screen capture --output=/tmp/ui.png --annotate
for ACT in "input tap #1" "input text [email protected]" "input tap #2" "input text hunter2" "input tap #3"; do
CMD=$(android screen resolve --screenshot=/tmp/ui.png --string="$ACT")
adb shell $CMD
sleep 0.3
done
Re-capture after navigation; bounding-box numbers are valid only for the screenshot that produced them.
android screen capture -o login.png -a
# Agent: "email is #1, password is #2, submit is #3"
adb shell $(android screen resolve --screenshot=login.png --string="input tap #1")
adb shell input text '[email protected]'
adb shell $(android screen resolve --screenshot=login.png --string="input tap #2")
adb shell input text 'hunter2'
adb shell $(android screen resolve --screenshot=login.png --string="input tap #3")
android screen capture --output=bug-repro.png
android screen capture --output=baseline.png
# ...later...
android screen capture --output=after.png
diff <(file baseline.png) <(file after.png) # cheap shape check
# (Use a real image-diff tool for pixel comparisons.)
resolve.--annotate only on capture, not on resolve. resolve needs an annotated screenshot as input; passing a plain PNG gives no #N to resolve.resolve returns device-pixel coordinates that pair correctly with adb shell input. Don't manually scale.adb shell input tap on the wrong device. With multiple devices, prefix adb -s <serial> shell input tap ... and pass the same --device-equivalent everywhere.Use android screen over alternatives when:
Prefer Espresso / Compose UI tests when:
Prefer Android Studio's Recorder when:
screen section) — https://developer.android.com/tools/agents/android-cliWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job