ptn1411/skill/java-decompiler

Claude Code and agent skill by ptn1411/skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Decompile Java applications (JAR/WAR/APK/class) — extract archives, detect obfuscators, decompile bytecode to source, analyse license logic and secrets.

Install

npx vskill@latest install ptn1411/skill/java-decompiler

SKILL.md

Java Decompiler

Purpose

Java bytecode (.class) retains nearly all source-level information, making decompilation highly effective. This skill extracts, decompiles, and analyses Java applications across all packaging formats: JAR, WAR, EAR, APK, and raw class files.

Workflow

┌──────────────────┐ ┌──────────────────┐ ┌──────────────────────┐
│ target.jar / .apk│────▶│ decompile_java │────▶│ java-decompiled/ │
└──────────────────┘ └──────────────────┘ │ ├─ src/ │
│ │ ├─ manifest.json │
│ │ └─ obfuscation.json │
▼ └──────────────────────┘
┌──────────────────┐ ┌──────────────────────┐
│ analyze_java │────▶│ java_analysis.json │
└──────────────────┘ └──────────────────────┘

Usage

bash
# Decompile a JAR
python java-decompiler/scripts/decompile_java.py app.jar --out output/java-decompiled
# Decompile an Android APK
python java-decompiler/scripts/decompile_java.py app.apk --out output/java-decompiled
# Decompile with specific tool
python java-decompiler/scripts/decompile_java.py app.jar --out output/java-decompiled --decompiler cfr
# Analyse decompiled source
python java-decompiler/scripts/analyze_java.py output/java-decompiled --out output/java-analysis

Decompiler Priority

ToolBest forInstall
CFRGeneral JAR/class (best output quality)Download cfr.jar
ProcyonComplex generics, lambdasDownload procyon-decompiler.jar
FernFlowerIntelliJ-style outputDownload fernflower.jar
JADXAndroid APK (dex → java directly)pip install jadx or download
javapFallback bytecode listingIncluded with JDK

Outputs

FileContent
src/Decompiled .java source files
manifest.jsonParsed MANIFEST.MF + entry points
obfuscation.jsonDetected obfuscator + evidence
java_analysis.jsonLicense logic, secrets, endpoints, dependencies

When to use

  • binary-identifier reports Java language
  • Target is a .jar, .war, .ear, .apk, or .class file
  • Target contains META-INF/MANIFEST.MF or classes.dex

Anti-patterns

MistakeFix
Using only one decompilerCFR fails on some patterns → fallback to Procyon/FernFlower
Ignoring MANIFEST.MFContains Main-Class, classpath, version — always parse
Skipping obfuscator detectionDeobfuscate first (string decryption) for readable output
Treating APK as JARAPK uses DEX bytecode — needs dex2jar or JADX, not cfr directly
Missing inner classesInner classes are separate .class files — decompile the whole JAR

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
150
Repository forks
90
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ptn1411/skill/java-decompiler/badge)](https://verified-skill.com/skills/ptn1411/skill/java-decompiler)

Something wrong with this skill or its page? Tell us.