Agent skill

Aosp Infrastructure

by aospbooks in aospbooks/aosp-internal-book

AOSP Part XIII — Infrastructure. An agent skill from aospbooks/aosp-internal-book.

Apache-2.0Auto-check passedDevelopment

Install Aosp Infrastructure

skills CLI
$ npx skills add aospbooks/aosp-internal-book --skill aosp-infrastructure -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aospbooks/aosp-internal-book aosp-infrastructure --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aospbooks/aosp-internal-book.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/_content/parts/infrastructure .claude/skills/aosp-infrastructure && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aosp-infrastructure
GitHub stars
139
Token cost
~485 tokens
SKILL.md length
126 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

AOSP Part XIII — Infrastructure. An agent skill from aospbooks/aosp-internal-book.

  • Reasoning about Mainline modules / APEX (Project Mainline
  • SKILL.md covers Chapters in this Part and When to load which chapter
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • APEX format/manifest/signing

What it does

Aosp Infrastructure is an agent skill from aospbooks/aosp-internal-book. AOSP Part XIII — Infrastructure. Use when reasoning about Mainline modules / APEX (Project Mainline, APEX format/manifest/signing, apexd, module catalog, SDK Extensions, module boundaries), OTA updates (A/B updates, updateengine, payload format, Virtual A/B with snapshots, rollback protection), Virtualization (Android Virtualization Framework, pKVM, crosvm, microdroid), Testing (CTS/VTS/MTS, Tradefed, Ravenwood, atest, presubmit), or Debugging (Perfetto, atrace, simpleperf, heapprofd, logcat, dumpsys). Chapters…

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Mobile testing and debugging and Debugging. It works with Android. The repository describes itself as: The book introduces the internal of AOSP. The licence is Apache-2.0.

When your agent uses it

  • Reasoning about Mainline modules / APEX (Project Mainline
  • APEX format/manifest/signing
  • Module boundaries)
  • OTA updates (A/B updates

Example prompts

  • “/aosp-infrastructure”

What it can do on your machine

Read from SKILL.md and the folder at commit fc0b48b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aosp Infrastructure loads about 485 tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 126 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~485

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aospbooks/aosp-internal-book at commit fc0b48b, republished under its Apache-2.0 licence (© aospbooks). 126 words, ~485 tokens.

Download SKILL.mdSave it as .claude/skills/aosp-infrastructure/SKILL.md (or your agent's skills folder).
name
aosp-infrastructure
description
AOSP Part XIII — Infrastructure. Use when reasoning about Mainline modules / APEX (Project Mainline, APEX format/manifest/signing, apexd, module catalog, SDK Extensions, module boundaries), OTA updates (A/B updates, update_engine, payload format, Virtual A/B with snapshots, rollback protection), Virtualization (Android Virtualization Framework, pKVM, crosvm, microdroid), Testing (CTS/VTS/MTS, Tradefed, Ravenwood, atest, presubmit), or Debugging (Perfetto, atrace, simpleperf, heapprofd, logcat, dumpsys). Chapters 54–56.
metadata.author
utzcoz
metadata.version
2026.06.24
metadata.last-updated
2026-10-05

AOSP Part XIII — Infrastructure

Cross-cutting platform infrastructure: how the platform updates itself, how isolated workloads run, and how tests/traces/profiles work.

Chapters in this Part

  • 54-mainline-modules.md — Project Mainline, APEX format/manifest/signing, apexd, module catalog, SDK Extensions, module boundaries
  • 55-ota-updates.md — A/B updates, update_engine, payload format, virtual A/B with snapshots, rollback protection
  • 56-virtualization.md — Android Virtualization Framework, pKVM hypervisor, crosvm, microdroid, isolated workloads
  • 57-testing.md — CTS/VTS/MTS, Tradefed, Ravenwood (host-side framework testing), atest, presubmit infrastructure
  • 58-debugging-tools.md — Perfetto trace pipeline, atrace, simpleperf, heapprofd, logcat, dumpsys conventions

When to load which chapter

  • Question mentions APEX, Mainline, apexd, SDK Extensions → 54-mainline-modules.md
  • Question mentions OTA, A/B updates, update_engine, virtual A/B, snapshot, rollback → 55-ota-updates.md
  • Question mentions AVF, pKVM, crosvm, microdroid → 56-virtualization.md
  • Question mentions CTS, VTS, MTS, Tradefed, Ravenwood, atest → 57-testing.md
  • Question mentions Perfetto, atrace, simpleperf, heapprofd, dumpsys → 58-debugging-tools.md

© aospbooks, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agents/_content/parts/infrastructure of aospbooks/aosp-internal-book.

Open the folder on GitHubat commit fc0b48b

Compare with similar skills

Aosp Infrastructure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aosp Infrastructure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aosp Infrastructure this skillaospbooks/aosp-internal-book139—~485Automated safety check: PassApache-2.0
Mobile Debuggingjamditis/claude-skills-journalism417—~5.2kAutomated safety check: NotesMIT
Slay the Amethyst Feedback DiagnosisModinMobileSTS/SlayTheAmethystModded403—~2.6kAutomated safety check: PassCustom licence
Android Debuggingrcosteira79/android-skills153—~2.6kAutomated safety check: PassMIT
Mobile App Debuggingsecondsky/claude-skills227—~513Automated safety check: PassMIT
Maui AI DebuggingRedth/Maui.Gtk101—~4.1kAutomated safety check: PassMIT

Similar skills

  • Mobile Debugging

    jamditis/claude-skills-journalism

    Remote JavaScript console and debugging on mobile. An agent skill from jamditis/claude-skills-journalism.

    417 GitHub stars~5.2k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes
  • Slay the Amethyst Feedback Diagnosis

    ModinMobileSTS/SlayTheAmethystModded

    Reads Slay the Amethyst diagnostics bundles to decide whether a problem comes from the launcher, a mod or the device, citing exact files and lines.

    403 GitHub stars~2.6k tokensUpdated yesterday
    MobileAuto-check passed
  • Android Debugging

    rcosteira79/android-skills

    Android and KMP debugging techniques for crashes, ANRs, memory leaks, R8 traces, Gradle failures and Compose recomposition, built on finding the root cause first.

    153 GitHub stars~2.6k tokensUpdated 20 days ago
    MobileAuto-check passed
  • Mobile App Debugging

    secondsky/claude-skills

    Mobile app debugging for iOS, Android, cross-platform frameworks.

    227 GitHub stars~513 tokensUpdated 11 days ago
    MobileAuto-check passed
  • Maui AI Debugging

    Redth/Maui.Gtk

    End-to-end workflow for building, deploying, inspecting, and debugging .NET MAUI and MAUI Blazor Hybrid apps as an AI agent.

    101 GitHub stars~4.1k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Magicnet Device Debugging

    LIghtJUNction/MagicNet

    Debug and verify MagicNet on a real Android root device. An agent skill from LIghtJUNction/MagicNet.

    185 GitHub stars~2.9k tokensUpdated yesterday
    MobileAuto-check: notes

More from aospbooks/aosp-internal-book

All 17 skills in this repo
  • Book Writer

    aospbooks/aosp-internal-book

    Patterns for writing technical book chapters in Markdown with Mermaid diagrams, served via ProperDocs (a MkDocs fork).

    139 GitHub stars~3.1k tokensUpdated 4 days ago
    Auto-check passed
  • Aosp Version Diff

    aospbooks/aosp-internal-book

    Compare two AOSP releases (e.g. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~2k tokensUpdated 4 days ago
    Auto-check passed
  • Aosp Device Support

    aospbooks/aosp-internal-book

    AOSP Part XIV — Device Support. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~574 tokensUpdated 4 days ago
    Auto-check passed
  • Aosp Framework Core

    aospbooks/aosp-internal-book

    AOSP Part VI — Framework Core. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~628 tokensUpdated 4 days ago
    Auto-check passed
  • Aosp Framework Services

    aospbooks/aosp-internal-book

    AOSP Part VII — Framework Services. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~888 tokensUpdated 4 days ago
    Auto-check passed
  • Aosp Native Services And Media

    aospbooks/aosp-internal-book

    AOSP Part IV — Native Services & Media. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~606 tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Aosp Infrastructure

What does Aosp Infrastructure do?

AOSP Part XIII — Infrastructure. An agent skill from aospbooks/aosp-internal-book. Aosp Infrastructure is an agent skill from aospbooks/aosp-internal-book. AOSP Part XIII — Infrastructure.

When should I use Aosp Infrastructure?

Aosp Infrastructure fits situations like: reasoning about Mainline modules / APEX (Project Mainline; APEX format/manifest/signing; module boundaries); OTA updates (A/B updates.

How do I install Aosp Infrastructure in Claude Code?

Run `npx skills add aospbooks/aosp-internal-book --skill aosp-infrastructure -a claude-code`. Or copy the skill folder (agents/_content/parts/infrastructure in aospbooks/aosp-internal-book) into .claude/skills/aosp-infrastructure in your project. Claude Code loads it when a task matches its description.

How do I install Aosp Infrastructure in Codex?

Run `npx skills add aospbooks/aosp-internal-book --skill aosp-infrastructure -a codex`. Or copy the skill folder (agents/_content/parts/infrastructure in aospbooks/aosp-internal-book) into .agents/skills/aosp-infrastructure in your project. Codex loads it when a task matches its description.

Can I use Aosp Infrastructure in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aospbooks/aosp-internal-book --skill aosp-infrastructure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aosp-infrastructure, .gemini/skills/aosp-infrastructure, .github/skills/aosp-infrastructure and .opencode/skills/aosp-infrastructure in your project.

What does Aosp Infrastructure need to run?

SKILL.md names no scripts, command-line tools or credentials: Aosp Infrastructure is instructions for the agent only.

Does Aosp Infrastructure access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Aosp Infrastructure safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Aosp Infrastructure use?

Aosp Infrastructure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aosp Infrastructure use?

About 485 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aosp Infrastructure?

Skills that share tags, products or a category with Aosp Infrastructure: Mobile Debugging (jamditis/claude-skills-journalism, 417 stars), Slay the Amethyst Feedback Diagnosis (ModinMobileSTS/SlayTheAmethystModded, 403 stars), Android Debugging (rcosteira79/android-skills, 153 stars) and Mobile App Debugging (secondsky/claude-skills, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aosp Infrastructure?

aospbooks (a GitHub organization) maintains it in aospbooks/aosp-internal-book, which has 139 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 5, 2026.

Source: aospbooks/aosp-internal-book on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.