Agent skill

Aosp Native Services And Media

by aospbooks in aospbooks/aosp-internal-book

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

Apache-2.0Auto-check passed

Install Aosp Native Services And Media

skills CLI
$ npx skills add aospbooks/aosp-internal-book --skill aosp-native-services-and-media -a claude-code

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

GitHub CLI
$ gh skill install aospbooks/aosp-internal-book aosp-native-services-and-media --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/native-services-and-media .claude/skills/aosp-native-services-and-media && 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-native-services-and-media
GitHub stars
139
Token cost
~606 tokens
SKILL.md length
157 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Reasoning about surfaceflinger
  • 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
  • The graphics pipeline (BufferQueue

What it does

Aosp Native Services And Media is an agent skill from aospbooks/aosp-internal-book. AOSP Part IV — Native Services & Media. Use when reasoning about surfaceflinger, audioserver, mediaserver, cameraserver, the graphics pipeline (BufferQueue, GraphicBuffer, OpenGL ES / Vulkan / Skia / HWUI, RenderThread, layer composition), the animation system (Choreographer, ValueAnimator, RenderNode animations, dynamic spring/fling), the audio stack (AudioFlinger, AudioPolicyManager, AAudio, OpenSL ES, Spatializer), the media pipeline (MediaCodec, MediaExtractor, NuPlayer, codec2 HAL), or the sensor stack…

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

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 surfaceflinger
  • The graphics pipeline (BufferQueue
  • OpenGL ES / Vulkan / Skia / HWUI
  • Layer composition)

Example prompts

  • “/aosp-native-services-and-media”

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 Native Services And Media loads about 606 tokens when it runs. Until then it costs about 154 tokens; SKILL.md has 157 words of instructions outside code blocks.

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

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). 157 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/aosp-native-services-and-media/SKILL.md (or your agent's skills folder).
name
aosp-native-services-and-media
description
AOSP Part IV — Native Services & Media. Use when reasoning about surfaceflinger, audioserver, mediaserver, cameraserver, the graphics pipeline (BufferQueue, GraphicBuffer, OpenGL ES / Vulkan / Skia / HWUI, RenderThread, layer composition), the animation system (Choreographer, ValueAnimator, RenderNode animations, dynamic spring/fling), the audio stack (AudioFlinger, AudioPolicyManager, AAudio, OpenSL ES, Spatializer), the media pipeline (MediaCodec, MediaExtractor, NuPlayer, codec2 HAL), or the sensor stack (SensorService, sensor HAL, batching, wake-up sensors). Chapters 12–17.
metadata.author
utzcoz
metadata.version
2026.06.24
metadata.last-updated
2026-10-05

AOSP Part IV — Native Services & Media

The native daemons that run continuously and own audio, video, sensors, and the graphics composition pipeline.

Chapters in this Part

  • 12-native-services.md — surfaceflinger, audioserver, mediaserver, cameraserver process layout, init triggers, AIDL boundaries, HAL clients
  • 13-graphics-render-pipeline.md — SurfaceFlinger, BufferQueue, GraphicBuffer, OpenGL ES / Vulkan / Skia / HWUI, RenderThread, layer composition
  • 14-animation-system.md — Choreographer, ValueAnimator/ObjectAnimator, RenderNode animations, dynamic animation, shared-element transitions
  • 15-audio-system.md — AudioFlinger, AudioPolicyManager, audio HAL, AAudio/OpenSL ES, spatial audio (Spatializer), routing rules
  • 16-media-and-camera.md — MediaCodec, MediaExtractor, NuPlayer, codec2 HAL, camera service, image/video pipeline overview
  • 17-sensors.md — SensorService, sensor HAL, batching, wake-up sensors, FIFO and event delivery, sensor fusion

When to load which chapter

  • Question is about which native daemons exist or how they boot → 12-native-services.md
  • Question mentions SurfaceFlinger, BufferQueue, GraphicBuffer, OpenGL/Vulkan/Skia/HWUI, RenderThread, composition → 13-graphics-render-pipeline.md
  • Question mentions Choreographer, animator classes, RenderNode animations, springs/flings → 14-animation-system.md
  • Question mentions AudioFlinger, AudioPolicyManager, AAudio, OpenSL ES, Spatializer → 15-audio-system.md
  • Question mentions MediaCodec, MediaExtractor, NuPlayer, codec2, camera service → 16-media-and-camera.md
  • Question mentions sensors, SensorService, wake-up sensors, batching → 17-sensors.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/native-services-and-media of aospbooks/aosp-internal-book.

Open the folder on GitHubat commit fc0b48b

Compare with similar skills

Aosp Native Services And Media 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 Native Services And Media compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aosp Native Services And Media this skillaospbooks/aosp-internal-book139—~606Automated safety check: PassApache-2.0
Deepseek Reasonruvnet/ruflo74k—~626Automated safety check: NotesMIT
Step Partsearthtojake/text-to-cad19k1 repos~1.5kAutomated safety check: PassMIT
Ejentum Reasoning Harnesssickn33/agentic-awesome-skills47k1 repos~1.9kAutomated safety check: PassMIT
Canopy Part Title Blockheygen-com/hyperframes60k1 repos~1kAutomated safety check: PassApache-2.0
Nowait Reasoning Optimizerdavila7/claude-code-templates33k2 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Deepseek Reason

    ruvnet/ruflo

    Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

    74k GitHub stars~626 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Step Parts

    earthtojake/text-to-cad

    Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers…

    19k GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • Ejentum Reasoning Harness

    sickn33/agentic-awesome-skills

    MCP server exposing four cognitive harness modes (reasoning, code, anti-deception, memory).

    47k GitHub starsUsed in 1 repo~1.9k tokens
    DevelopmentAuto-check passed
  • Canopy Part Title Block

    heygen-com/hyperframes

    A HyperFrames video block in which a canopy of leaves sweeps across the frame and parts to reveal two headlines, rendered at 1920×1080 for 12 seconds.

    60k GitHub starsUsed in 1 repo~1k tokens
    Media & CreativeAuto-check passed
  • Nowait Reasoning Optimizer

    davila7/claude-code-templates

    Implements the NOWAIT technique for efficient reasoning in R1-style LLMs.

    33k GitHub starsUsed in 2 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Recall Reasoning

    parcadei/Continuous-Claude-v3

    Search past reasoning for relevant decisions and approaches. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~758 tokens
    DevelopmentAuto-check passed

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 6 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 6 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 6 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 6 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 6 days ago
    Auto-check passed
  • Aosp AI And Devices

    aospbooks/aosp-internal-book

    AOSP Part XII — AI & Devices. An agent skill from aospbooks/aosp-internal-book.

    139 GitHub stars~411 tokensUpdated 6 days ago
    Auto-check passed

Questions about Aosp Native Services And Media

What does Aosp Native Services And Media do?

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

When should I use Aosp Native Services And Media?

Aosp Native Services And Media fits situations like: reasoning about surfaceflinger; the graphics pipeline (BufferQueue; openGL ES / Vulkan / Skia / HWUI; layer composition).

How do I install Aosp Native Services And Media in Claude Code?

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

How do I install Aosp Native Services And Media in Codex?

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

Can I use Aosp Native Services And Media 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-native-services-and-media -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-native-services-and-media, .gemini/skills/aosp-native-services-and-media, .github/skills/aosp-native-services-and-media and .opencode/skills/aosp-native-services-and-media in your project.

What does Aosp Native Services And Media need to run?

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

Does Aosp Native Services And Media 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 Native Services And Media 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 Native Services And Media use?

Aosp Native Services And Media 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 Native Services And Media use?

About 606 tokens (SKILL.md is roughly 2.4k 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 Native Services And Media?

Skills that share tags, products or a category with Aosp Native Services And Media: Deepseek Reason (ruvnet/ruflo, 74k stars), Step Parts (earthtojake/text-to-cad, 19k stars), Ejentum Reasoning Harness (sickn33/agentic-awesome-skills, 47k stars) and Canopy Part Title Block (heygen-com/hyperframes, 60k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aosp Native Services And Media?

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.