android-pentest-environment-setup — Claude Code skill: how to install
android-pentest-environment-setup walks you through a rooted Android Studio emulator with Magisk, Frida and proxy traffic capture for app pentesting.
no license 226 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a claude-codeWhat android-pentest-environment-setup does
The skill gives the agent an ordered path: install Android Studio and the SDK, export ANDROID_HOME and add platform-tools to PATH, then build an AVD from an API 36 arm64-v8a image with a Pixel 9 Pro profile. Root follows, either through rootAVD or by patching ramdisk.img by hand in Magisk. After that come Frida, LSPosed and traffic capture with Burp Suite or mitmproxy.
Commands are written out — sdkmanager, avdmanager create avd, adb root, adb remount, module installs through magisk --install-module, a root check with adb shell su -c "id". Zygisk gets its own step, since LSPosed will not run without it. Emulator snapshots keep the lab repeatable and save you a physical handset.
Have 16GB of RAM (the skill recommends it), Android Studio and a proxy tool ready before the first step. Pick the Google APIs image rather than Google Play: the Play build leaves you without root, and everything after that breaks. Some apps notice the emulator and refuse to start, and it may run slower than a real device.
What it helps with
- stand up a rooted emulator for app analysis
- intercept an app's HTTPS traffic through a proxy
- get past SSL pinning with a Magisk module
- install Frida on an arm64 emulator
- pull an app database off the device with
adb pull
Example prompts for the agent
- Set up an Android Studio emulator for pentesting an app — I need root through Magisk and Frida.
- Configure proxy interception on the emulator and work around SSL pinning.
- Install LSPosed on the rooted AVD and make sure Zygisk is enabled.
How to install android-pentest-environment-setup
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a claude-code2Manually: put the files in place
~/.claude/skills/android-pentest-environment-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/android-pentest-environment-setup/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a codex2Manually: put the files in place
.agents/skills/android-pentest-environment-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a cursor2Manually: put the files in place
.cursor/skills/android-pentest-environment-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/android-pentest-environment-setup2Manually: put the files in place
.github/skills/android-pentest-environment-setup/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/android-pentest-environment-setupManually: put the files in place
.devin/skills/android-pentest-environment-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -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-pentest-environment-setup
How do I install android-pentest-environment-setup in Claude Code?
Run npx skills add reason-machines/security-skills --skill android-pentest-environment-setup -a claude-code. The skill file lands at ~/.claude/skills/android-pentest-environment-setup/SKILL.md.
What does android-pentest-environment-setup do?
It guides the agent through building a lab: Android Studio and the SDK, an AVD on a Google APIs image, root with Magisk, Frida, LSPosed and traffic capture through a proxy tool.
Why the Google APIs image and not Google Play?
A Google Play image gives you no root, so Magisk, Frida and LSPosed modules cannot be installed on it.