SkillAgentSearch skills...

android-cli

Provides instructions for installing and using the `android` CLI. The

Install / Use

npx skills add android/skills --skill android-cli

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

86/100

Supported Platforms

Universal

Our assessment of android-cli

android-cli scores 86/100 on our quality scale, 700th of 1,155 Content & Media skills we index.

Its SKILL.md is 23 KB long, well organised into 12 sections and no code examples: a thorough specification that gives an agent plenty to work with.

With 7,514 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
13/20
Description
12/15
Adoption
16/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so android-cli is actively maintained.
  • Our last check on 2026-11-03 found the source still online.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

Review

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review judged it risky: Lines 33-35 instruct the agent to install the Android CLI by piping scripts downloaded from https://dl.google.com directly into bash (curl ... | bash).

  • noteInstalls by piping a downloaded script into a shellline 33
    - Linux: curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh \| bash
  • noteInstalls by piping a downloaded script into a shellline 34
    - Mac Arm: curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh \| bash
  • noteInstalls by piping a downloaded script into a shellline 35
    - Mac Intel: curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh \| bash

AI review: risky

  • Lines 33-35 instruct the agent to install the Android CLI by piping scripts downloaded from https://dl.google.com directly into bash (curl ... | bash).
  • In a skill/rules file, directing the agent to pipe a remote script into a shell is explicitly flagged as risky because it bypasses safer package-manager installation and can execute arbitrary code.
  • The Windows variant similarly downloads and executes a remote .cmd file without verification.

AI review by kimi-k2.7-code on 2026-09-27. Automated pattern scan on 2026-09-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

android-cli compared with similar skills

All 4 of these similar skills score higher than android-cli; compare them before choosing.

SkillScoreStarsUpdatedFormat
android-cli (this skill)by android867.5k54d agoSKILL.md
Claude-Code-Game-Studiosby Donchitos10039.7k7d agoCLAUDE.md
siyuanby siyuan-note10047.3ktodayMCP Server
x402by browser-use100121.0k3d agoSKILL.md
algorithmic-artby anthropics100177.9k55d agoSKILL.md

Frequently asked questions

How do I install android-cli?
Run npx skills add android/skills --skill android-cli. The install tabs above show the steps for each supported agent.
Which AI agents does android-cli work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is android-cli safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review judged it risky: Lines 33-35 instruct the agent to install the Android CLI by piping scripts downloaded from https://dl.google.com directly into bash (curl ... | bash). It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is android-cli still maintained?
The repository was last updated about 2 months ago, so android-cli is actively maintained.

name: android-cli description: Provides instructions for installing and using the android CLI. The android command-line tool is a critical tool for Android development and helps you create new Android projects, run Android apps on devices, manage and interact with Android virtual devices (including screenshots and UI inspection), manage Android SDK components, look up official Android documentation, and discover and install official Android skills. license: Complete terms in LICENSE.txt metadata: author: Google LLC last-updated: '2026-09-12' keywords:

  • android-cli
  • sdk
  • emulator
  • skills
  • docs
  • knowledge base
  • project creation
  • screenshots

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.

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
  • Mac Arm: curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bash
  • Mac Intel: curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh | bash
  • Windows: curl -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 Android devices

Use the android layout command to inspect the UI layout of an Android application in JSON format. Use the android screen command to visually inspect the UI and obtain bounding coordinates for visual regions.

IMPORTANT: Before using android layout or android screen, you MUST read this reference: interact.md The reference file interact.md contains instructions for properly interacting with Android devices. Follow its instructions exactly.

Running journey tests

Journey tests involve device interaction; use the android layout and android screen commands to evaluate Journeys. The instructions for device interaction apply here as well.

IMPORTANT: Before evaluating a journey, you MUST read this reference: journeys.md The reference file journeys.md contains instructions for correctly evaluating an Android journey. Follow its instructions exactly.

Doc searching

The docs command searches authoritative, high-quality Android developer documentation in the Android Knowledge Base. By providing a few keywords, this tool will return high quality articles that contain examples or guidance on how to use Android APIs or libraries. Use this tool to obtain additional information on how to achieve Android-specific tasks or to know more about Android APIs, surfaces, libraries, or devices.

Always use this tool to get the most up-to-date information about Android concepts. Typical good use cases are:

  • Finding migration guides for APIs.
  • Finding examples for APIs.
  • Finding up-to-date information about Android APIs.
  • Finding best practices for Android concepts.

Running APKs

Use the run command to run Android apps.

Managing emulators

Manage Android Virtual Devices (AVDs) using the android emulator command

Capturing screenshots

Capture an image of the current screen of a connected Android device and output it to a file using the android screen command.

Managing skills

Manage agent skills for Android using the android skills command.

Updating the CLI

Update the Android CLI using the android update command.

android help output

Usage: android [-Vhv] [--sdk=PARAM] [COMMAND]
  -h, --help       Show the help message for this command
      --sdk=PARAM  Path to the Android SDK
  -v, --verbose    Enable verbose output for troubleshooting
  -V, --version    Print version information and exit
Commands:
  completion  Installs shell autocomplete configuration for the Android CLI in
              the current user profile
  create      Create a new Android project from available templates. Allows
              specifying project name, output directory, minSdk, and dry-run
              execution
  describe    Analyzes an Android project to generate descriptive metadata. This
              command identifies and outputs the paths to JSON files that detail
              the project's structure, including build targets and their
              corresponding output artifact locations (e.g., APKs). This
              information enables other tools and commands to locate build
              artifacts efficiently
  docs        Android documentation commands for searching and fetching
              developer documentation from the official knowledge base
  emulator    Manage Android Virtual Devices (AVDs). Includes commands to start,
              stop, list, and view details about emulators
  help        Shows the help of all commands
  info        Print environment information including SDK location, connected
              devices, and configuration variables. Use specific fields to
              narrow the output
  init        Initializes the environment for the Android CLI. Sets up required
              configurations, directories, and default skills
  install     Install an Android Application (one or more APKs) to a connected
              device or emulator without activating any components using
              incremental optimizations for faster deployment than adb
  layout      Returns the layout tree of an application
  run         Build, deploy, and launch an Android application on a connected
              device or emulator
  screen      Commands to view the device
  sdk         Manage the Android SDK installation. Includes commands to install,
              update, remove, and list available and installed SDK packages
  skills      Manage Android CLI skills. Includes commands to install, remove,
              list, and search for skills by keyword
  studio      Android Studio commands
  update      Update the Android CLI to the latest version

completion
          Usage: android completion [-h] [<shell>]
          Installs shell autocomplete configuration for the Android CLI in the
          current user profile
          
          Options:
            -h, --help       Show the help message for this command
          
          android options:
                --sdk=PARAM  Path to the Android SDK
            -v, --verbose    Enable verbose output for troubleshooting
            -V, --version    Print version information and exit
          
          Positional Parameters:
            <shell>  If provided, print the given shell completion without
                     installing. Supported: bash, zsh

create
          Usage: android create [-h] [--applicationId=PARAM] [--list] [--minSdk=PARAM]
                                [--name=PARAM] [--namespace=PARAM] [--output=PARAM]
                                [<template-name>]
          Create a new Android project from available templates. Allows
          specifying project name, output directory, minSdk, and dry-run
          execution
          
          Options:
                --applicationId=PARAM  The application ID for the application
                                       (e.g. 'com.example.myapp')
            -h, --help                 Show the help message for this command
                --list                 List all available templates
                --minSdk=PARAM         The 'minSdk' supported by the application
                                       (default is defined in the template)
                --name=PARAM           The name of the application (e.g. 'My
                                       Application')
                --namespace=PARAM      The namespace for resources and package
                                       name for Kotlin source files
            -o, --output=PARAM         The destination project directory path
                                       (default is '.')
          
          android options:
                --sdk=PARAM            Path to the Android SDK
            -v, --verbose              Enable verbose output for troubleshooting
            -V, --version              Print version information and exit
          
          Positional Parameters:
            <template-name>  The template name

describe
          Usage: android describe [-h] [--project_dir=PARAM]
          Analyzes an Android project to generate descriptive metadata. This
          command identifies and outputs the paths to JSON files that detail the
          project's structure, including build targets and their corresponding
          output artifact locations (e.g., APKs). This information enables other
          tools and commands to locate build artifacts efficiently
          
          Options:
            -h, --help               Show the help message for this command
                --project_dir=PARAM  The project directory to describe
          
          android options:
                --sdk=PARAM          Path to the Android SDK
            -v, --verbose            Enable verbose output for troubleshooting
            -V, --version            Print version information and exit

docs
          Usage: android docs [-h] [COMMAND]
          Android documentation commands for searching and fetching developer
          documentation from the official knowledge base
          
          Options:
            -h, --help       Show the help message for this command
          
          android options:
                --sdk=PARAM  Path to the Android SDK
            -v, --verbose    Enable verbose output for troubleshooting
            -V, --version    Print version information and exit
          Commands:
            search  Search Android documentation. Enclose keywords in quotes
            fetch   Fetch an Android documentation article from a URL (kb://...)

emulator
          Usage: android emulator [-h] [COMMAND]
          Manage Android Virtual Devices (AVDs). Includes commands to start,
          stop, list, and view details about emulators
          
          Options:
            -h, --help       Show the help message for this command
          
          android options:
                --sdk=PARAM  Path to the Android SDK
            -v, --verbose    Enable verbose output for troubleshooting
            -V, --version    Print version information and exit
          Commands:
            create  Creates a virtual device
            start   Launches the specified virtual device. This command will
                    return when th

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars7.5k
CategoryContent
Updated1mo ago
Forks488

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions