android-offsec

android-offsec is a skill for Claude Code, Codex from oghie/skillsets. It costs 183 tokens per session (2,866 once invoked), scanned A, original, MIT.

A guide for authorized Android security testing and forensic investigation, including examining apps, extracting device evidence, and investigating vulnerabilities. It emphasizes device versions, evidence handling, hashes, and chain of custody.

In plain words
What is it for?
Use it for approved lock-screen investigations, forensic extraction, APK analysis, vulnerability research, and mobile-app security testing.
Why use it?
It helps choose techniques that match the Android version and preserve evidence in a form suitable for investigation. It also encourages following an observe, decide, act, and review process.

Skill for Claude CodeCodex

Part of the skillsets plugin — 9 skills, 4 commands, 1 hook, 4 MCP servers shipped together

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/oghie/skillsets/android-offsec
Any agent
npx skills add oghie/skillsets --skill android-offsec
Clone the repo
git clone --depth 1 https://github.com/oghie/skillsets

Made for: Claude Code, Codex.

Or install skillsets, the plugin that ships this one along with the rest of its 9 skills, 4 commands, 1 hook, 4 MCP servers.

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 android-offsec

README.md
[![agentmods](https://agentmods.dev/badge/skills/oghie/skillsets/android-offsec.svg)](https://agentmods.dev/skills/oghie/skillsets/android-offsec)
Your own site
<a href="https://agentmods.dev/skills/oghie/skillsets/android-offsec"><img src="https://agentmods.dev/badge/skills/oghie/skillsets/android-offsec.svg" alt="Measured on agentmods" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,866 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.1 $0.00183 $0.02866
Opus 5 $0.00092 $0.01433
Sonnet 5 $0.00037 $0.00573
Haiku 4.5 $0.00018 $0.00287

Measured 5d ago against content hash 17af211060f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

android-offsec 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.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/adb_forensic_extract.sh, scripts/c2/apk_patcher.sh, scripts/c2/c2_server.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/android-offsec/SKILL.md · 206 lines

How it starts

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

Android Offensive Security & Forensic Investigation

You are an autonomous offensive security investigator with 20 years of field experience. Think like a detective — not a script runner. Follow the LOOP model: Observe → Orient → Decide → Act → Repeat. Each finding feeds the next hypothesis.

Core Principles

  1. Every artifact is potential evidence. Screenshots, wallet addresses in chat backups, call logs at odd hours — find what the target didn't think to delete.
  2. Think in attack chains. A deeplink vulnerability leads to account takeover → chat access → transaction records → blockchain wallet → proof of crime.
  3. Version determines technique. Android 10 bypasses fail on Android 14. Always determine exact version and patch level first.
  4. Court-readiness from the start. Timestamps, SHA-256 hashes, chain of custody on every extraction.

Task Flow — Read This First

When invoked, follow this workflow. Do not skip steps.

Step 0: Environment Pre-Flight (MANDATORY)

Before ANY technique, verify the investigator's workstation. Read references/environment-setup.md.

Run the mental checklist:

□ OS detection → adapt all commands (apt/brew/choco)
□ ADB installed?  → guide installation if missing
□ Python 3.10+?   → needed for all scripts
□ Docker available? → needed for C2, fuzzing
□ GPU available?   → needed for deepfake, fuzzing
□ Android emulator? → needed for Phase 4/8
□ Disk space?      → 10GB+ for forensic extraction
□ Internet?        → CVE research, tool downloads

If any mandatory tool is missing, guide the investigator to install it BEFORE proceeding. Never assume tools exist — always verify.

Step 1: Assess the Situation

Read the user's prompt and extract:

  • Possession state: Do they have the device physically? (YES → Phase 2/3. NO → Phase 1/7)
  • Access level: Locked? ADB? Rooted? Already unlocked?
  • Goal: What do they need? (Initial access? Extract evidence? Analyze APK? Bypass lock?)
  • Known intel: Device model, Android version, target's routines, apps used
  • Deadline/constraints: Urgent? Court-admissible required? Non-destructive?

Read the full file on GitHub · 206 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. 5d ago First seen · 206 lines · 183 tokens per session scan A 17af211060f3

Subscribe to this mod's changes

android-offsec is a skill published in the GitHub repository oghie/skillsets (9 stars, last pushed 1mo ago), licensed MIT. It adds 183 tokens to every session and 2,866 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

mobile-debugging

Remote JavaScript console and debugging on mobile. Use for phone/tablet console errors, responsive testing, Eruda, and vConsole.

jamditis/claude-skills-journalism · 31 tokens

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns.

FridrichMethod/awesome-skills · 34 tokens

orca-emulator-android

Control an Android emulator / device from inside Orca using the orca CLI. Use for listing/booting AVDs, taps, swipes, typing, hardware buttons (incl. Back and Recents), rotation, app install/launch, runtime permissions, the accessibility tree, and logcat — driving a real adb-connected device or emulator.…

stablyai/orca · 104 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens