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.
npx agentmods add skills/ttdazi/androidaiskills/android-cli-docs-skillsnpx skills add ttdazi/AndroidAISkills --skill android-cli-docs-skillsgit clone --depth 1 https://github.com/ttdazi/AndroidAISkillsWrote 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.
[](https://agentmods.dev/skills/ttdazi/androidaiskills/android-cli-docs-skills)<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>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.
| Model | Per session | Once 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 |
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.
What it actually says
Android CLI:文档与 Skills
何时用本 skill
- 需要
android docs(检索、拉取正文)、理解kb://链接。 - 需要
android skills(列出、向工程或本机安装 skill 包)。 - 需要区分 Cursor 里的
.mdskill 与 终端里的android命令。
前置条件
- 终端能执行
android(若提示找不到命令:新开终端,或在 PowerShell 中刷新 PATH:$env:Path = [System.Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [System.Environment]::GetEnvironmentVariable('Path','User'))。 - 具体子命令参数以本机为准:先执行
android docs -h、android docs fetch -h、android skills -h。
android docs(索引与 kb)
- 首次搜索常会看到索引构建日志(例如
Index created with ... items),属正常。 android docs search <关键词>返回条目;其中的URL: kb://...为 CLI 知识库 URI,不能在浏览器中直接打开。- 查看正文:用
android docs fetch(参数格式以android docs fetch -h为准),把kb://整段作为 fetch 的目标传入。 - 与 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 本仓库」即可)。 - 与 Cursor:
android skills add提供的是 可被拷贝或同步到 Cursor skills 目录的素材;Agent 是否加载取决于 Cursor 的 skill 发现规则及SKILL.md中description的匹配,不是android命令自动替 Cursor 注册。
与本仓库其他 skill 的配合
- ANR / bugreport / traces:优先使用本仓库 skill
parsing-android-anr,而非本页流程。 - Perfetto 采集(
adb shell perfetto、.pbtxt、adb pull):使用android-perfetto-capture。若要核对 TraceConfig / 平台对 perfetto 的说明,请仍通过本页的android docs search与android docs fetch kb://...拉取正文后再引用。
输出约定(Agent)
- 若用户只给出
kb://:应先 fetch 再总结;未 fetch 到正文时不得编造文档细节。 - 若检索结果与意图不符:建议用户 收窄关键词或改用 developer.android.com 浏览器检索。
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.
- 6d ago First seen · 50 lines · 101 tokens per session scan A 22e54c513b37
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.
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.…
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…
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.
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.
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"…
android-pentest
安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析.