bedkillerspacex-boop/codex-skill-library/android-proguard-r8-mapping
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Keep and use R8/ProGuard mapping files for owned Android apps: enable minify, archive mapping.txt per versionCode, upload to Play/Crashlytics, and deobfuscate stack traces. Use when release crashes are unreadable, CI must retain mappings, or configuring -keep rules safely — not for deobfuscating third-party apps without rights.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-proguard-r8-mappingSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-proguard-r8-mapping.
Android ProGuard / R8 Mapping
Scope And Authorization
- In scope: Apps you ship; crash pipelines you operate.
- Out of scope: Using leaked mappings to assist piracy of third-party apps.
- Treat mapping files as moderately sensitive (aid reverse engineering of your code).
- Pair keep-rules with
code-quality-standards.
When To Use
- Enabling R8 minify/shrink for release.
- Crash reports show
a.b.c.a()with no source context. - Setting up CI artifacts for
mapping.txt/ native debug symbols. - Writing
-keeprules without disabling obfuscation entirely.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| DEX string triage (RE) | android-dex-string-ids | |
| Play Integrity | android-safetynet-play-integrity | |
| General pentest | android-pentesting-tricks | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Artifact | Purpose | |
|---|---|---|
mapping.txt | Maps obfuscated names → original | |
seeds.txt / usage.txt | What was kept / removed (R8 outputs) | |
-keep rules | Preserve reflection/JNI/entry points | |
| Play App Bundle deobfuscation | Upload mapping with each release | |
| Native symbols | Separate NDK symbol packaging |
Workflow
1. Confirm success criteria
- Record applicationId, versionName/versionCode scheme, crash backend.
- Success: every release mapping archived; sample crash deobfuscates; CI fails if mapping missing.
- Owners for artifact retention (90+ days recommended).
2. Enable R8 and produce mapping
3. Archive per version
- Immutable storage keyed by
versionCode+ git SHA. - Never overwrite mapping for an already-shipped versionCode.
4. Keep rules (minimal)
| Bad | Better | |
|---|---|---|
-dontobfuscate always | Targeted -keep | |
| Keep entire packages “just in case” | Keep only reflective APIs | |
| No rules + reflection crashes | Crash once, add precise keep |
5. Deobfuscate a stack trace
6. CI gate
7. Hand off
- Document path + retention + who can download mappings.
- Include native symbol steps if NDK used.
- On incident: fetch mapping for exact versionCode before analyzing.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Retention | Mapping per versionCode | Lost mappings for prod builds | |
| Rules | Minimal keeps | minifyEnabled false in prod forever | |
| Security | Access-controlled artifacts | Public bucket of all mappings | |
| Crashes | Retraced stacks | Guessing obfuscated frames |
Output Checklist
- [ ] minify enabled for release
- [ ] mapping.txt produced and archived per version
- [ ] Crash backend upload automated
- [ ] Keep rules reviewed (minimal)
- [ ] Sample retrace works
- [ ] CI fails if mapping missing
- [ ] Access control on mapping store
- [ ]
code-quality-standardsapplied
Rules
- Owned apps only.
- Never ship without a retrievable mapping for that versionCode.
- Prefer precise
-keepover disabling R8. - Control access to mapping files.
- Coordinate native symbols separately from Java/Kotlin mapping.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingandroid-proguard-r8-mapping/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-proguard-r8-mapping)