aosp-search

Retrieve and analyze AOSP source code for framework internals verification.

119|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/rcosteira79/android-skills --skill aosp-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aosp-search
Source: https://github.com/rcosteira79/android-skills/tree/main/skills/aosp-search
Command: npx skills add https://github.com/rcosteira79/android-skills --skill aosp-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you investigate the inner workings of the Android Open Source Project (AOSP) when public documentation is insufficient or misleading, enabling a deeper understanding of framework behavior.

Core Features & Use Cases

  • Verify Framework Internals: Confirm how specific Android system components or APIs function under the hood.
  • Find Hidden APIs: Discover and understand @hide methods, internal constants, and default values not exposed in public APIs.
  • Trace Implementation Details: Follow the execution flow from public APIs to underlying native code or system services.
  • Use Case: You suspect a particular system service behaves differently than documented for a specific API level. Use this Skill to fetch the relevant source code from AOSP Gitiles and examine the implementation directly.

Quick Start

Fetch the raw text content of the android.view.ViewGroup.java file from the AOSP main branch.

Frequently Asked Questions about aosp-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find @hide APIs and internal constants in Android framework source code?

You can trace Android framework internals by fetching raw source files from AOSP Gitiles and using cs.android.com for initial search guidance to verify @hide APIs, internal constants, default values, and execution flow into native code or system services.

What is the best way to verify how an Android system service behaves under the hood?

The best way to verify Android system service behavior is to retrieve and analyze AOSP source code directly, allowing you to examine implementation details and confirm functionality when public documentation is insufficient or misleading.

Can I trace execution flow from public Android APIs to native code using AOSP source?

Yes, you can trace execution flow from public Android APIs to native code or system services by retrieving and analyzing AOSP source code to follow the implementation path through the framework internals.

How do I fetch a specific Android framework file like ViewGroup.java from the AOSP main branch?

To fetch a specific Android framework file like ViewGroup.java from the AOSP main branch, the Skill utilizes Gitiles to retrieve the raw text content of source files for direct examination of framework internals.

When should I examine AOSP source code instead of relying on Android public documentation?

You should examine AOSP source code when public documentation is insufficient or misleading, particularly when you need to verify internal constants, default values, @hide APIs, or trace implementation details across system services.