android-sdk-knowledge-patch

A reference guide for updating Android apps and libraries as Android, Google Play, and the Android build tools change. It covers settings such as compile and target SDK versions, Gradle, Kotlin, Java, native code, and device features.

In plain words
What is it for?
Use it when changing Android build files, APIs, libraries, native components, device support, or Google Play delivery settings.
Why use it?
Android compatibility depends on several version settings and platform rules that can change over time. The guide helps identify those constraints before making an update.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/android-sdk-knowledge-patch
Any agent
npx skills add Nevaberry/nevaberry-plugins --skill android-sdk-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code, Codex.

Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.02264
Opus 5 $0.00005 $0.01132
Sonnet 5 $0.00002 $0.00453
Haiku 4.5 $0.00001 $0.00226

Measured 2d ago against content hash d9b3ebf3f114, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

android-sdk-knowledge-patch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android SDK Knowledge Patch

Use this skill when updating Android applications, libraries, build logic, or Play delivery settings where recent platform and Android Gradle Plugin behavior can affect compatibility. Check the project's compileSdk, targetSdk, minSdk, AGP, Gradle, JDK, Kotlin, KSP, NDK, and form factors before applying target-gated guidance.

Prefer the project's manifests, build files, tests, and observed runtime behavior when they differ from general guidance. Distinguish changes affecting all apps on a platform release from changes gated by targetSdk.

Reference index

Reference Topics
AGP toolchain and APIs Toolchain floors, Kotlin, public DSL, Variant API, removed APIs, migration staging
Bluetooth, media, and devices Bluetooth, companions, health, camera, codecs, alarms, widgets, device integration
Google Play target API policy Submission floors, existing-app availability, extensions, exemptions
R8, packaging, and testing Shrinking, keep rules, packaging, native compatibility, reports, profiling
Runtime, UI, and scheduling Jobs, concurrency, back, edge-to-edge, large screens, IME, audio, desktop UI
Security, networking, and data Intents, LAN access, TLS, SMS, contacts, URI grants, Keystore, media access

Start with the compatibility gates

  1. Read compileSdk, targetSdk, minSdk, AGP, Gradle, and JDK from the project rather than assuming they move together.
  2. Identify device and form-factor scope: phone, tablet, desktop windowing, Wear OS, Android Auto, Automotive OS, TV, or XR.
  3. Separate platform-wide behavior from target-gated behavior in tests.
  4. Exercise compatibility flags only as temporary diagnostics; implement the durable behavior before raising the target SDK.
  5. For build plugins, migrate to lazy public APIs before enabling stricter AGP behavior.

Read the full file on GitHub · 231 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 231 lines · 9 tokens per session scan A d9b3ebf3f114

Subscribe to this mod's changes

android-sdk-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (24 stars, last pushed 6d ago), licensed MIT. It adds 9 tokens to every session and 2,264 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.