compare-versions

compare-versions is a command for Claude Code from TheQmaks/areclaw-plugin. It costs 18 tokens per session (1,388 once invoked), scanned A, original, MIT.

A command that compares two releases of the same Android app by examining their decompiled code, resources, manifest, permissions, APIs, security changes, and protections.

In plain words
What is it for?
Use it for Android release reviews, permission audits, security checks, and investigating feature or code changes between two APK files.
Why use it?
It helps reveal what changed between an old and new app package, including changes that may not be obvious from the release description.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the areclaw plugin — 1 skill, 6 commands shipped together

Good fit Use it for Android release reviews, permission audits, security checks, and investigating feature or code changes between two APK files.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add TheQmaks/areclaw-plugin
Claude Code
/plugin install areclaw

Made for: Claude Code.

Or install areclaw, the plugin that ships this one along with the rest of its 1 skill, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for compare-versions

README.md
[![agentmods](https://agentmods.dev/badge/commands/theqmaks/areclaw-plugin/compare-versions/github.svg)](https://agentmods.dev/commands/theqmaks/areclaw-plugin/compare-versions)
Your own site
<a href="https://agentmods.dev/commands/theqmaks/areclaw-plugin/compare-versions"><img src="https://agentmods.dev/badge/commands/theqmaks/areclaw-plugin/compare-versions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for compare-versions

Your own site · 80×15
<a href="https://agentmods.dev/commands/theqmaks/areclaw-plugin/compare-versions"><img src="https://agentmods.dev/badge/commands/theqmaks/areclaw-plugin/compare-versions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01388
Opus 5.5 $0.00007 $0.00555
Sonnet 5.5 $0.00004 $0.00278
Haiku 4.5 $0.00002 $0.00139

Measured 3mo ago against content hash 575d89505795, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compare-versions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/areclaw/commands/compare-versions.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/compare-versions

Compare two versions of the same Android application to identify what changed between releases: new features, security modifications, API additions or removals, permission changes, and protection updates.

Instructions

1. Parse the arguments and decompile both versions

The first argument is the OLD version, the second is the NEW version.

# Detect protections on both
apkid $OLD_APK
apkid $NEW_APK

# Decompile both with jadx
jadx -d workspace/output/old_version --deobf $OLD_APK
jadx -d workspace/output/new_version --deobf $NEW_APK

# Decode resources and smali for both
apktool d -o workspace/output/old_version-smali $OLD_APK
apktool d -o workspace/output/new_version-smali $NEW_APK

2. Diff the AndroidManifest

2a. Compare permissions
grep 'uses-permission' workspace/output/old_version-smali/AndroidManifest.xml | sort > /tmp/perms_old.txt
grep 'uses-permission' workspace/output/new_version-smali/AndroidManifest.xml | sort > /tmp/perms_new.txt
diff /tmp/perms_old.txt /tmp/perms_new.txt

Flag new dangerous permissions and removed permissions.

2b. Compare components
grep -E 'activity |service |receiver |provider ' workspace/output/old_version-smali/AndroidManifest.xml | sort > /tmp/comp_old.txt
grep -E 'activity |service |receiver |provider ' workspace/output/new_version-smali/AndroidManifest.xml | sort > /tmp/comp_new.txt
diff /tmp/comp_old.txt /tmp/comp_new.txt

Flag new exported components, removed components, and changed intent-filters.

2c. Compare SDK versions and security flags

Check for changes in: targetSdkVersion, minSdkVersion, debuggable, allowBackup, networkSecurityConfig.

3. Diff the code

3a. Compare file trees
find workspace/output/old_version -name "*.java" | sed 's|workspace/output/old_version/||' | sort > /tmp/files_old.txt
find workspace/output/new_version -name "*.java" | sed 's|workspace/output/new_version/||' | sort > /tmp/files_new.txt

# New files
comm -13 /tmp/files_old.txt /tmp/files_new.txt > /tmp/new_files.txt
# Removed files
comm -23 /tmp/files_old.txt /tmp/files_new.txt > /tmp/removed_files.txt
# Common files (candidates for content diff)
comm -12 /tmp/files_old.txt /tmp/files_new.txt > /tmp/common_files.txt

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 166 lines · 18 tokens per session scan A 575d89505795

Subscribe to this mod's changes

compare-versions is a command published in the GitHub repository TheQmaks/areclaw-plugin (3 stars, last pushed 8mo ago), licensed MIT. It adds 18 tokens to every session and 1,388 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

compare-versions compared with commands from other repositories

compare-versions next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compare-versionsTheQmaks/areclaw-pluginCommand38mo agoMITA18Claude Code
app-store-auditmjmirza/app-store-complianceCommand9.8ktodaynoneA35Claude Code
erne-animateJubaKitiashvili/everything-react-native-expoCommand501mo agoMITA21Claude Code
react-nativegetsentry/toolkitCommand977yesterdaynoneA0Claude Code
initialize-iosdefendend/Claude-ast-index-searchCommand60525d agoMITA18Claude Code
mobile-performance-checktungnk123/mobile-best-practicesCommand228mo agoMITA14Claude Code
kmp-update-design-systemronjunevaldoz/kmp-agent-skillsCommand71mo agononeA34Claude Code