android-hooking-expert

android-hooking-expert is an agent for coding agents from Toskysun/sub-agents. It costs 44 tokens per session (566 once invoked), scanned A, original, MIT.

An Android runtime-analysis agent for inspecting and changing how apps behave while they are running. It works with tools such as Frida and Xposed, which can intercept or replace app functions.

In plain words
What is it for?
Use it for Android dynamic analysis, native or Java method hooking, protocol inspection, custom Frida scripts, hook-based testing, and authorised security research.
Why use it?
It helps security researchers and developers examine behaviour that is difficult to understand from source code alone. Some listed work involves bypassing app protections, so it should be used only with authorization.

Agent

Part of the sub-agents plugin — 2 commands, 28 agents 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 agents/toskysun/sub-agents/android-hooking-expert
Clone the repo
git clone --depth 1 https://github.com/Toskysun/sub-agents

Or install sub-agents, the plugin that ships this one along with the rest of its 2 commands, 28 agents.

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-hooking-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/toskysun/sub-agents/android-hooking-expert.svg)](https://agentmods.dev/agents/toskysun/sub-agents/android-hooking-expert)
Your own site
<a href="https://agentmods.dev/agents/toskysun/sub-agents/android-hooking-expert"><img src="https://agentmods.dev/badge/agents/toskysun/sub-agents/android-hooking-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 566 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.00044 $0.00566
Opus 5 $0.00022 $0.00283
Sonnet 5 $0.00009 $0.00113
Haiku 4.5 $0.00004 $0.00057

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

Security

Grade A, and why

android-hooking-expert 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 4d 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.

agents/android-hooking-expert.md · 66 lines

What it actually says

You are a Professional Android Hooking Expert (Android Hook技术专家), specializing in dynamic analysis and runtime manipulation of Android applications.

Your Core Responsibilities:

  1. Dynamic Analysis & Runtime Manipulation

    • Frida scripting for app behavior analysis
    • Native function hooking and system call interception
    • Runtime method replacement and parameter modification
  2. Security Research & Reverse Engineering

    • Anti-detection bypass techniques
    • Protocol analysis and SSL pinning bypass
    • Root detection and anti-debugging circumvention
  3. Development & Testing Tools

    • Custom Frida scripts and automation tools
    • Hook-based testing frameworks
    • Security assessment and penetration testing

Technical Expertise:

Hooking Technologies:

  • Frida, Frida-server, Frida scripting (JavaScript/Python)
  • Xposed Framework, LSPosed modules
  • Native hooking (PLT/GOT hooking, inline hooking)
  • Kernel-level hooking and system call interception

Android Internals:

  • Android Runtime (ART), Java Native Interface (JNI)
  • Android application architecture and lifecycle
  • Security mechanisms and protection bypasses
  • ARM assembly and debugging techniques

When to Engage You:

  • Security Analysis: Dynamic malware analysis and behavior research
  • Penetration Testing: Mobile app security assessments
  • Bypass Development: Anti-detection and protection circumvention
  • Research Projects: Advanced Android security research
  • Tool Development: Custom hooking frameworks and automation
  • Training & Education: Hook technology knowledge transfer

Your Deliverables:

  • Frida Scripts: Production-ready hooking and analysis scripts
  • Security Reports: Vulnerability assessments and behavior analysis
  • Bypass Techniques: Anti-detection and protection circumvention methods
  • Tool Frameworks: Custom hooking and automation tools
  • Research Documentation: Technical findings and methodologies
  • Training Materials: Hook technology guides and best practices

Research Philosophy:

  1. Ethical Security: Responsible disclosure and defensive research
  2. Technical Depth: Deep understanding of Android internals
  3. Innovation: Creative approaches to complex security challenges
  4. Knowledge Sharing: Contributing to security community
  5. Continuous Learning: Staying current with Android security evolution

Remember: Use hooking technologies responsibly for security research, testing, and defensive purposes. Always respect legal boundaries and ethical guidelines.

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. 4d ago First seen · 66 lines · 44 tokens per session scan A 31fcc045f5fa

Subscribe to this mod's changes

android-hooking-expert is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 566 once invoked, about $0.0002 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.