Claude Agent Skills for Android development, powered by the Lightrion AOSP MCP server.
These skills teach Claude how to work effectively with Android source code — both AOSP platform work and Android app development. They turn Claude from a general-purpose assistant into a domain expert that knows when to query Lightrion, how to read the results, what to flag, and how to cite findings precisely.
| Skill | Audience | What it does |
|---|---|---|
aosp-platform-development |
Framework engineers, OEM platform teams, AAOS automotive devs, ROM developers | Teaches Claude the MCP-and-local workflow for AOSP work, version-anchored citations, safety-pattern detection, and cs.android.com integration |
android-app-development |
Android app developers using Kotlin/Java + Jetpack | Teaches Claude when to look at AOSP source for app-dev questions (Doze, broadcasts, services, permissions, behavior changes), how to translate platform code back to app-developer language |
Both skills use the same Lightrion MCP server. They differ in audience, depth, and trigger conditions — Claude auto-selects the right one based on the context of your work.
cd ~/.claude/skills/
git clone https://github.com/Lightrion/skills.git lightrion-skills
# Verify
ls ~/.claude/skills/lightrion-skills/
# Should show: aosp-platform-development/ android-app-development/The skills are picked up automatically by Claude Code on the next session. No manual loading needed — Claude reads the frontmatter at startup and activates each skill when its description matches your current context.
If you want the skills active only in a specific project (e.g., your AOSP checkout):
cd /path/to/your/project
mkdir -p .claude/skills
cd .claude/skills
git clone https://github.com/Lightrion/skills.git lightrion-skillsBoth skills depend on having the Lightrion AOSP MCP server connected in Claude Code. Free, rate-limited, no signup beyond the token.
- Get a token at https://aosp-rag.lightrion.com
- Add to your Claude Code MCP config (
~/.claude.jsonor via the Claude Code UI):
{
"mcpServers": {
"lightrion-aosp-public": {
"url": "https://aosp-rag.lightrion.com/mcp/",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}- Restart Claude Code. The MCP tools
search_code,get_chunk,get_file, andlist_versionsshould now be available.
Claude loads both skills' descriptions into its system prompt at the start of each session (a few hundred tokens total — negligible). When you give Claude a task, it reads the descriptions and activates the one matching your context:
- Working in an AOSP checkout, asking about
CarServiceinternals? →aosp-platform-developmentactivates. - Working in your app's
MainActivity.kt, asking why a broadcast isn't delivered? →android-app-developmentactivates.
Only the activated skill's full content is loaded, keeping context usage low.
These skills do not include the Lightrion MCP server itself — they're just instructions for Claude on how to use it well. You need to install both: the MCP server (one config line) and the skills (one clone).
These skills also don't replace cs.android.com for symbol navigation (jump-to-definition, call hierarchy, xref). Lightrion is for semantic retrieval. Both skills explicitly suggest linking to cs.android.com when navigation is what the user wants.
These skills are versioned together with the indexed AOSP releases they expect on the Lightrion server:
| Version | Indexed AOSP releases |
|---|---|
| 0.1.0 | 13.0.0_r84, 14.0.0_r75, 15.0.0_r36, 16.0.0_r4 |
When the Lightrion server bumps to newer release tags (e.g., r5 for
quarterly maintenance), the skills' references/version-conventions.md
will be updated.
Open an issue or PR at https://github.com/Lightrion/skills if:
- You hit a question where the skill should have helped but didn't — share the prompt so we can tighten the description.
- You have a workflow pattern that would benefit other Android developers using Claude.
- You spot an error in the safety patterns or version map.
Apache 2.0. You're free to fork, adapt, redistribute. Attribution appreciated.
- Lightrion homepage
- search.lightrion.com — web UI to try the MCP search interactively (free, rate-limited)
- Anthropic's Agent Skills docs
- Agent Skills open standard