Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add niki914/zafiro --skill phone-usegit clone --depth 1 https://github.com/niki914/zafiroWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/niki914/zafiro/phone-use)<a href="https://agentmods.dev/skills/niki914/zafiro/phone-use"><img src="https://agentmods.dev/badge/skills/niki914/zafiro/phone-use/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/niki914/zafiro/phone-use"><img src="https://agentmods.dev/badge/skills/niki914/zafiro/phone-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.00848 |
| Opus 5.5 | $0.00010 | $0.00339 |
| Sonnet 5.5 | $0.00005 | $0.00170 |
| Haiku 4.5 | $0.00003 | $0.00085 |
Grade A, and why
phone-use scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Overview
You interact with Android screens (vd-* or phone) across two layers:
- Semantic tree: Inspect hierarchy, search text, and tap/type/scroll by node token.
- Visual pixels: Capture screenshots when the tree is unavailable, then tap or swipe by coordinates.
Write actions automatically settle the UI and return the refreshed tree with a new version token — never issue a redundant read immediately after an action.
Screen Policy: Virtual First
Always prioritize non-intrusive execution:
- Default to virtual display (
vd-*):- Open or reuse a virtual display using
screens. It runs the app in the background and displays a floating preview card so the user can observe without interruption. - Launch the target app onto the virtual display with
openafterfind_installed_appsreturns its package name. - Keep alive: Leave the virtual display open when the task finishes so subsequent turns or user actions can continue on it. Only release it via
screensif the user explicitly asks to close it.
- Open or reuse a virtual display using
- Fallback to physical screen (
phone):- Use the main screen only when the user explicitly requests it or when virtual display creation fails.
Interaction Strategy
1. Semantic Tree vs. Visual Coordinates
- Tree-first: Prefer targeting nodes by
token({version}_{index}). The framework automatically handles node clicks and gesture fallbacks. - Dense trees: Use
searchwith keywords rather than scanning huge hierarchy dumps. - Custom-drawn apps (Canvas / Flutter / Unity): If the tree is empty or root-only, switch to visual mode immediately: capture a
screenshotand act via physical coordinates. - Coordinate scaling: Screenshots may be downscaled. Screen dimensions are in the tree header (
screen: [w, h]) orscreenslist. Always scale image coordinates to screen pixels: $$\text{screen_x} = \text{image_x} \times \frac{\text{screen_w}}{\text{image_w}}$$ $$\text{screen_y} = \text{image_y} \times \frac{\text{screen_h}}{\text{image_h}}$$
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed ea31eb43d5d2
- 14d ago Changed · -2 lines · -38 tokens per session 0b76796e4fa9
- 15d ago Changed · -2 lines · -12 tokens per session a790d9208680
- 1mo ago Changed · -118 lines 0ef0514af3c9
- 3mo ago First seen · 178 lines · 76 tokens per session scan A 74de1bde9c27
phone-use is a skill published in the GitHub repository niki914/zafiro (406 stars, last pushed 3d ago), licensed MIT. It adds 26 tokens to every session and 848 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
phone-use compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phone-useniki914/zafiro | Skill | 406 | 3d ago | MIT | A | 26 | Claude Code, Codex |
| kotlin-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 55 | Claude Code |
| dagger-hilt-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 145 | Claude Code, Codex |
| android-startup-optimizerJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 128 | Claude Code, Codex |
| android-amplitude-sdk-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 170 | Claude Code, Codex |
| android-leak-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 123 | Claude Code, Codex |
| compose-component-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 96 | Claude Code, Codex |