android-app-pentest-environment — Claude Code skill: setup and install
android-app-pentest-environment — a skill that builds an Android pentest bench for you: rooted emulator, Magisk, LSPosed and captured app traffic.
no license 236 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a claude-codeWhat android-app-pentest-environment does
The agent follows the steps in SKILL.md: spin up an AVD in Android Studio, install root with Magisk, wire in LSPosed plus SSL unpinning modules, then point traffic at BurpSuite or Charles. It runs the adb, emulator, openssl and rootAVD.sh commands in your terminal.
Start from a Google APIs system image rather than Google Play. Play images block root, so Magisk has nowhere to install. rootAVD.sh patches ramdisk.img automatically; the manual path patches the file inside the Magisk app and swaps it back into the system-images folder. Cold boot afterwards, then adb shell su -c "id" reports uid=0 once it worked.
To read HTTPS, export the proxy certificate as DER, derive its hash with openssl, and push the renamed file to /system/etc/security/cacerts/ after adb root and adb remount. Modules like JustTrustMe and MagiskTrustUserCerts handle the pinning side. Have Android Studio with the SDK ready, adb and ANDROID_HOME exported, plus the rootAVD clone and the Magisk APK.
What it helps with
- Stand up a rooted Android 16 emulator for app testing
- Push a Burp certificate into system
cacerts - Get past SSL pinning with LSPosed modules
- Route app traffic through a local proxy
- Attach Frida for runtime instrumentation
Example prompts for the agent
- Set up a rooted Pixel emulator for Android pentest work
- Install Magisk and LSPosed on the emulator and enable Zygisk
- Push the Burp certificate into system
cacertsand reboot the emulator
How to install android-app-pentest-environment
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a claude-code2Manually: put the files in place
~/.claude/skills/android-app-pentest-environment/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/android-app-pentest-environment/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a codex2Manually: put the files in place
.agents/skills/android-app-pentest-environment/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a cursor2Manually: put the files in place
.cursor/skills/android-app-pentest-environment/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/android-app-pentest-environment2Manually: put the files in place
.github/skills/android-app-pentest-environment/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/android-app-pentest-environmentManually: put the files in place
.devin/skills/android-app-pentest-environment/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about android-app-pentest-environment
How do I install android-app-pentest-environment in Claude Code?
Run npx skills add reason-machines/security-skills --skill android-app-pentest-environment -a claude-code. The skill file lands at ~/.claude/skills/android-app-pentest-environment/SKILL.md.
What does android-app-pentest-environment do?
It walks the agent through preparing an Android app testing setup: a rooted emulator, Magisk, LSPosed, pinning bypass modules and traffic capture through BurpSuite or Charles.
What has to be ready before I start?
Android Studio with the SDK, adb on your PATH, and ANDROID_HOME set. You also need a rootAVD clone and the Magisk APK for the emulator.