smali-dex-patching

smali-dex-patching is a skill for Claude Code, Codex from AeonDave/malskill. It costs 144 tokens per session (5,580 once invoked), scanned A, original, no licence file.

A guide to changing the low-level code inside shipped Android app packages (APKs). DEX and smali are Android's compiled-code format and its human-readable representation.

In plain words
What is it for?
It covers unpacking and rebuilding APKs, changing managed-code logic, bypassing root or emulator checks, disabling certificate pinning, removing licence checks, and adding logs.
Why use it?
It explains how to inspect and alter app behaviour when source code is unavailable, including checks that block testing or analysis.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It covers unpacking and rebuilding APKs, changing managed-code logic, bypassing root or emulator checks, disabling certificate pinning, removing licence checks, and adding logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeondave/malskill/smali-dex-patching
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AeonDave/malskill --skill smali-dex-patching
Clone the repo
git clone --depth 1 https://github.com/AeonDave/malskill

Made for: Claude Code, Codex.

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 smali-dex-patching

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeondave/malskill/smali-dex-patching/github.svg)](https://agentmods.dev/skills/aeondave/malskill/smali-dex-patching)
Your own site
<a href="https://agentmods.dev/skills/aeondave/malskill/smali-dex-patching"><img src="https://agentmods.dev/badge/skills/aeondave/malskill/smali-dex-patching/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 smali-dex-patching

Your own site · 80×15
<a href="https://agentmods.dev/skills/aeondave/malskill/smali-dex-patching"><img src="https://agentmods.dev/badge/skills/aeondave/malskill/smali-dex-patching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,580 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 unknown 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.00144 $0.05580
Opus 5 $0.00072 $0.02790
Sonnet 5 $0.00029 $0.01116
Haiku 4.5 $0.00014 $0.00558

Measured today against content hash 9ef94e3a7da4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

smali-dex-patching 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 today.

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.

offensive-coding/smali-dex-patching/SKILL.md · 458 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 458 lines · 144 tokens per session scan A 9ef94e3a7da4

Subscribe to this mod's changes

smali-dex-patching is a skill published in the GitHub repository AeonDave/malskill (18 stars, last pushed today), with no licence file. It adds 144 tokens to every session and 5,580 once invoked, about $0.0007 per session on Opus 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-09-09.

Related

Other skills, from other repositories

google-mobile-ads-android-migrate-to-next-gen

Migrates Android applications from the old, legacy Google Mobile Ads (GMA) SDK (com.google.android.gms:play-services-ads) to the new GMA Next-Gen SDK (com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk). Provides comprehensive mapping tables for imports, classes, and method signatures to help determine…

google/skills · 105 tokens

google-mobile-ads-validate

Validates a project's Google Mobile Ads (GMA) SDK integration for iOS, Android, or Unity projects. Use when conducting a full pre-launch audit of an app that integrates GMA SDK or when validating any individual GMA SDK integration checks, such as when validating ad unit IDs and ad formats, SKAdNetwork IDs, mediation…

google/skills · 84 tokens

navigation-event

Intercept back gestures and run Predictive Back animations using the NavigationEvent (androidx.navigationevent) library in Compose Android. Handles Activity setup, parent-child dispatcher scoping in ViewPagers or tabs, Compose NavigationBackHandler, and migration from legacy BackHandler on SDK 36+.

android/skills · 64 tokens

camerax

Provide technical guidance for Android camera development with CameraX. Use when implementing camera features, handling asynchronous recording lifecycles, wiring low-level hardware interop using CameraX, or integrating ML Kit or Media3 effects.

android/skills · 47 tokens

appfunctions

Analyzes Android apps to identify key user workflows for AppFunctions such as creating a note, playing media, or sending an automated or AI agent triggered message, voice commands, or system shortcuts, without needing to open the app UI. Generates Kotlin code to expose these workflows to the Android system, allowing…

android/skills · 89 tokens

kotlin-tooling-agp9-migration

Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions…

Kotlin/kotlin-agent-skills · 105 tokens