android-cli
Qué hace
Esta herramienta te ayuda a gestionar el desarrollo de apps de Android directamente desde la línea de comandos. Puedes usarla para crear proyectos nuevos, instalar o actualizar componentes necesarios (como el SDK) e incluso interactuar con dispositivos Android conectados.
Cuándo usarla
- ✓Necesitas crear un proyecto nuevo de Android rápidamente.
- ✓Quieres instalar o gestionar partes del SDK de Android.
- ✓Necesitas interactuar con un dispositivo Android conectado, por ejemplo para hacer una captura de pantalla.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/android-cli/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Cómo creo un proyecto nuevo de Android llamado 'Mi App'?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Escribes comandos como 'android create' para crear proyectos o 'android sdk install' para instalar componentes. La herramienta usa estos comandos para realizar las tareas de desarrollo Android que le pides.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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, download the platform installer to a private temporary directory, inspect it, then run it only after the user confirms the source and contents:
tmpdir="$(mktemp -d "${TMPDIR:-/tmp}/android-cli.XXXXXX")" || exit 1
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh -o "$tmpdir/install.sh"
sed -n '1,160p' "$tmpdir/install.sh"
# After review and explicit user confirmation:
bash "$tmpdir/install.sh"
Use the matching darwin_arm64/install.sh or windows_x86_64/install.cmd URL for macOS or Windows. Do not pipe mutable network installer scripts directly into a shell.
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-34android 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
For more information on running journeys, see here.
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 capture -o <file path> command.
Managing Skills
Manage antigravity agent skills for Android using the android skills command.
Inspecting UI Layouts
Use the android layout command to inspect the UI layout of an Android application. It returns the layout tree of an Android application in JSON format. When debugging UI errors, this is often a much faster approach than taking a screenshot.
Updating the CLI
Update the Android CLI using the android update command.
Limitations
- The
androidCLI must be installed and available onPATH; otherwise install it first or use the platform-specific setup guidance above. - Device, emulator, SDK, and documentation commands can depend on local Android SDK state, network access, and attached hardware.
- Treat generated commands as environment-sensitive: inspect paths, package names, device serials, and install/update targets before running them.
Android Help Output
Usage: android [-hV] [--sdk=PARAM] [COMMAND]
-h, --help Show this help message and exit.
--sdk=PARAM Path to the Android SDK
-V, --version Print version information and exit.
Commands:
…
Preguntas frecuentes
¿Cómo instalo el SDK de Android?
Puedes usar el comando 'android sdk install' seguido del nombre del paquete y, opcionalmente, de la versión. Por ejemplo: 'android sdk install platforms/android-30@2'.
¿Cómo hago una captura de pantalla de un dispositivo Android?
Usa el comando 'android screen capture -o nombre_archivo.png'. Asegúrate de que el dispositivo esté conectado.
¿Qué es 'android docs'?
Es un comando que busca en la documentación oficial de Android para ayudarte a encontrar ejemplos y guías sobre el uso de APIs y bibliotecas.
Detalles
Descripción original del autor
Orchestrates Android development tasks including project creation, deployment, SDK management, and environment diagnostics using the `android` command-line tool.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #6249
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
android-clean-architecture
280 milHace que tu agente organice proyectos de Android de forma eficiente. Estructura el código para facilitar el mantenimiento y el desarrollo de nuevas funciones.
compose-multiplatform-patterns
280 milAyuda a tu agente a usar patrones de Compose Multiplatform y Jetpack Compose en proyectos KMP, incluyendo estado, navegación, temas y rendimiento.
dart-flutter-patterns
280 milHace que tu agente escriba código para apps de Dart y Flutter. Usa patrones modernos para crear apps robustas y fáciles de mantener.