
Apktool
Lets your agent decode, inspect, patch and rebuild Android APK files with Apktool
Apktool is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Apktool
This skill gives the agent a working method for reverse engineering Android app packages. It covers decoding binary XML resources such as the manifest and layouts, disassembling classes.dex into Smali, editing resources or Smali instructions, and rebuilding the package. The guidance is framed around third-party and closed binaries, with an owner-oriented security audit checklist covering exported components, backup settings, hardcoded secrets, network security configuration and dynamic class loading.
The workflow runs through the apktool command line, either as apktool.jar invoked with Java or as a wrapper. It also walks through installing OEM framework files for decoding vendor resources, rebuilding with aapt2, and then aligning with zipalign and signing with apksigner, including generating a debug keystore with keytool. Troubleshooting notes cover duplicate resource errors, multidex folders and resource ID conflicts.
It expects a Java runtime of version 11 or higher and the Android SDK build-tools for zipalign and apksigner. The skill itself is a SKILL.md with reference material and no bundled scripts.
When your agent uses it
Android application reverse engineering, resource decoding, Smali bytecode disassembly, resource modification, and rebuild toolchain. Decodes binary XML resources (resources.arsc, AndroidManifest.xml, layouts, drawables) to human-readable form, disassembles classes.dex into Smali bytecode for step-by-step logic inspection, enables asset and resource patching, rebuilds modified packages, and integrates with zipalign and apksigner for signature re-alignment. Use when decompiling Android APKs, analyzing Smali code, modifying app manifests or assets, or rebuilding and testing modified Android binaries.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (8 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/apktool:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/apktool &&
cp -R "$tmp/.agents/skills/apktool" ~/.claude/skills/apktool &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/apktool inside it instead.
Copy the skill folder to ~/.agents/skills/apktool to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/apktool &&
cp -R "$tmp/.agents/skills/apktool" ~/.agents/skills/apktool &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/apktool inside it instead.
Copy the skill folder to ~/.cursor/skills/apktool to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/apktool &&
cp -R "$tmp/.agents/skills/apktool" ~/.cursor/skills/apktool &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/apktool inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/apktoolOr copy the folder to ~/.gemini/skills/apktool yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/apktool:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/apktool &&
cp -R "$tmp/.agents/skills/apktool" ~/.copilot/skills/apktool &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/apktool inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/apktool into your agent's skills folder as apktool. Agents that support SKILL.md read one folder per skill.
What it does
- Resource decoding
- Turns binary XML and resources.arsc into readable files, including the manifest, layouts and drawables.
- Smali disassembly
- Splits classes.dex into Smali files that mirror the package hierarchy, including multidex folders.
- Smali and resource patching
- Describes editing Smali instructions, manifest flags and assets before a rebuild.
- Rebuild and signing pipeline
- Covers repackaging with apktool, zipalign alignment, apksigner signing and verification.
- OEM framework installation
- Explains installing vendor framework files so proprietary resources can be decoded.
- Owner security audit checklist
- Lists checks for exported components, backup flags, hardcoded secrets and dynamic class loading.
Good for
- Decode an APK and summarize its activities, permissions and intent filters
- Find hardcoded API keys or tokens in an app's resources and assets
- Enable debugging or cleartext traffic in a manifest and rebuild the app
- Trace a method's logic by reading its Smali bytecode
- Rebuild and sign a modified APK for testing on an emulator
Apktool FAQ
What does the agent need installed to use Apktool?
A Java runtime of version 11 or higher, the Android SDK build-tools for zipalign and apksigner, and apktool.jar on the PATH or invoked directly with Java.
Does Apktool modify apps automatically?
No. It describes decoding, patching and rebuilding steps that the agent carries out on files you provide, using the apktool commands shown in the skill.
Can Apktool decode vendor-specific apps?
It explains how to install OEM framework files, such as Samsung, HTC or Xiaomi frameworks, so proprietary resources can be decoded.
Does the skill include scripts?
No. The folder contains a SKILL.md and one reference file with no bundled scripts.
How do I install Apktool in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/apktool to use it in all your projects, or to .claude/skills/apktool in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Apktool run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Apktool?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Apktool?
The closest alternatives to Apktool are Reverse engineer anything, Firebase apk scanner, Android install, Android debug and Android SDK knowledge patch.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments



