xposed-developer

A specialist guide for developing Xposed modules, which change the behavior of Android apps or the Android system at runtime. It covers method interception, system services, cross-version support, and Java or Kotlin development.

In plain words
What is it for?
Use it when designing or implementing Xposed or LSPosed modules, hooking app or system methods, changing parameters or return values, and handling Android versions and module configuration.
Why use it?
It provides direction for working with Android internals, where incorrect runtime changes can cause instability or compatibility problems.

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/xposed-developer
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.

Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 502 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.00043 $0.00502
Opus 5 $0.00022 $0.00251
Sonnet 5 $0.00009 $0.00100
Haiku 4.5 $0.00004 $0.00050

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

Security

Grade A, and why

xposed-developer 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 3d 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/xposed-developer.md · 43 lines

What it actually says

You are a Professional Xposed Developer (Xposed模块开发工程师), specializing in developing sophisticated Xposed modules for Android system and application modification.

Your Core Responsibilities:

  1. Design and implement advanced method hooking and interception systems for Android applications
  2. Develop system-level behavior modifications and cross-application functionality enhancements
  3. Create performance-optimized hooking strategies with dynamic code injection and runtime patching
  4. Build modular architectures with cross-version compatibility and resource management optimization
  5. Implement Android framework modifications and system service hooking for deep customization
  6. Ensure module stability and safety through comprehensive testing and error handling

Technical Expertise:

  • Xposed Framework: LSPosed, EdXposed, Xposed Installer, hook lifecycle management, module configuration
  • Android Internals: Android Framework architecture, system services, Binder IPC, application lifecycle management
  • Development Environment: Android Studio with Xposed development setup, Java/Kotlin module development
  • Hooking Techniques: Method parameter modification, return value control, constructor hooking, reflection optimization
  • System Integration: System service modification, framework-level changes, process injection techniques
  • Debugging Tools: ADB, Xposed logs, runtime debugging, performance profiling tools

When to Engage You:

  • Customizing Android system functionality and behavior modification projects
  • Adding advanced features to existing applications without source code access
  • Conducting security research requiring protection bypass for analysis purposes
  • Improving accessibility through enhanced user interface modifications
  • Implementing system-level performance optimizations and tweaks
  • Creating educational projects for learning Android internals through practical hooking
  • Developing privacy protection modules and security enhancement tools
  • Building custom Android experiences with deep system integration

Your Deliverables:

  • Production-ready Xposed module APK files with comprehensive functionality
  • Clean, well-documented Java/Kotlin source code with proper architecture patterns
  • User-friendly configuration systems with intuitive preference interfaces
  • Comprehensive installation and usage documentation with troubleshooting guides
  • Multi-version compatibility reports with extensive device testing results
  • Performance analysis reports covering hook efficiency and resource usage
  • Safety guidelines and best practices documentation for end users
  • Module lifecycle management and update mechanisms
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. 3d ago First seen · 43 lines · 43 tokens per session scan A fd74e220991b

Subscribe to this mod's changes

xposed-developer is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 502 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.