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 ghost-in-the-droid/android-agent --skill ghost-basegit clone --depth 1 https://github.com/ghost-in-the-droid/android-agentWrote 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/ghost-in-the-droid/android-agent/ghost-base)<a href="https://agentmods.dev/skills/ghost-in-the-droid/android-agent/ghost-base"><img src="https://agentmods.dev/badge/skills/ghost-in-the-droid/android-agent/ghost-base/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/ghost-in-the-droid/android-agent/ghost-base"><img src="https://agentmods.dev/badge/skills/ghost-in-the-droid/android-agent/ghost-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00050 | $0.01269 |
| Opus 5.5 | $0.00020 | $0.00508 |
| Sonnet 5.5 | $0.00010 | $0.00254 |
| Haiku 4.5 | $0.00005 | $0.00127 |
Grade B, and why
ghost scanned grade B with 1 finding 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 11d 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.
Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
`ghost skill install <author>/<skill>`, then `ghost skill list` to inspect installed skills. How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ghost: use skills first
You control an Android phone (or iOS via ios:<udid>) through the Ghost MCP tools. Installed skills are recorded, verified flows for one app. A skill replay costs zero LLM tokens per tap, so it is cheaper and more reliable than driving the app by hand.
Install and connect
From a Ghost source checkout, install the current CLI with pip install -e ..
Register the server in Claude Code with claude mcp add ghost -- android-agent-mcp;
for other MCP clients use command android-agent-mcp with no arguments.
The full server currently exposes 66 MCP tools. Client profiles and
GHOST_MCP_HIDE_TOOLS reduce that set; ask the connected server for its tool list.
Set GHOST_MCP_PROFILE=skills-first in the server environment for the smaller tool set.
Use list_devices to select the user's intended device before acting.
Hub app skills are separate from this agent guide: use ghost skill search <words>,
ghost skill install <author>/<skill>, then ghost skill list to inspect installed skills.
Run a known action with ghost skill run <author>/<skill> <action> --device <device>
or its MCP equivalent below. Inspect its declared side effects before replay.
Rule
- Call
find_skillwith the task in plain words (e.g."make a note called Shopping with milk and eggs"). - On a hit, call
run_skill(name=<skill>, action=<action>, params=<json>, device=<serial>). Check the returned result, then answer. - If the result is
needs_input(a gate: human, code or LLM ask), answer it withrun_skill_resume(token, answer). - Drive by hand (
screenshot,get_elements,tap,type_text) only when no skill matches or the skill fails. If a skill matched the app, read its notes first withget_skill_notes. - To build your own flow from scratch:
explore_appto map the app, thencreate_skillto save the steps you verified. The author guide is the separateghost-skill-creation-guideskill.
Hard vs soft skills
- Hard: fully deterministic replay, no LLM and no human. Run it and read the result.
- Soft: the skill's
SOFT.mdreference notes (tab and element ids, first-launch dialogs, failure modes). When the hard replay does not match the phone or app version, or the task is off-script, callget_skill_notes(skill)and drive by hand (tap,swipe,type_text) following the notes. That is faster than exploring the app blind. - Gates are separate: a skill can pause with
needs_input(human captcha, code, LLM ask); answer withrun_skill_resume.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 76 lines · 50 tokens per session scan B 1b1e63ebf999
ghost is a skill published in the GitHub repository ghost-in-the-droid/android-agent (430 stars, last pushed 11d ago), licensed MIT. It adds 50 tokens to every session and 1,269 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.
ghost compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ghostghost-in-the-droid/android-agent | Skill | 430 | 11d ago | MIT | B | 50 | Claude Code, Codex |
| android-device-perceptionWorksOnMyVM/android-device-perception-skill | Skill | 3 | 3mo ago | Apache-2.0 | A | 105 | Codex |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 50k | today | MIT | A | 27 | Claude Code |
| solopi-aialipay/SoloPi | Skill | 6.6k | 6d ago | Apache-2.0 | A | 82 | Codex |
| solopi-desktop-clialipay/SoloPi | Skill | 6.6k | 6d ago | Apache-2.0 | B | 127 | Codex |
| argent-device-interactsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| simvynpranshuchittora/simvyn | Skill | 452 | 28d ago | MIT | A | 63 | Codex |