android-cli

android-cli is a skill for Claude Code from Ghosteken/agent-harness. It costs 30 tokens per session (2,116 once invoked), scanned C, original, MIT.

A command-line guide for creating Android projects, managing Android SDK tools and emulators, deploying apps, and inspecting running applications.

In plain words
What is it for?
Use it to set up Android projects, install SDK components, work with emulators, inspect layouts, and run journey tests.
Why use it?
It brings common Android development and device-management tasks into repeatable terminal commands.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-harness plugin — 173 skills, 11 commands, 12 agents shipped together

Good fit Use it to set up Android projects, install SDK components, work with emulators, inspect layouts, and run journey tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ghosteken/agent-harness/android-cli
Install

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.

Any agent
npx skills add Ghosteken/agent-harness --skill android-cli
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 11 commands, 12 agents.

Wrote 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.

agentmods badge for android-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghosteken/agent-harness/android-cli.svg)](https://agentmods.dev/skills/ghosteken/agent-harness/android-cli)
Your own site
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/android-cli"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/android-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,116 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.02116
Opus 5 $0.00015 $0.01058
Sonnet 5 $0.00006 $0.00423
Haiku 4.5 $0.00003 $0.00212

Measured 4d ago against content hash cd07f8e4d24d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

android-cli scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **Linux:** `curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bash`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

<!-- security-allowlist: curl-pipe-bash -->
archive/skills-community/android-cli/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android CLI Specialist

This skill provides instructions for using the android CLI tool. The tool includes various commands for creating projects, running applications, interacting with devices, and managing the CLI environment.

When to Use

  • Use when you need to create, configure, or analyze Android projects from the command line.
  • Use when interacting with, deploying to, or taking screenshots of running Android devices.
  • Use when managing Android SDK components, versions, or virtual devices (emulators).
  • Use when inspecting UI layouts or running XML-specified journey tests.

Installation

If the android tool is not in the path, install it. To install, run the following command:

  • Linux: curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bash
  • macOS: curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bash
  • Windows: curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"

SDK Management

To manage the installation of Android SDKs and tools, use the sdk command. For example:

  • android sdk install <package>[@<version>]...: Install specific packages. Multiple packages can be specified, separated by spaces. <version> defaults to latest. For example: android sdk install platforms/android-30@2 platforms/android-34
  • android sdk update [<pkg-name>]: Update a specific package or all packages to the latest version.
  • android sdk remove <pkg-name>: Remove a package from the local SDK.
  • android sdk list --all: List installed and available SDK packages.

Project Creation

Create projects from templates using the create command.

For example:

android create empty-activity --name="My App" --output=./my-app

Interacting with Devices

For more information on interacting with running devices, see here.

Running Journey Tests

Read the full file on GitHub · 240 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. 4d ago First seen · 240 lines · 30 tokens per session scan C cd07f8e4d24d

Subscribe to this mod's changes

android-cli is a skill published in the GitHub repository Ghosteken/agent-harness (2 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 2,116 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 127 tokens

mobilecli

Run mobile automation, app testing, and interact with iOS and Android devices, simulators, emulators, and apps using the mobilecli CLI tool or JSON-RPC API. Trigger this skill whenever the user wants to list connected devices, boot or shut down simulators/emulators, take mobile screenshots, start screen recordings…

mobile-next/mobilecli · 131 tokens

playwright-for-android

End-to-end Android debug loop on an emulator. Builds the APK with a Gradle task, boots a named AVD, installs and launches the target package, then drives a single feature via adb-injected UI actions while capturing a unified logcat-and-actions timeline plus a developer-facing test report. Use when the user wants to…

fclab-skku/playwright_for_android · 97 tokens

serve-droid

Stream, inspect, and control an Android emulator or physical device from a browser or agent.

metaforismo/serve-droid · 22 tokens

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

iradoweck/antigravity-awesome-skills · 27 tokens