ClassyShark is a standalone binary inspection tool for Android developers. It can reliably browse any Android executable and show important info such as class interfaces and members, dex counts and dependencies. ClassyShark supports multiple formats including libraries (.dex, .aar, .so), executables (.apk, .jar, .class) and all Android binary XMLs: AndroidManifest, resources, layouts etc.
To run, grab the latest JAR
and run java -jar ClassyShark.jar.
- Exporter
- API finder 🚧 work in progress
- Clone the repo
- Open in your favorite IDE/editor
- Build options:
- IntelliJ - builds automatically when exporting the project
- Gradle script
- RetroBuild
If you're running Arch Linux you can install the latest prebuilt jar from the AUR.
If you've found an error, please file an issue:
https://github.com/google/android-classyshark/issues
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.
This repo is a Claude Code plugin marketplace. It
ships two agents — classyshark-headless (pure analysis) and classyshark-gui (drives the
live Swing window) — plus a get-started skill that tells Claude how to fetch the jar and pick
an agent.
Install (in Claude Code, or in a terminal):
# 1. Add this repo as a marketplace
claude plugin marketplace add github:android-security-engineer/android-classyshark-skills
# 2. Install the classyshark plugin
claude plugin install classyshark@android-classyshark-skills
# 3. Verify agents + skill are registered
claude plugin details classyshark@android-classyshark-skillsOr, interactively inside Claude Code: /plugin marketplace add github:android-security-engineer/android-classyshark-skills, then
/plugin install classyshark.
Then ask Claude to analyze a binary, e.g. "analyze this apk's methods and strings". Claude will obtain the jar (from the Releases / RELEASE.md) and drive ClassyShark through its JSON stdio protocol.
Marketplace layout:
.claude-plugin/marketplace.json # marketplace manifest (→ plugin ./classyshark)
classyshark/
.claude-plugin/plugin.json # plugin manifest (metadata only)
agents/classyshark-headless.md # auto-discovered agents
agents/classyshark-gui.md
skills/get-started/SKILL.md # auto-discovered skill
Validate locally: claude plugin validate . --strict and claude plugin validate classyshark --strict.
Copyright 2020 Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
