Skip to content
Skills Library
Programming · Analysis

open-apk

/open-apk

Load an Android APK / XAPK / DEX / JAR into the jadx-headless MCP for static analysis. Accepts a local file path, or a package name to fetch from APKPure via apkeep. Use when the user asks to open/load an APK in jadx (e.g. "open com.example.app in jadx", "load ./demo.xapk", "/jadx-headless:open-apk <path|package>").

Licence
Apache-2.0
Last repository change
20.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Load an Android APK / XAPK / DEX / JAR into the jadx-headless MCP for static analysis. Accepts a local file path, or a package name to fetch from APKPure via apkeep. Use when the user asks to open/load an APK in jadx (e.g. "open com.example.app in jadx", "load ./demo.xapk", "/jadx-headless:open-apk <path|package>").

Triggers from the description

open com.example.app in jadxload ./demo.xapk
Original author description

Load an Android APK / XAPK / DEX / JAR into the jadx-headless MCP for static analysis. Accepts a local file path, or a package name to fetch from APKPure via apkeep. Use when the user asks to open/load an APK in jadx (e.g. "open com.example.app in jadx", "load ./demo.xapk", "/jadx-headless:open-apk <path|package>").

How it works

  1. Input
  2. Steps
  3. Handy follow-up tools
Original SKILL.md headings · 51 lines, 318 words
SKILL.md preview
---
name: open-apk
description: Load an Android APK / XAPK / DEX / JAR into the jadx-headless MCP for static analysis. Accepts a local file path, or a package name to fetch from APKPure via apkeep. Use when the user asks to open/load an APK in jadx (e.g. "open com.example.app in jadx", "load ./demo.xapk", "/jadx-headless:open-apk <path|package>").
---

# Open APK in jadx-headless

Load a target into the `jadx-headless` MCP server so its decompilation / search / xref tools
become usable, then report a one-line summary.

## Input

A single argument `$ARGUMENTS`:

- Looks like a file — ends in `.apk` / `.xapk` / `.dex` / `.jar`, contains a path separator, or
  starts with `./` `../` `~` `/` or a Windows drive letter → **path mode**.
- Otherwise → **package-name mode** (fetch the APK first).

## Steps

1. **Check current state.** Call the `status` tool.
   - `EMPTY` → go to step 2.
   - `LOADED` → call `get_app_info`; if its `package` already matches the target, skip to step 4
     (already loaded). Otherwise tell the user you will switch (loading a new APK replaces the old
     session), then continue.
   - The call itself fails → the MCP server is not running; tell the user to check that the
     `jadx-headless` plugin is enabled (and that `java` 17+ is on PATH), then stop.

2. **Obtain the file.**
   - Path mode: verify the file exists (fail with a clear message if not), use its absolute path.
   - Package-name mode: download from APKPure with [apkeep](https://github.com/EFForg/apkeep)
     (a public CLI the user must have installed):
     ```bash
     mkdir -p ./apks && apkeep -a <package> -d apk-pure ./apks/
     ```
     If apkeep is missing or the download fails, tell the user and ask for a local path instead.

3. **Load.** Call `load_apk(path="<absolute path>")`. It blocks until indexing finishes and returns
   `{state, class_count, resource_count, load_duration_ms}`.

4. **Report.** Call `get_app_info` and print one line:
   `<package>@<versionName> — <class_count> classes, <resource_count> resources`.

## Handy follow-up tools

| Goal | Tool |
|---|---|
| List / filter classes | `list_classes(prefix="com.example", limit=200)` |
| Keyword class search | `search_classes_by_keyword(search_term="Revenue", search_in="class")` |
| Decompiled source | `get_class_source(class_name="…")` |
| Who calls this method | `get_xrefs_to_method(...)` |
| AndroidManifest | `get_android_manifest()` |

All tools are provided by the `jadx-headless` MCP server bundled with this plugin.

Versions

The database has no other skills named open-apk.

Database snapshot: 13.11.2026 · package version 4d9d4d7ee17d (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95apk-clues-extract
    Extract vendor-specific GATT Service and Characteristic UUIDs from Android APK / XAPK files and emit a CLUES-formatted JSON (`CLUES_data_LLM_Android.json`) that conforms to `CLUES_schema.json`. Use when the user asks to 'scan APKs for UUIDs', 'extract Bluetooth UUIDs from…
  • 100decx-cli
    Use when running DECX CLI commands to open APK, DEX, JAR, or framework targets; inspect classes, methods, source, xrefs, inheritance, or search results; inspect manifests, components, resources, AIDL, Binder metadata, or permissions for Android targets; or manage DECX sessions.
  • 95tool-reference
    Optimized command-line arguments for all Android RE tools — jadx, baksmali, aapt, apkid, rg. Use when running any analysis tool to get the best flags and arguments.
  • 95android-apk-forge
    从零产出可安装的 Android APK,并把整套流水线交给任何 AI 接手。当用户要求「做个 App / 打包成 APK / 把这个网页做成安卓应用 / 生成安卓软件 / 上架前出安装包 / 修构建或签名失败」时使用。覆盖环境体检、脚手架生成(原生 Compose / WebView 套壳 / AI 客户端 / 小游戏 / 数据类应用)、构建、zipalign、v2+v3 签名、产物校验、版本推进,以及 20 条真实踩坑的根因与修法。产出物是可直接分发、可覆盖升级的 .apk。
  • 90android-unpacking
    安卓加固(壳)识别与脱壳手法速查(供安全研究/自有应用分析)。当遇到 APK 被加固(360加固/爱加密/梆梆/腾讯乐固/娜迦/顶像/几维等)、jadx 打开看不到真实代码、dex 是壳的 stub、需要脱壳(dump 真实 dex)时使用。
  • 100build-apk
    Builds the RightSubs APK locally (normal, for testing with the log readable by adb, or from uncommitted changes) and checks the result. Use when the user asks to build, rebuild or update the APK. Releases are not built here: they are built by GitHub Actions (skill new-version).

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.