android-source-search
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "android-source-search" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-544abe1dcbe1045054c4071acf537f1d3900e8731911df6dbb9db3822221f906. Verify the upstream source and version against https://github.com/rcosteira79/android-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use when you need Android source code — including AOSP platform internals (e.g., @hide APIs, framework classes, system services) or AndroidX/Jetpack libraries and examples. Use this method when public documentation is insufficient and you must read implementation details directly from the source.
Introduction source: third_party · rcosteira79 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when needing to fetch Android source code — AOSP platform internals (@hide APIs, framework classes, system services) or AndroidX/Jetpack library source and samples. Also use when public docs are insufficient to complete a task and implementation details must be read directly from source.
- Testing
- Not tested
Browse files
Frontmatter
name: android-source-search
description: Use when needing to fetch Android source code — AOSP platform internals (@hide APIs, framework classes, system services) or AndroidX/Jetpack library source and samples. Also use when public docs are insufficient to complete a task and implementation details must be read directly from source.Android Source Search
Two source trees, two access strategies. AOSP lives on android.googlesource.com (Gitiles); AndroidX lives on GitHub. cs.android.com blocks automated fetching — it's a human-browse JS SPA only (never WebFetch it).
Preferred: the android-sources MCP
If mcp__android-sources__* tools are available, always prefer them over WebFetch/gh — local source, sub-10ms lookups. Fall back to the strategies below only when they aren't.
Fallback: WebFetch + gh
AOSP (framework internals, @hide APIs, internal constants, default attr values) → Gitiles. Raw text is base64-encoded and smaller:
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/{path}?format=TEXT
Use refs/heads/main (the active default branch), or a tag like android-14.0.0_r74 for a specific API level. Key repos: platform/frameworks/base (core/java/android/ → View/Activity/Context; services/core/java/ → system services; core/res/ → default attrs/styles), platform/libcore (ojluni/src/main/java/ → Java core).
AndroidX (androidx.* source + samples) → GitHub. File content via raw.githubusercontent.com; directory listings via gh api:
https://raw.githubusercontent.com/androidx/androidx/androidx-main/{path}
gh api repos/androidx/androidx/contents/{path} --jq '.[].name'
Samples live next to the source as {ClassName}Samples.kt under a samples/ subpath. Key path prefixes: Compose UI compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/, Foundation compose/foundation/foundation/src/commonMain/kotlin/, Animation compose/animation/animation/src/commonMain/kotlin/. AndroidX is mirrored on Gitiles (platform/frameworks/support, androidx-main), but the GitHub layout is the canonical, better-documented path for androidx.* — prefer it.
When the path is unknown
Use cs.android.com as a human search UI (not WebFetch — JS SPA) to locate the class/file, then fetch via Gitiles (AOSP) or raw.githubusercontent.com / gh api (AndroidX):
https://cs.android.com/search?q=ClassName+methodName&ss=android # &ss=androidx for AndroidX
Both trees change frequently — always fetch current source rather than trusting remembered line numbers.
Version history
-
v5.2.0
GitHub ↗
Original release notes
First tagged release of the **5.x** line — capturing everything merged since `v3.0.0` (89 commits, 12 PRs). The through-line: repeated roster audits that grew the collection to 21 skills and then trimmed each one to the content that actually earns its place against a strong base model. ## Highlights ### New skills - **`pdf-annotations`** — platform PDF annotation & page-object editing (API 36.1 / SDK-extension-18 surface) (#29) - **`koin`**, **`kmp-boundaries`**, **`modularization`**, **`datastore`**, **`paging`** — added across the roster audits (#4, #6) - **`android-testing`** — renamed and reorganised from `android-tdd`, with the compose reference reorg (#10) ### Roster audits & quality passes - **Sonnet 4.6 baseline audit** — trimmed every skill to its earned core; fixed stale claims across the roster (#13) - **Roster audit v1 / v2** — new skills plus multi-source depth passes across references (#4 → 4.1.0, #6 → 5.0.0) - **JetBrains skills audit** — README link + AGP 9 additions across three skills (#7 → 4.2.0) - **Verified micro-lifts** — debug-log hygiene, perf baseline, pass-through red flag (#12) ### Integrations & maintenance - Integrated findings from **skydoves/android-testing-skills**, with a documented cherry-pick subset (#5, #9) - **Upstream drift watcher** for credited skill repos (#8) - Re-baselined the upstream-audit ledger (#11) - Lint hygiene: stale frontmatter/link fixes (#30) ### This release - Restructured **README** with a centered badge header; the version badge tracks the plugin manifest via a dynamic JSON badge, so it never drifts - Trimmed `pdf-annotations` provenance asides while keeping every API contract and the version gate --- ## What's Changed * Roster audit: 2 new skills, 4 contradiction fixes, depth pass across 8 references (4.1.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/4 * JetBrains skills audit: README link + AGP 9 additions across 3 skills (4.2.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/7 * Integrate findings from skydoves/android-testing-skills by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/5 * Add upstream drift watcher for credited skill repos by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/8 * Document skydoves cherry-pick subset and breadcrumb it to android-tdd by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/9 * Roster audit v2: 3 new skills + multi-source depth pass across 13 files (5.0.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/6 * Rename android-tdd → android-testing + compose reference reorg by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/10 * chore: re-baseline upstream-audit-ledger (2026-06-01) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/11 * Verified micro-lifts: debug-log hygiene, perf baseline, pass-through red flag by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/12 * Audit the android-skills roster against the Sonnet 4.6 baseline — trim to the earned core by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/13 * Add pdf-annotations skill: platform PDF annotation & page-object editing by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/29 * Fix stale skill frontmatter/link (lint hygiene) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/30 **Full Changelog**: https://github.com/rcosteira79/android-skills/compare/v3.0.0...v5.2.0
-
v3.0.0
GitHub ↗
Original release notes
## Highlights The 3.0.0 cycle adds a new networking skill for KMP, sharper guidance across existing skills via paired RIGHT/WRONG examples, and integration with Google's `android` CLI for runtime UI inspection and authoritative documentation lookup. ## New skill - **`kmp-ktor`** — Ktor client setup for Kotlin Multiplatform and Android: per-platform engine selection (OkHttp/Darwin/CIO), `kotlinx.serialization` with the `encodeDefaults` guard, bearer token auth with refresh via the `Auth` plugin and `markAsRefreshTokenRequest()`, `MockEngine` testing, and `DataError` mapping at the repository boundary. ## Skill improvements - RIGHT vs WRONG sections added to four skills: `kotlin-flows`, `android-retrofit`, `coil-compose`, `android-data-layer` - `compose` skill: Authoritative Docs section using `android docs search` - `android-debugging` skill: Runtime UI Inspection via `android layout` - `compose/references/performance.md`: `android layout --diff` as a CLI alternative to Android Studio's Layout Inspector ## Tooling and documentation - Google's `android` CLI documented as a recommended companion tool - `android-source-explorer-mcp` promoted from optional to recommended - README restructured: agent install steps first, companion tools last - Related Projects expanded with `compose-skill` (Meet-Miyani), `compose_skill` (hamen), and `android-reverse-engineering-skill` ## Inspiration credits The `kmp-ktor` skill draws on the Ktor reference structure from [Meet-Miyani/compose-skill](https://github.com/Meet-Miyani/compose-skill).
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 精准定位 Android 开发者在查阅 AOSP/AndroidX 源码时的核心痛点
- 区分平台内部实现与 Jetpack 库两类场景,实用性强
Highlights
- description 明确界定使用时机:文档不足或需直接读取源码实现细节
- 覆盖 AOSP 与 AndroidX 两大主流源码树,边界清晰
Highlights
- 结构分层清晰:优先使用 MCP 工具 → fallback 到 WebFetch/gh → 路径未知时的搜索策略
- 提供可直接复用的 Gitiles/GitHub URL 模板及 gh api 命令示例
Highlights
- 明确指出 cs.android.com 不可自动化抓取,避免误用
- 强调实时拉取源码而非依赖记忆行号,保障结果时效性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- android.googlesource.com
- cs.android.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.