This unpacks Android APKs into readable form so you can examine manifests, extract resources, and analyze smali code. You'll use it when you need to see what permissions an app requests, find hardcoded API keys in strings.xml, or trace through disassembled bytecode for security analysis. The skill covers the standard decode workflow, explains what lands in each output directory (smali, res, AndroidManifest.xml), and includes practical grep commands for finding credentials, exported components, and debuggable flags. It's thorough on the analysis side but light on repackaging details. If you're doing mobile security work or reverse engineering IoT companion apps, this gives you the apktool commands and file paths you actually need.

skills.sh installs
539
GitHub stars
885
last updated
Aug 21, 2026

Install

$ npx -y skills add brownfinesecurity/iothackbot --skill apktool --agent claude-code

Installs into .claude/skills of the current project.

Files

Apktool - Android APK Unpacking and Resource Extraction

You are helping the user reverse engineer Android APK files using apktool for security analysis, vulnerability discovery, and understanding app internals.

Tool Overview

Apktool is a tool for reverse engineering Android APK files. It can decode resources to nearly original form and rebuild them after modifications. It's essential for:

  • Extracting readable AndroidManifest.xml
  • Decoding resources (XML layouts, strings, images)
  • Disassembling DEX to smali code
  • Analyzing app structure and permissions
  • Repackaging modified APKs

Prerequisites

  • apktool must be installed on the system
  • Java Runtime Environment (JRE) required
  • Sufficient disk space (unpacked APK is typically 2-5x original size)
  • Write permissions in output directory

Instructions

1. Basic APK Unpacking (Most Common)

When the user asks to unpack, decode, or analyze an APK:

Standard decode command:

apktool d <apk-file> -o <output-directory>

Example:

apktool d app.apk -o app-unpacked

With force overwrite (if directory exists):

apktool d app.apk -o app-unpacked -f

Sponsors

Details

Repository
github.com/brownfinesecurity/iothackbot
Category
Mobile Development
First seen
Jun 3, 2026

More from brownfinesecurity/iothackbot

All 2
1rshankras avatarrelease-reviewrshankras/claude-code-apple-skillsSenior developer-level release review for macOS/iOS apps. Identifies security, privacy, UX, and distribution issues with actionable fixes. Use when preparing an529skills.sh installs
2tuist avatarcompare-buildstuist/agent-skillsCompares two Xcode build runs to identify duration regressions, cache changes, and new issues. Can be invoked with build IDs, dashboard URLs, or branch names (e310skills.sh installs
3dhruvanbhalara avatardart-memorydhruvanbhalara/skillsManage memory efficiently in Dart and Flutter apps to prevent leaks and reduce GC pressure. Use when disposing resources, handling large assets, optimizing imag268skills.sh installs
4novotnyllc avatardotnet-uinovotnyllc/dotnet-artisanBuilds .NET UI apps across Blazor (Server, WASM, Hybrid, Auto), MAUI (XAML, MVVM, Shell, Native AOT), Uno Platform (MVUX, Extensions, Toolkit), WPF (.NET 8+, Fl254skills.sh installs
5jwilger avataratomic-designjwilger/agent-skillsBrad Frost's Atomic Design methodology for UI component hierarchies: atoms (indivisible elements), molecules (small groups of atoms), organisms (complex section244skills.sh installs
6charleswiltgen avataraxiom-avfoundation-refcharleswiltgen/axiomReference — AVFoundation audio APIs, AVAudioSession categories/modes, AVAudioEngine pipelines, bit-perfect DAC output, iOS 26+ spatial audio capture, ASAF/APAC,221skills.sh installs