android-cli-docs-skills

android-cli-docs-skills is a skill for Claude Code, Codex from ttdazi/AndroidAISkills. It costs 101 tokens per session (957 once invoked), scanned A, original, Apache-2.0.

A guide to the Android command-line tools for searching and fetching local documentation and installing Android skill packs. It explains the difference between the terminal’s android commands and Cursor’s Markdown-based skills.

In plain words
What is it for?
Use it to search and fetch Android CLI documentation, inspect available skill packs, install one into a project, and decide when to use official or third-party documentation instead.
Why use it?
It helps locate the correct documentation, retrieve kb:// entries that cannot be opened directly in a browser, and avoid confusing two different skill systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

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.

agentmods
npx agentmods add skills/ttdazi/androidaiskills/android-cli-docs-skills
Any agent
npx skills add ttdazi/AndroidAISkills --skill android-cli-docs-skills
Clone the repo
git clone --depth 1 https://github.com/ttdazi/AndroidAISkills

Made for: Claude Code, Codex.

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-docs-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/ttdazi/androidaiskills/android-cli-docs-skills.svg)](https://agentmods.dev/skills/ttdazi/androidaiskills/android-cli-docs-skills)
Your own site
<a href="https://agentmods.dev/skills/ttdazi/androidaiskills/android-cli-docs-skills"><img src="https://agentmods.dev/badge/skills/ttdazi/androidaiskills/android-cli-docs-skills.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00101 $0.00957
Opus 5 $0.00051 $0.00478
Sonnet 5 $0.00020 $0.00191
Haiku 4.5 $0.00010 $0.00096

Measured 6d ago against content hash 22e54c513b37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

android-cli-docs-skills scanned grade A with 0 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

android-cli-docs-skills/SKILL.md · 50 lines

What it actually says

Android CLI:文档与 Skills

何时用本 skill

  • 需要 android docs(检索、拉取正文)、理解 kb:// 链接
  • 需要 android skills(列出、向工程或本机安装 skill 包)。
  • 需要区分 Cursor 里的 .md skill终端里的 android 命令

前置条件

  • 终端能执行 android(若提示找不到命令:新开终端,或在 PowerShell 中刷新 PATH: $env:Path = [System.Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [System.Environment]::GetEnvironmentVariable('Path','User'))。
  • 具体子命令参数以本机为准:先执行 android docs -handroid docs fetch -handroid skills -h

android docs(索引与 kb)

  1. 首次搜索常会看到索引构建日志(例如 Index created with ... items),属正常。
  2. android docs search <关键词> 返回条目;其中的 URL: kb://... 为 CLI 知识库 URI,不能在浏览器中直接打开。
  3. 查看正文:用 android docs fetch(参数格式以 android docs fetch -h 为准),把 kb:// 整段作为 fetch 的目标传入。
  4. 与 Context7 / 官网:第三方库 API、通用框架文档可用 Context7 或官网;CLI 索引里独有的 kb 条目必须通过 android docs fetch 拉取后再用于回答或贴入对话。

android skills(终端 skill 包)

  • android skills list:查看可用技能包列表。
  • 安装到当前仓库(供本仓库使用,需在项目根执行): android skills add --skill=<名称> --project=.
  • 安装位置:通常会在工程目录生成/更新与 Android CLI skill 相关的文件;若希望 所有 Cursor 工程共用同一套 Cursor Agent 可读的 SKILL.md,可将对应目录同步或放置到 %USERPROFILE%\.cursor\skills\<skill-name>\(与 项目内 .cursor/skills/ 并存时,在对话中说明「本机全局 vs 本仓库」即可)。
  • 与 Cursorandroid skills add 提供的是 可被拷贝或同步到 Cursor skills 目录的素材;Agent 是否加载取决于 Cursor 的 skill 发现规则及 SKILL.mddescription 的匹配,不是 android 命令自动替 Cursor 注册。

与本仓库其他 skill 的配合

  • ANR / bugreport / traces:优先使用本仓库 skill parsing-android-anr,而非本页流程。
  • Perfetto 采集(adb shell perfetto.pbtxtadb pull:使用 android-perfetto-capture。若要核对 TraceConfig / 平台对 perfetto 的说明,请仍通过本页的 android docs searchandroid docs fetch kb://... 拉取正文后再引用。

输出约定(Agent)

  • 若用户只给出 kb://:应先 fetch 再总结;未 fetch 到正文时不得编造文档细节。
  • 若检索结果与意图不符:建议用户 收窄关键词或改用 developer.android.com 浏览器检索。
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. 6d ago First seen · 50 lines · 101 tokens per session scan A 22e54c513b37

Subscribe to this mod's changes

android-cli-docs-skills is a skill published in the GitHub repository ttdazi/AndroidAISkills (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 101 tokens to every session and 957 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

orca-emulator-android

Control an Android emulator / device from inside Orca using the orca CLI. Use for listing/booting AVDs, taps, swipes, typing, hardware buttons (incl. Back and Recents), rotation, app install/launch, runtime permissions, the accessibility tree, and logcat — driving a real adb-connected device or emulator.…

stablyai/orca · 104 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens

android-pentest

安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析.

Netw0rkNoob/VulnClaw · 32 tokens