Skip to content
Back to skills

Apk Mod

ASecurity

Modify, rebuild, verify, and install an APK using the available Android tools and a separate working copy.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agents

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add zephyr7030/HarnessGeek --skill apk-mod --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apk Mod?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apk Mod
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zephyr7030-apk-mod/badge)](https://www.skillsdirectory.com/skills/zephyr7030-apk-mod)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: apk-mod
description: Modify, rebuild, verify, and install an APK using the available Android tools and a separate working copy.
---

# Modify an APK

1. Identify the package and use `pm path PACKAGE` to locate its installed APKs. Check whether it has splits. Copy the source APKs into a separate working directory and keep them intact throughout the edit.
2. Inspect the manifest and package information before choosing an edit. Use the packaged `apktool` to decode (`apktool d`) and rebuild (`apktool b`) when resources or smali need changes. Use the available smali tools only for a DEX-level edit. Change only the required resources or code.
3. Rebuild to a fresh output file. Align it with `zipalign` before signing. Check the tool's help for the alignment options required by the target and use the same options to verify alignment.
4. Use the project's signing key when provided. Otherwise use the packaged `apk-keygen` to create or reuse the module's private signing key and certificate. Run `apk-keygen` without arguments. It prints the private key path first and certificate path second, reusing the same pair on subsequent calls. Pass the resulting PKCS#8 key and certificate to `apksigner sign --key KEY --cert CERT --out SIGNED ALIGNED`.
5. Before installation, verify the signed artifact with `apksigner verify --verbose --print-certs SIGNED` and inspect its manifest with `aapt2 dump badging SIGNED`. For a split installation, check that the set is complete and signed consistently.
6. Install only when requested. An update needs the installed package's signing identity. A different signer requires a separate uninstall and reinstall, which removes package data. Explain the consequence before that operation. After installing, check the installed version and the behavior the user asked to change.

The environment summary lists the tools actually available. If a required tool is missing, explain which step is blocked.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.