apktool

Decode Android APK resources, manifests, smali code, and packaging metadata.

81|14|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/guaidao2/XuanMu-RedTeam-Agent --skill apktool-guaidao2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apktool
Source: https://github.com/guaidao2/XuanMu-RedTeam-Agent/tree/main/sandbox/.agents/skills/apktool
Command: npx skills add https://github.com/guaidao2/XuanMu-RedTeam-Agent --skill apktool-guaidao2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the static inspection of Android APKs when readable Java or Kotlin decompilation is insufficient, helping analysts review application structure without altering the original artifact.

Core Features & Use Cases

  • Resource and Manifest Decoding: Inspect decoded resources, application metadata, permissions, components, and configuration values.
  • Smali Inspection: Examine low-level Android bytecode when source-level decompilation does not provide enough detail.
  • Packaging Triage: Review certificates, packaging structure, and rebuild-related blockers while preserving the original APK.
  • Use Case: Analyze an authorized mobile application artifact to identify relevant manifest entries, resource files, smali classes, and static indicators for security assessment.

Quick Start

Use the apktool skill to decode the authorized APK at the provided path into a task-scoped directory and summarize its manifest, resources, smali files, and any analysis blockers.

Frequently Asked Questions about apktool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decode an Android APK for static analysis when Java decompilation is insufficient?

Decoding an Android APK for static analysis requires extracting readable resources, manifests, and smali bytecode when Java decompilation fails to provide enough detail. This Skill decodes artifacts into a task-scoped directory, preserving the original APK for safe inspection.

What is the best way to inspect smali code and Android manifest entries for security assessments?

Inspecting smali code and Android manifest entries involves decoding the APK to expose low-level bytecode and application metadata. This process helps analysts review permissions, components, and configuration values without altering the original artifact.

Can I review APK packaging structure and certificates without modifying the original file?

Reviewing APK packaging structure and certificates is possible without modifying the original file by decoding into a separate task-scoped directory. This approach ensures the original APK remains preserved while you triage rebuild-related blockers and static indicators.

When do I need to use smali inspection instead of source-level decompilation for reverse engineering?

Smali inspection is needed when source-level decompilation does not provide enough detail for reverse engineering or vulnerability discovery. It allows you to examine low-level Android bytecode directly to identify static indicators during authorized mobile security assessments.

Does apktool output evidence-based static analysis reports for mobile security assessments?

Apktool outputs evidence-based static analysis reports by decoding resources, manifests, and smali code without assuming runtime exploitability. It requires help-first command validation and task-scoped output directories to ensure accurate vulnerability discovery triage.

Why does static APK analysis require preserving the original artifact during resource decoding?

Static APK analysis requires preserving the original artifact during resource decoding to maintain evidence integrity for security assessments. This Skill prevents accidental modification by extracting decoded resources and smali files into isolated output directories.