Coding Style
sk2andy/candy-browser
Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions.
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gkd-kit/gkd android-hidden-api-r8 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .claude/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.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/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .claude/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gkd-kit/gkd android-hidden-api-r8 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .agents/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .agents/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gkd-kit/gkd android-hidden-api-r8 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .cursor/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .cursor/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gkd-kit/gkd.git --path .agents/skills/android-hidden-api-r8--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gkd-kit/gkd android-hidden-api-r8 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .gemini/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .gemini/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gkd-kit/gkd android-hidden-api-r8Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .github/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .github/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gkd-kit/gkd android-hidden-api-r8 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gkd-kit/gkd.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/android-hidden-api-r8 .opencode/skills/android-hidden-api-r8 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "android-hidden-api-r8" agent skill from https://github.com/gkd-kit/gkd/tree/main/.agents/skills/android-hidden-api-r8 into .opencode/skills/android-hidden-api-r8/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-hidden-api-r8", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
android-hidden-api-r8Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
The skill makes sure R8 receives the type information and keeps the method contracts needed when Android calls project code. It starts by separating the kinds of call: into system hidden APIs, direct calls to project implementations, and system callbacks through hidden interfaces or superclasses, which do not all need keep rules. The agent identifies the runtime caller, the dispatch type, the implementation and the required method names, parameter types and return descriptors, remembering that R8 reads bytecode and not Kotlin's override keyword.
Next it inspects what R8 actually receives: the module and build variant that run it, compilation classpaths versus R8 analysis inputs, type names, descriptors and inheritance after remapping, stubs and their declared members, and existing annotations, consumer rules and missing-type diagnostics. It notes that -dontwarn only silences warnings. For regressions after a migration it compares inputs and artifacts from working and failing versions.
For the fix, it prefers restoring a dependency path that final R8 analysis can see while keeping compile stubs out of the APK. Otherwise it applies targeted @Keep or consumer keep rules to the real entry points, preserving method existence, names and signatures. A failure-cases reference file is included.
Read from SKILL.md and the folder at commit daed366. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
npxpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Android Hidden API and R8 Check loads about 1.5k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 745 words of instructions outside code blocks.
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.
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.
The full file from gkd-kit/gkd at commit daed366, republished under its GPL-3.0 licence (© gkd-kit). 745 words, ~1,488 tokens.
.claude/skills/android-hidden-api-r8/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Ensure R8 receives the necessary type information and preserves the method contracts required when Android calls project code. Inspect affected paths within the task's scope. Expand to a broader audit only when requested or supported by evidence.
override keyword. Successful compilation does not prove that the final R8 task sees the same inheritance relationships.compileOnly or androidMainCompileOnly declaration.*Hidden type does not automatically supply hidden members missing from a public SDK type. Do not assume R8 merges duplicate types or remapped declarations into android.jar.-dontwarn suppresses warnings; it does not restore missing type relationships or preserve methods.@Keep or consumer keep rules to the actual entry points. Preserve required method existence, names, and signatures; preserving names alone must not allow required methods to be removed.invoke-super, verify the applicable ART/Dalvik semantics or use a minimal runtime reproduction before changing stubs.Read failure patterns as needed for callbacks lost after module migration, hidden members missing from public types, or uncertainty about invoke-super. Verify each hypothesis against the current project rather than applying a pattern as a universal diagnosis.
Upstream: lisonge/remap.
When asked to update this skill, use either command from the consuming project's root if it was installed with the skills CLI:
npx skills update android-hidden-api-r8Or with pnpm:
pnpm dlx skills update android-hidden-api-r8For a manually copied installation, compare the installed directory with upstream and merge updates to SKILL.md and references/. Preserve project-specific customizations. Review the resulting diff and reconcile any affected guidance in the project's AGENTS.md without replacing unrelated instructions. Updating the skill does not automatically update that file. Do not update the skill as part of an ordinary R8 investigation unless requested.
© gkd-kit, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .agents/skills/android-hidden-api-r8 of gkd-kit/gkd.
Open the folder on GitHubat commit daed366
Android Hidden API and R8 Check 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Android Hidden API and R8 Check this skillgkd-kit/gkd | 43k | — | ~1.5k | Automated safety check: Pass | GPL-3.0 | |
| Coding Stylesk2andy/candy-browser | 485 | — | ~548 | Automated safety check: Pass | MPL-2.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 179 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Android Tombstone Symbolicationdotnet/skills | 5.6k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Android Developmentdpconde/claude-android-skill | 336 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Architecture Overclocknekomangaorg/Neko | 2.8k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
sk2andy/candy-browser
Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions.
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
dotnet/skills
Resolves native crash frames from .NET Android tombstones to function names, source files and line numbers using BuildIds, Microsoft's symbol server and llvm-symbolizer.
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
nekomangaorg/Neko
Resolves deep, structural performance bottlenecks in the Kotlin Android codebase.
Drjacky/claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.
gkd-kit/gkd
Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.
Categories
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError. The skill makes sure R8 receives the type information and keeps the method contracts needed when Android calls project code. It starts by separating the kinds of call: into system hidden APIs, direct calls to project implementations, and system callbacks through hidden interfaces or superclasses, which do not all need keep rules.
Android Hidden API and R8 Check fits situations like: adding or changing implementations of hidden Android interfaces or superclasses; A Debug build works but the minified Release build crashes with AbstractMethodError; methods or signatures go missing or get renamed after R8 runs; reviewing bytecode remapping or module dependencies that feed R8.
Run `npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a claude-code`. Or copy the skill folder (.agents/skills/android-hidden-api-r8 in gkd-kit/gkd) into .claude/skills/android-hidden-api-r8 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a codex`. Or copy the skill folder (.agents/skills/android-hidden-api-r8 in gkd-kit/gkd) into .agents/skills/android-hidden-api-r8 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gkd-kit/gkd --skill android-hidden-api-r8 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/android-hidden-api-r8, .gemini/skills/android-hidden-api-r8, .github/skills/android-hidden-api-r8 and .opencode/skills/android-hidden-api-r8 in your project.
Going by SKILL.md and its folder, Android Hidden API and R8 Check needs the command-line tools its instructions call (npx and pnpm). Our summary lists: An Android project that uses R8 for its Release builds.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
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.
Android Hidden API and R8 Check is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 776 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Android Hidden API and R8 Check: Coding Style (sk2andy/candy-browser, 485 stars), Compose Multiplatform Patterns (monta-app/ocpp-emulator, 179 stars), Android Tombstone Symbolication (dotnet/skills, 5.6k stars) and Android Development (dpconde/claude-android-skill, 336 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gkd-kit (a GitHub organization) maintains it in gkd-kit/gkd, which has 42,544 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.
Source: gkd-kit/gkd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.