Agent skill

Aosp UI Framework

by aospbooks in aospbooks/aosp-internal-book

AOSP Part X — UI Framework. An agent skill from aospbooks/aosp-internal-book.

Apache-2.0Auto-check passedFrontend & Design

Install Aosp UI Framework

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

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

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

At a glance

AOSP Part X — UI Framework. An agent skill from aospbooks/aosp-internal-book.

  • Reasoning about Widgets and RemoteViews (AppWidget framework
  • 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
  • Host/provider model)

What it does

Aosp UI Framework is an agent skill from aospbooks/aosp-internal-book. AOSP Part X — UI Framework. Use when reasoning about Widgets and RemoteViews (AppWidget framework, RemoteViews, RemoteCompose, host/provider model), WebView (WebView Mainline module, Chromium content layer, renderer process, JS bridges, sandboxing), Accessibility (AccessibilityService, AccessibilityNodeInfo, TalkBack, magnification, Switch Access), or Internationalization (ICU, locale resolution, resource qualifier matching, RTL support, Unicode in AOSP). Chapters 44–46.

Its SKILL.md is about 430 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 Frontend & Design, covering Internationalization and Accessibility. 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 Widgets and RemoteViews (AppWidget framework
  • Host/provider model)
  • WebView (WebView Mainline module
  • Chromium content layer

Example prompts

  • “/aosp-ui-framework”

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 UI Framework loads about 429 tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 104 words of instructions outside code blocks.

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

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). 104 words, ~429 tokens.

Download SKILL.mdSave it as .claude/skills/aosp-ui-framework/SKILL.md (or your agent's skills folder).
name
aosp-ui-framework
description
AOSP Part X — UI Framework. Use when reasoning about Widgets and RemoteViews (AppWidget framework, RemoteViews, RemoteCompose, host/provider model), WebView (WebView Mainline module, Chromium content layer, renderer process, JS bridges, sandboxing), Accessibility (AccessibilityService, AccessibilityNodeInfo, TalkBack, magnification, Switch Access), or Internationalization (ICU, locale resolution, resource qualifier matching, RTL support, Unicode in AOSP). Chapters 44–46.
metadata.author
utzcoz
metadata.version
2026.06.24
metadata.last-updated
2026-10-05

AOSP Part X — UI Framework

Cross-cutting UI infrastructure: home-screen widgets, the WebView module, the accessibility framework, and locale/i18n handling.

Chapters in this Part

  • 44-widgets-remoteviews.md — AppWidget framework, RemoteViews, RemoteCompose, host/provider model, update flow
  • 45-webview.md — WebView Mainline module, Chromium content layer, renderer process, JS bridges, sandboxing
  • 46-accessibility.md — AccessibilityService, AccessibilityNodeInfo, TalkBack, magnification, accessibility events, Switch Access
  • 47-internationalization.md — ICU, locale resolution, resource qualifier matching, RTL support, formatters, Unicode in AOSP

When to load which chapter

  • Question mentions AppWidget, RemoteViews, RemoteCompose, widget host → 44-widgets-remoteviews.md
  • Question mentions WebView, Chromium, renderer process, JS interface → 45-webview.md
  • Question mentions AccessibilityService, AccessibilityNodeInfo, TalkBack, Switch Access → 46-accessibility.md
  • Question mentions ICU, locales, RTL, resource qualifiers → 47-internationalization.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/ui-framework of aospbooks/aosp-internal-book.

Open the folder on GitHubat commit fc0b48b

Compare with similar skills

Aosp UI Framework 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 UI Framework compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aosp UI Framework this skillaospbooks/aosp-internal-book139—~429Automated safety check: PassApache-2.0
Locale UI Patternsopenchamber/openchamber11k—~1.5kAutomated safety check: PassMIT
Instui Docsinstructure/instructure-ui482—~498Automated safety check: PassCustom licence
Accessibility I18ndevcodex-labs/devcodex439—~718Automated safety check: PassAGPL-3.0
Wfa Avalonia UItautcony/ChapterTool113—~1.1kAutomated safety check: PassGPL-3.0
Dotnet UInovotnyllc/dotnet-artisan233—~1.3kAutomated safety check: PassMIT

Similar skills

  • Locale UI Patterns

    openchamber/openchamber

    A skill your agent uses when creating or modifying OpenChamber UI text, labels, buttons, placeholders, aria labels, empty states, toasts, dialogs, settings copy, navigation labels, or any…

    11k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Instui Docs

    instructure/instructure-ui

    Look up authoritative Instructure UI (InstUI, @instructure/ui-) documentation — component APIs, props, theme variables, usage examples, and guides — by querying instructure.design's plaintext docs.

    482 GitHub stars~498 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Accessibility I18n

    devcodex-labs/devcodex

    无障碍与国际化专家 Owner — 当任务涉及可访问性、键盘操作、焦点、屏幕阅读器、ARIA、语言地区、本地化、RTL、翻译资源、用户可见文案或多语言文档时使用;要求把包容性体验和本地化验证绑定到真实用户路径。

    439 GitHub stars~718 tokensUpdated 22 days ago
    Frontend & DesignAuto-check passed
  • Wfa Avalonia UI

    tautcony/ChapterTool

    Phase D of a WinForms-to-Avalonia migration: build the Avalonia UI shell with composition, MVVM state and commands, responsive XAML, accessibility, localization boundaries, and behavior-focused…

    113 GitHub stars~1.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Dotnet UI

    novotnyllc/dotnet-artisan

    Builds .NET UI apps across Blazor (Server, WASM, Hybrid, Auto), MAUI (XAML, MVVM, Shell, Native AOT), Uno Platform (MVUX, Extensions, Toolkit), WPF (.NET 8+, Fluent theme), WinUI 3 (Windows App SDK…

    233 GitHub stars~1.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Generated Media QA

    calesthio/generative-media-skills

    Provider-independent quality assurance for AI-generated and AI-assisted media.

    193 GitHub stars~8k tokensUpdated 2 mo ago
    Frontend & DesignAuto-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 3 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 3 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 3 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 3 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 3 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 3 days ago
    Auto-check passed

Questions about Aosp UI Framework

What does Aosp UI Framework do?

AOSP Part X — UI Framework. An agent skill from aospbooks/aosp-internal-book. Aosp UI Framework is an agent skill from aospbooks/aosp-internal-book. AOSP Part X — UI Framework.

When should I use Aosp UI Framework?

Aosp UI Framework fits situations like: reasoning about Widgets and RemoteViews (AppWidget framework; host/provider model); webView (WebView Mainline module; chromium content layer.

How do I install Aosp UI Framework in Claude Code?

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

How do I install Aosp UI Framework in Codex?

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

Can I use Aosp UI Framework 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-ui-framework -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-ui-framework, .gemini/skills/aosp-ui-framework, .github/skills/aosp-ui-framework and .opencode/skills/aosp-ui-framework in your project.

What does Aosp UI Framework need to run?

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

Does Aosp UI Framework 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 UI Framework 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 UI Framework use?

Aosp UI Framework 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 UI Framework use?

About 429 tokens (SKILL.md is roughly 1.7k 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 UI Framework?

Skills that share tags, products or a category with Aosp UI Framework: Locale UI Patterns (openchamber/openchamber, 11k stars), Instui Docs (instructure/instructure-ui, 482 stars), Accessibility I18n (devcodex-labs/devcodex, 439 stars) and Wfa Avalonia UI (tautcony/ChapterTool, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aosp UI Framework?

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.