apk

apk is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 78 tokens per session (614 once invoked), scanned A, original, Apache-2.0.

Offline tools for inspecting Android APK files, which are packages containing Android applications, and split APK archives without running the app.

In plain words
What is it for?
Reading manifests and versions, listing bundled libraries, extracting launcher icons, inspecting Wear OS features, and decompiling resources.
Why use it?
They make it easier to read app metadata and resources when the original source code or a live device is unavailable.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/apk
Any agent
npx skills add ithinkihaveacat/dotfiles --skill apk
Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles

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 apk

README.md
[![agentmods](https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/apk.svg)](https://agentmods.dev/skills/ithinkihaveacat/dotfiles/apk)
Your own site
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/apk"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/apk.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00078 $0.00614
Opus 5 $0.00039 $0.00307
Sonnet 5 $0.00016 $0.00123
Haiku 4.5 $0.00008 $0.00061

Measured 5d ago against content hash 948689bb38c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

apk 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 5d 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.

skills/apk/SKILL.md · 66 lines

How it starts

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

Android APK Utilities

This skill provides a comprehensive suite of utilities for working with Android APK files and split-APK ZIP archives offline.

Using Helper Scripts vs. Raw CLI Tools

Use the scripts in scripts/ as the primary interface for APK inspection. They automate handling split-APK ZIP archives (extracting base splits to temporary directories), normalize output across aapt, aapt2, and apkanalyzer, and format XML manifests for clean readability.

When raw tools like apkanalyzer or aapt2 are needed for specialized flags, refer to the helper scripts as reference implementations for handling archive extraction and error recovery.

Script Index

See references/command-index.md for detailed usage.

  • scripts/apk-info: The unified read-only APK metadata and file inspector. Supports subcommands (package, manifest, version, libraries, tiles, complications, launcher, file).

Extraction & Decoding

  • scripts/apk-decode: Decompile the entire APK using apktool to inspect resources.
  • scripts/apk-launcher-icon-extract: Decompile and extract the launcher and round launcher icons as files.
  • scripts/apk-unzip: Unzip ZIP archives, split APK bundles, or app bundles.

Device Interaction

  • scripts/apk-install-and-launch: Install the APK/ZIP on a connected device and launch its main activity.

[!TIP] If the application is already installed on the device and you want to launch it without reinstalling (preserving state and cache), you can compose the scripts/apk-info package query with an ADB package management utility (such as packagename, if available in your workspace):

  • Fish: packagename launch (apk-info package app.apk)
  • Bash/Zsh: packagename launch $(apk-info package app.apk)

Reference Material

  • Command Index — Detailed synopsis, options, and examples for all APK scripts.
  • Troubleshooting — Solutions for missing dependencies (apkanalyzer, xpath, apktool, aapt).

Read the full file on GitHub · 66 lines

Files

What ships with it

8 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. 5d ago First seen · 66 lines · 78 tokens per session scan A 948689bb38c5

Subscribe to this mod's changes

apk is a skill published in the GitHub repository ithinkihaveacat/dotfiles (48 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 614 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

aish-add-skills

Create new skills from documents, tutorials, or examples. Use when user wants to create a skill from learning materials or existing content.

AI-Shell-Team/aish · 32 tokens

diagnose_system_lag

Local Linux lag and performance diagnosis. Run read-only probes based on the user's symptoms to find CPU, memory, disk, or local network bottlenecks, then give safe advice. Never auto-remediate. Also matches Chinese requests such as 系统卡顿、机器好慢、内存不足、突然重启、OOM、磁盘很慢.

AI-Shell-Team/aish · 78 tokens

devops-docker-patterns

Docker containerization expert specializing in multi-stage builds, image optimization, Docker Compose patterns, and production container security. Use for Dockerfile optimization, compose configurations, and container best practices.

AI-Shell-Team/aish · 43 tokens

devops-platform-engineering

Platform engineering expert specializing in internal developer platforms, self-service infrastructure, Backstage service catalogs, GitOps with ArgoCD, and golden path templates. Use for building developer portals and platform-as-a-product.

AI-Shell-Team/aish · 47 tokens

dns-diagnose

Local DNS resolution troubleshooting with dig/resolvectl/whois. Investigate NXDOMAIN, wrong answers, records not taking effect, and resolver failures. Read-only; do not change DNS config. Also matches Chinese requests such as DNS 解析失败、域名解析不了、NXDOMAIN、解析不到.

AI-Shell-Team/aish · 66 tokens

network-path-diagnose

Diagnose network path quality from this host to a target using ping/mtr/curl. Investigate packet loss, high latency, jitter, and reachability failures; interpret hop results and suggest follow-up tests. Do not change network config. Also matches Chinese requests such as 网络丢包、延迟高、链路质量、ping 不通、网络抖动.

AI-Shell-Team/aish · 82 tokens