Android CLI with Android skills and the Android Knowledge Base
Android CLI with Android skills and the Android Knowledge Base—terminal automation tools, skills, and authoritative guidance for agentic Android workflows.
What is Android CLI with Android skills and the Android Knowledge Base?
Android CLI with Android skills and the Android Knowledge Base is a set of Android developer tools and resources aimed at “agentic” workflows—situations where an AI agent works from the terminal rather than inside Android Studio. The goal is to reduce guesswork for core Android development tasks by providing a more programmatic command-line interface, plus structured “skills” and an authoritative knowledge source the agent can query.
The suite includes (1) a revitalized Android CLI for terminal-driven setup and automation, (2) Android skills—modular, markdown-based instruction sets that can be triggered automatically by matching prompt metadata, and (3) the Android Knowledge Base—an agent-focused way to search and fetch up-to-date Android guidance.
Key Features
- Revitalized Android CLI for terminal workflows: Provides commands for environment setup, project creation, and device management so agents can interact with the Android SDK and dev environment without relying on manual navigation.
android createfrom official templates: Generates new Android project scaffolding from official templates to apply recommended architecture and best practices from the start.- Selective SDK installation via
android sdk install: Downloads only the specific Android SDK components needed, supporting a leaner development environment. - Virtual device automation and deployment: Supports device creation and app deployment using commands like
android emulatorandandroid run, reducing manual build/deploy steps. - Updatability with
android update: Updates the CLI’s capabilities so the command set can stay current. - Android skills as markdown-based instruction sets (SKILL.md): Supplies task-specific, actionable specifications designed to trigger automatically when prompt metadata matches the skill.
- Android skills command for workflow setup: If you use Android CLI, you can browse and configure agent workflows using the growing collection of skills via the
android skillscommand. - Android Knowledge Base for authoritative retrieval: Exposes a specialized data source to search and fetch the latest guidance; it is accessible through the
android docscommand and is available in the latest Android Studio.
How to Use Android CLI with Android skills and the Android Knowledge Base
- Download and try the Android CLI from the release referenced by the announcement.
- Set up your environment from the terminal using Android CLI commands such as
android sdk installfor the SDK components you need. - Create a project with
android create, which generates a new project from official templates. - Create a device and run the app using the CLI’s emulator and run commands (for example, by creating a virtual device and deploying with
android run). - Ground your agent’s actions with Android skills by installing/browsing skills using the
android skillscommand, so the agent can follow structured, best-practice workflows. - Enable up-to-date guidance retrieval by using
android docsto let your agent search and fetch authoritative Android documentation content from the Android Knowledge Base.
Use Cases
- Terminal-first Android development with an agent: An AI agent executes setup, project creation, and deployment steps using Android CLI commands rather than depending on Android Studio UI navigation.
- New project scaffolding that follows current patterns: Developers or agents generate projects with
android createso the initial architecture and conventions come from official templates. - Lean SDK setup for automated environments: In CI or other scripted automation, users can install only required SDK components via
android sdk installto avoid downloading unnecessary pieces. - Device-based testing workflows: Agents create virtual devices and deploy builds using CLI commands, streamlining test and iteration cycles without manual build/deploy steps.
- Workflow-specific guidance for complex migrations: Agents use Android skills for tasks such as navigation setup/migration, edge-to-edge support implementation, or AGP 9 and XML-to-Compose migrations.
FAQ
-
What problem does this suite address for agents? It’s designed to eliminate guesswork when an agent is directed to perform core Android development workflows outside Android Studio, by combining terminal automation (Android CLI) with structured instruction sets (Android skills) and an authoritative retrieval source (Android Knowledge Base).
-
How do Android skills work? Skills are modular markdown-based instruction sets (SKILL.md) that act as technical specifications for tasks and are designed to trigger automatically when a prompt matches the skill’s metadata.
-
Where can I access the Android Knowledge Base? It can be accessed through the
android docscommand, and it is already available in the latest version of Android Studio. -
Does Android CLI replace Android Studio? The announcement describes Android Studio as the environment where “state-of-the-art tools and agents” are available, and frames this CLI/skills/knowledge setup as supporting agentic workflows outside Android Studio with a path to transition back.
-
What kinds of tasks are covered by the initial Android skills release? The initial release includes skills such as Navigation 3 setup and migration, edge-to-edge support, AGP 9 and XML-to-Compose migrations, R8 config analysis, and more (per the announcement).
Alternatives
- Android Studio + built-in tooling: For interactive development, Android Studio remains the primary environment. If you don’t need terminal-first agent workflows, standard Studio tools and documentation may be sufficient.
- General-purpose agent integrations using third-party CLIs or SDK wrappers: Instead of using Android CLI and Android skills, you can use other agent tooling that drives SDK steps; this may require more manual documentation wiring to avoid outdated patterns.
- Using prompt-embedded documentation without skills: Some workflows rely on manually attaching relevant documentation to each prompt. Android skills are positioned as a way to reduce this overhead through metadata-triggered, task-specific instruction sets.
- Standalone documentation search tools: If you prefer not to use a dedicated Android Knowledge Base interface, you can use general documentation search and retrieval methods; the announced Knowledge Base is specifically intended as an agent-oriented data source for latest authoritative guidance.
Alternatives
AakarDev AI
AakarDev AI is a powerful platform that simplifies the development of AI applications with seamless vector database integration, enabling rapid deployment and scalability.
Arduino VENTUNO Q
Arduino VENTUNO Q is an edge AI computer for robotics, combining AI inference hardware and a microcontroller for deterministic control. Arduino App Lab-ready.
Devin
Devin is an AI coding agent that helps software teams complete code migrations and large refactoring by running subtasks in parallel.
OpenUI
OpenUI is the open standard for generative UI, helping AI apps respond with structured user interfaces built from registered components.
Codex Plugins
Use Codex Plugins to bundle skills, app integrations, and MCP servers into reusable workflows—extending Codex access to tools like Gmail, Drive, and Slack.
Ably Chat
Ably Chat is a chat API and SDKs for building custom realtime chat apps, with reactions, presence, and message edit/delete.