read jar

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    read jar

    1

    Inspect, extract, and decompile Java JAR files using Python and the CFR engine.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    read jar

    Example session with this skill installed

    List all property files in app.jar and show me the content of the one in the com/config folder.

    • Read your context and instructions
    • Compiled the read jar

    I have scanned app.jar for configuration files and extracted the requested entry.

    JAR Entry Inspection

    Matches found:

    • META-INF/maven/com.example/app/pom.properties
    • com/config/database.properties
    • com/config/log4j.properties

    Extracted Content: com/config/database.properties

    
    # Database Configuration
    db.host=localhost
    db.port=5432
    db.user=admin
    db.password=ENC(vKj8n2m9Pq)
    db.pool.size=10
    db.timeout=3000
    

    Next steps

    1. Use python3 scripts/read_jar.py source app.jar com.example.DbClient to see how these properties are loaded.
    2. If you need to modify this file, use the extract command with --output to save it locally, edit, and repackage.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Java developers often waste time manually unzipping artifacts or struggling with bytecode when debugging third-party dependencies. This skill provides a specialized CLI interface to inspect, extract, and decompile JAR files without leaving your terminal or IDE.

    What it does

    • List entries scans JAR contents with support for glob filtering to find specific classes or resources.
    • Extract files retrieves text or binary content from the archive directly to stdout or a specified path.
    • Decompile classes uses the CFR engine to convert .class bytecode back into readable Java source code.
    • Source recovery automatically detects sibling -sources.jar files to provide original source code before falling back to decompilation.
    • Binary inspection provides hex previews for non-text entries like images or nested archives to verify contents.

    How it works

    1. Use the list command with optional --match patterns to locate files within the JAR.
    2. Invoke the extract command to read configuration files or pull out nested dependencies.
    3. Run the source command on a class name to fetch the original code from a bundled source JAR or trigger CFR decompilation.
    4. Execute the decompile command with an output directory to reconstruct the entire package structure as .java files.

    Frameworks & tools

    This tool uses Python 3 and the standard library for archive handling. It integrates the CFR decompilation engine and supports Maven-style source JAR naming conventions.

    Why this beats prompting it yourself

    Generic LLMs cannot "see" inside binary blobs or local file systems. This skill provides the specific logic to handle character encoding detection, ZIP structures, and decompilation workflows that raw prompting lacks.

    Use cases

    • Debugging production issues by inspecting bundled .properties or .xml configs.
    • Understanding undocumented legacy libraries by decompiling specific class files.
    • Verifying the contents of a build artifact before deployment.
    • Extracting nested JARs from fat jars for further analysis.

    Known limitations

    Does not support recursive inspection of JAR-in-JAR files. Requires an internet connection for the initial CFR engine download if not already present in the vendor directory.

    No recursive jar-in-jar inspection. Initial CFR download requires internet. Only peels one layer of nesting at a time. Output directories must not already exist.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    Requires

    Maven
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    repo1.maven.org
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    This skill eliminates the manual overhead of unzipping artifacts or using separate GUI tools; it allows you to list, extract, and decompile Java bytecode into readable source code directly within your AI agent's workflow.

    The skill is designed for any AI agent or developer environment running Python 3, and it seamlessly integrates the CFR engine to handle complex Java bytecode decompilation.

    Yes, the skill is optimized to automatically search for and prioritize sibling '-sources.jar' files, ensuring you get original source code whenever it is available before resorting to decompilation.

    The purchase includes the full Python-based skill logic, the integration bridge for the CFR decompilation engine, and the CLI interface for inspecting and extracting JAR contents.

    Currently, the skill focuses on the top-level archive; while it can extract nested 'fat jars,' it does not automatically recurse into them for inspection in a single command.

    New in APIs & Backend