- Home
- Skills
- APIs & Backend
- read jar
read jar
Works with the AI Agents you already use
read jar
Inspect, extract, and decompile Java JAR files using Python and the CFR engine.
$5
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.propertiescom/config/database.propertiescom/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
- Use
python3 scripts/read_jar.py source app.jar com.example.DbClientto see how these properties are loaded. - If you need to modify this file, use the
extractcommand with--outputto 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
.classbytecode back into readable Java source code. - Source recovery automatically detects sibling
-sources.jarfiles 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
- Use the
listcommand with optional--matchpatterns to locate files within the JAR. - Invoke the
extractcommand to read configuration files or pull out nested dependencies. - Run the
sourcecommand on a class name to fetch the original code from a bundled source JAR or trigger CFR decompilation. - Execute the
decompilecommand with an output directory to reconstruct the entire package structure as.javafiles.
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
.propertiesor.xmlconfigs. - 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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
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
- Accounts
Maven
- Software
Git
Permissions
Allowed Hosts