Agent skill

Aosp Framework Services

by aospbooks in aospbooks/aosp-internal-book

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

Apache-2.0Auto-check passedDatabases

Install Aosp Framework Services

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

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

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

At a glance

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

  • Reasoning about PackageManagerService (install/uninstall
  • 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
  • Package visibility)

What it does

Aosp Framework Services is an agent skill from aospbooks/aosp-internal-book. AOSP Part VII — Framework Services. Use when reasoning about PackageManagerService (install/uninstall, APK parsing, permissions, package visibility), ContentProviders (ContentResolver, URI permissions, observers, FileProvider, MediaStore), Notifications (NMS, channels, ranker, posting/delivery, listener services, conversations, bubbles), Power Management (PowerManagerService, wake locks, Doze, App Standby, battery saver, BatteryStats), Background Tasks (JobScheduler, WorkManager, AlarmManager, foreground…

Its SKILL.md is about 890 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 Databases. It works with SQLite. 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 PackageManagerService (install/uninstall
  • Package visibility)
  • ContentProviders (ContentResolver
  • URI permissions

Example prompts

  • “/aosp-framework-services”

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 Framework Services loads about 888 tokens when it runs. Until then it costs about 242 tokens; SKILL.md has 216 words of instructions outside code blocks.

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

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). 216 words, ~888 tokens.

Download SKILL.mdSave it as .claude/skills/aosp-framework-services/SKILL.md (or your agent's skills folder).
name
aosp-framework-services
description
AOSP Part VII — Framework Services. Use when reasoning about PackageManagerService (install/uninstall, APK parsing, permissions, package visibility), ContentProviders (ContentResolver, URI permissions, observers, FileProvider, MediaStore), Notifications (NMS, channels, ranker, posting/delivery, listener services, conversations, bubbles), Power Management (PowerManagerService, wake locks, Doze, App Standby, battery saver, BatteryStats), Background Tasks (JobScheduler, WorkManager, AlarmManager, foreground services, exact alarm policy), Multi-User (UserManagerService, profiles, restrictions, cross-user calls), Account & Sync (AccountManagerService, authenticator, syncadapter, SyncManager), Location (LocationManagerService, GPS/network/fused providers, GNSS HAL, geofencing), or Storage (vold, StorageManagerService, scoped storage, FUSE/sdcardfs, MediaProvider, SAF, FBE, adoptable storage, SQLite, SharedPreferences). Chapters 26–34.
metadata.author
utzcoz
metadata.version
2026.06.24
metadata.last-updated
2026-10-05

AOSP Part VII — Framework Services

Java system services that own per-app and per-user state: package install, content sharing, notifications, power, background work, multi-user, accounts, location, and storage.

Chapters in this Part

  • 26-package-manager.md — PMS, install/uninstall flow, APK parsing, permissions, app components, package visibility
  • 27-content-providers.md — ContentProvider, ContentResolver, URI permissions, observers, FileProvider, MediaStore worked example
  • 28-notifications.md — NotificationManagerService, channels, ranker, posting/delivery, listener services, conversations, bubbles
  • 29-power-management.md — PowerManagerService, wake locks, Doze, App Standby, battery saver, screen on/off, BatteryStats
  • 30-background-tasks.md — JobScheduler, WorkManager, AlarmManager, foreground services, exact alarm policy, restrictions and quotas
  • 31-multi-user.md — UserManagerService, user types (full/profile/system), creation/start/stop, restrictions, cross-user calls
  • 32-account-sync.md — AccountManagerService, authenticator/syncadapter, token caching, SyncManager, periodic sync scheduling
  • 33-location.md — LocationManagerService, providers (GPS/network/fused), GNSS HAL, mock providers, geofencing
  • 34-storage.md — vold, StorageManagerService, scoped storage, FUSE/sdcardfs, MediaProvider, SAF, FBE, adoptable storage, SQLite/SharedPreferences

When to load which chapter

  • Question mentions PackageManager, install/uninstall, APK parsing, permissions, package visibility → 26-package-manager.md
  • Question mentions ContentProvider, ContentResolver, URI grant, FileProvider, MediaStore → 27-content-providers.md
  • Question mentions notifications, NMS, channels, ranker, conversations, bubbles → 28-notifications.md
  • Question mentions PowerManager, wake locks, Doze, App Standby, BatteryStats → 29-power-management.md
  • Question mentions JobScheduler, WorkManager, AlarmManager, foreground service, exact alarm → 30-background-tasks.md
  • Question mentions UserManager, work profile, multi-user, user restrictions → 31-multi-user.md
  • Question mentions AccountManager, authenticator, SyncAdapter, SyncManager → 32-account-sync.md
  • Question mentions LocationManager, GNSS, fused location, geofencing → 33-location.md
  • Question mentions vold, StorageManager, scoped storage, FUSE, MediaProvider, SAF, FBE, adoptable storage, SQLite, SharedPreferences → 34-storage.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/framework-services of aospbooks/aosp-internal-book.

Open the folder on GitHubat commit fc0b48b

Compare with similar skills

Aosp Framework Services 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 Framework Services compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aosp Framework Services this skillaospbooks/aosp-internal-book138—~888Automated safety check: PassApache-2.0
Iptvnator Sqlite DB Worker4gray/iptvnator7.3k—~824Automated safety check: PassMIT
Analyze Nsys Profilemlc-ai/pith-train355—~1.9kAutomated safety check: PassApache-2.0
Reactive Sqlite UIfastrepl/anarlog9.5k—~699Automated safety check: PassMIT
Composer Forensicsdxos/dxos525—~3.1kAutomated safety check: PassCustom licence
Sqlite Schema Designfastrepl/anarlog9.5k—~1.9kAutomated safety check: PassMIT

Similar skills

  • A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.

    7.3k GitHub stars~824 tokensUpdated yesterday
    DatabasesAuto-check passed
  • Analyze Nsys Profile

    mlc-ai/pith-train

    Query a captured PithTrain Nsight Systems profile to measure compute/communication overlap, locate exposed comm by DualPipeV stage, and inspect per-rank stream behavior.

    355 GitHub stars~1.9k tokensUpdated 4 days ago
    DatabasesAuto-check passed
  • Reactive Sqlite UI

    fastrepl/anarlog

    Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states.

    9.5k GitHub stars~699 tokensUpdated today
    DatabasesAuto-check passed
  • Forensically inspect and repair Composer browser profiles — offline (Chrome OPFS / SQLite extract) or live via /recovery.html debug port.

    525 GitHub stars~3.1k tokensUpdated today
    DatabasesAuto-check passed
  • Sqlite Schema Design

    fastrepl/anarlog

    Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.

    9.5k GitHub stars~1.9k tokensUpdated today
    DatabasesAuto-check passed
  • Makemigrations

    deusXmachina-dev/memorylane

    Create SQLite migrations for MemoryLane storage schema changes.

    121 GitHub stars~973 tokensUpdated yesterday
    DatabasesAuto-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).

    138 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.

    138 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.

    138 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.

    138 GitHub stars~628 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.

    138 GitHub stars~606 tokensUpdated 3 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.

    138 GitHub stars~411 tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Aosp Framework Services

What does Aosp Framework Services do?

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

When should I use Aosp Framework Services?

Aosp Framework Services fits situations like: reasoning about PackageManagerService (install/uninstall; package visibility); contentProviders (ContentResolver; URI permissions.

How do I install Aosp Framework Services in Claude Code?

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

How do I install Aosp Framework Services in Codex?

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

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

What does Aosp Framework Services need to run?

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

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

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

About 888 tokens (SKILL.md is roughly 3.6k 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 Framework Services?

Skills that share tags, products or a category with Aosp Framework Services: Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars), Analyze Nsys Profile (mlc-ai/pith-train, 355 stars), Reactive Sqlite UI (fastrepl/anarlog, 9.5k stars) and Composer Forensics (dxos/dxos, 525 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aosp Framework Services?

aospbooks (a GitHub organization) maintains it in aospbooks/aosp-internal-book, which has 138 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.