android-reverse-engineering-skill: Claude Code Plugin Decompiles APKs and Extracts APIs in One Command
A new Claude Code skill automates Android reverse engineering — decompiling APKs, recovering Kotlin names from R8-obfuscated binaries, and extracting HTTP endpoints from Retrofit, Ktor, and Apollo sta
Simone Avogadro has released android-reverse-engineering-skill, a Claude Code plugin that turns the assistant into an automated Android reverse-engineering toolchain. With a single slash command — /decompile app.apk — the skill decompiles APK, XAPK, JAR, or AAR files, extracts HTTP APIs from Retrofit, OkHttp, Ktor, Apollo GraphQL, and Koin, traces call flows from UI components down to network requests, and recovers original Kotlin class names that R8 obfuscation cannot strip.
What the skill automates
The plugin wraps jadx, Vineflower, and Fernflower decompilers behind a phased workflow. Phase 0 fingerprints an APK in seconds — detecting framework (Flutter, React Native, native Kotlin), HTTP stack, obfuscation level, and native libraries — before committing to a full decompile. Subsequent phases decompile with one engine or side-by-side comparison, recover Kotlin metadata names from @DebugMetadata and @Metadata annotations, and scan for API patterns across both classic and modern Kotlin/KMP stacks.
Kotlin name recovery from R8 binaries
R8 renames JVM symbols to a.b.c but preserves Kotlin metadata strings required by reflection and coroutines at runtime. The skill mines these annotations to rebuild an obfuscated-to-real class-name map, recovering virtually all *Repository, *ViewModel, *UseCase, and *Impl classes. Two scripts drive the process: recover-kotlin-names.sh builds the mapping from decompiled sources, and lookup-name.sh resolves obfuscated names, searches by real name, or greps sources with each hit annotated by its recovered class name.
Supported extraction targets
- Retrofit interfaces and OkHttp call sites
- Ktor client endpoints
- Apollo GraphQL operations
- Koin dependency-injection modules
- Hardcoded URLs, authentication headers, tokens, and HMAC request-signing schemes
- Quoted path literals that survive R8 inlining (
--pathsflag)
Each extractor runs via find-api-calls.sh with stack-specific flags (--retrofit, --ktor, --apollo, --urls, --paths) or a full scan across every supported stack.
Installation and requirements
Required dependencies are Java JDK 17+ and the jadx CLI. Vineflower or Fernflower and dex2jar are optional but recommended for better output on complex code. Inside Claude Code, install from the marketplace:
/plugin marketplace add SimoneAvogadro/android-reverse-engineering-skill
/plugin install android-reverse-engineering@android-reverse-engineering-skillA local clone works the same way by pointing the marketplace command at the filesystem path. The repository also ships standalone Bash and experimental PowerShell scripts for use outside Claude Code.
Community contributions
The skill aggregates work from several contributors: @tajchert added Phase 0 fingerprinting, R8-resistant Kotlin name recovery, and Ktor/Apollo/Koin/HMAC extraction patterns; @philjn implemented Windows/PowerShell support and split/bundled APK detection; @txhno migrated to the maintained dex2jar fork; @muqiao215 added partial-success handling and Fernflower timeout safeguards; @kevinaimonster provided Chinese localization for discovery keywords.
The project is licensed Apache-2.0 and includes a disclaimer restricting use to lawful purposes such as security research, authorized penetration testing, interoperability analysis, malware analysis, and education. For a broader collection of reverse-engineering resources, see Awesome-REA which catalogs over a thousand tools and references.
Sources
Related news
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.