# Android SDK knowledge patch

> Android SDK knowledge patch is an open-source agent skill for developer tools. Guides agents through Android SDK, AGP and Play target API changes before upgrades. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch
- **Repository:** https://github.com/nevaberry/nevaberry-plugins
- **GitHub stars:** 25
- **License:** MIT
- **Skill name:** android-sdk-knowledge-patch
- **Collection:** https://github.com/Nevaberry/nevaberry-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

This skill gives an AI coding agent a reference for updating Android apps, libraries and build logic when recent platform or Android Gradle Plugin behavior could affect compatibility. It points the agent to the project's compileSdk, targetSdk, minSdk, AGP, Gradle, JDK, Kotlin, KSP and NDK settings before it applies any guidance that depends on the target SDK.

The skill is organized as an index of reference files covering the AGP toolchain and APIs, Bluetooth and device integration, Google Play target API policy, R8 and packaging, runtime and UI scheduling, and security and networking. It tells the agent to prefer the project's own manifests, build files and tests over general guidance, and to separate changes that affect every app on a platform release from changes gated by targetSdk.

The content is written as Markdown guidance with code samples for manifests, ProGuard rules, adb commands and Kotlin stream handling. It does not include scripts or tool permissions, so it relies on the agent's existing file and build tooling.

## When your agent uses it

> Android SDK

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch)
- [License: MIT](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch)

## Features

- **Compatibility gate checklist:** Steps for reading SDK levels, AGP, Gradle and JDK versions from the project before changes.
- **Target SDK behavior changes:** Covers platform changes gated by targetSdk for API 36 and 37, such as back handling and edge-to-edge.
- **AGP 9 migration guidance:** Explains moving from legacy DSL and Variant APIs to androidComponents and built-in Kotlin.
- **Local network and permission changes:** Describes LAN access permissions, health permissions and SMS or OTP handling changes.
- **R8 and keep rule examples:** Shows keep rule syntax and where source-set-specific keep files live.
- **Verification checklist:** Lists areas to test across SDK levels, form factors and release builds.

## Good for

- Upgrade an app's targetSdk to API 36 or 37 and find behavior changes to handle
- Migrate a Gradle plugin from legacy variant APIs to androidComponents
- Check whether an app needs the ACCESS_LOCAL_NETWORK permission for LAN discovery
- Update R8 keep rules for strict full mode in a release build
- Review Bluetooth RFCOMM read loops for correct end-of-stream handling

## Install

### Claude Code

This skill ships in the `knowledge-patch` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Nevaberry/nevaberry-plugins
/plugin install knowledge-patch@nevaberry
```

Or copy only this skill to `~/.claude/skills/android-sdk-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/android-sdk-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch" ~/.claude/skills/android-sdk-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/android-sdk-knowledge-patch` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/android-sdk-knowledge-patch` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/android-sdk-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch" ~/.agents/skills/android-sdk-knowledge-patch &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/android-sdk-knowledge-patch` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/android-sdk-knowledge-patch` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/android-sdk-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch" ~/.cursor/skills/android-sdk-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/android-sdk-knowledge-patch` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Nevaberry/nevaberry-plugins.git --path plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch
```

Or copy the folder to `~/.gemini/skills/android-sdk-knowledge-patch` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/android-sdk-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/android-sdk-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch" ~/.copilot/skills/android-sdk-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/android-sdk-knowledge-patch` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git
```

Then copy `nevaberry-plugins/plugins/knowledge-patch/patches-claude/android-sdk-knowledge-patch` into your agent's skills folder as `android-sdk-knowledge-patch`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Android SDK knowledge patch need from my project?

It asks the agent to read compileSdk, targetSdk, minSdk, AGP, Gradle, JDK, Kotlin, KSP and NDK values from the project's own build files rather than assuming them.

### Does Android SDK knowledge patch change my code automatically?

The skill provides guidance and examples for the agent to apply. It does not include scripts, and it says to verify behavior with the project's tests and runtime checks.

### Which AI clients can use Android SDK knowledge patch?

The content is a Claude Code plugin marketplace entry, so it is tied to Claude Code in its published form.

### How do I install Android SDK knowledge patch in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/android-sdk-knowledge-patch to use it in all your projects, or to .claude/skills/android-sdk-knowledge-patch in one project. Or install the knowledge-patch plugin, which includes it: /plugin marketplace add Nevaberry/nevaberry-plugins, then /plugin install knowledge-patch@nevaberry.

### Does Android SDK knowledge patch run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Android SDK knowledge patch?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Android SDK knowledge patch?

The closest alternatives to Android SDK knowledge patch are Angular knowledge patch, Dart SDK changelog, Adyen knowledge patch, Apktool and Java development.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Angular knowledge patch](https://ai-powered.com/skills/angular-knowledge-patch): Angular knowledge patch is an open-source agent skill for developer tools.
- [Dart SDK changelog](https://ai-powered.com/skills/dart-sdk-changelog): Dart SDK changelog is an open-source agent skill for developer tools.
- [Adyen knowledge patch](https://ai-powered.com/skills/adyen-knowledge-patch): Adyen knowledge patch is an open-source agent skill for finance and payments.
- [Apktool](https://ai-powered.com/skills/apktool): Apktool is an open-source agent skill for security.
- [Java development](https://ai-powered.com/skills/java-development): Java development is an open-source agent skill for developer tools.
- [Agopengps knowledge patch](https://ai-powered.com/skills/agopengps-knowledge-patch): Agopengps knowledge patch is an open-source agent skill for developer tools.
- [Java upgrade](https://ai-powered.com/skills/java-upgrade): Java upgrade is an open-source agent skill for developer tools.
- [Android clean architecture](https://ai-powered.com/skills/android-clean-architecture): Android clean architecture is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/android-sdk-knowledge-patch
