jar-explorer

List Java archive contents, manifests, and decompile classes with CFR.

4|Updated Aug 18, 2016
One-click install
npx skills add https://github.com/esafirm/dotfiles --skill jar-explorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jar-explorer
Source: https://github.com/esafirm/dotfiles/tree/main/.gemini/skills/jar-explorer
Command: npx skills add https://github.com/esafirm/dotfiles --skill jar-explorer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires java, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you quickly understand what is inside a Java archive or compiled class file without manually unpacking or decoding it.

Core Features & Use Cases

  • JAR Inspection: List archive contents and reveal package structure for dependency analysis or debugging.
  • Manifest Reading: View the manifest to identify metadata such as version information and entry points.
  • Class Decompilation: Convert compiled class files back into readable Java source when you need to study implementation details.
  • Use Case: If you receive a third-party library and need to understand how it works, you can inspect the archive, check the manifest, and decompile a specific class to review its logic.

Quick Start

Ask the jar-explorer skill to inspect myapp.jar, show its manifest, and decompile com.example.Main into a source folder.

Frequently Asked Questions about jar-explorer

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

FAQPage Schema
How do I decompile class files from a JAR archive without manually unpacking it?

You can decompile class files from a JAR archive by using a bundled CFR decompiler and a Java runtime to convert compiled bytecode back into readable Java source code for review.

What is the best way to inspect a JAR manifest and package structure for debugging?

Inspecting a JAR manifest and package structure involves listing archive contents and reading metadata like version information and entry points, which helps identify dependencies during debugging.

Can I extract resources from a third-party Java library to understand how it works?

Yes, you can extract resources and decompile specific classes from a third-party Java library to study its implementation details and understand how the archive works.

Do I need a Java runtime to decompile JAR files during reverse engineering?

Yes, a Java runtime is required to decompile JAR files, as it works with the bundled CFR decompiler to convert class files into readable source during reverse engineering.

Does jar-explorer work with compiled class files that are not inside a JAR archive?

Yes, the tool can decompile compiled class files directly, converting them back into readable Java source to study implementation details even when they are not packaged inside a JAR archive.