DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to map an APK's control flow without flooding the agent context with Seep Reverse Lab

Decompile an Android APK to a control-flow skeleton to save tokens during analysis.

Short answer: Run check.bat to confirm the APK toolchain (JADX and Apktool) is ready; then open the Seep project folder in your agent; ask the agent to triage the APK and then decompile it in fold output mode. All steps.

Authorization notice. Seep Reverse Lab is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Reverse engineering. Decompile only APKs you have permission to analyze.

Who it is forAn Android security tester who needs to understand app logic but works with an agent that has a limited context window.

The problemFull decompiled output for a large APK can exhaust the agent's context and make the analysis drift or stop early.

The outcomeA folded control-flow skeleton of the app that the agent can reason over, with the README's reported token savings.

What you need first

  • Windows machine with PowerShell (the README's one-click installer is install.ps1)
  • A supported agent such as Claude Code or Codex, or Pi Agent, DeepSeek Harness, or OpenCode
  • Written authorization to test the target application or binary
  • A connected Android device or emulator for Frida-based PoC runs (the demo runs on a connected device)

Steps

  1. Run check.bat to confirm the APK toolchain (JADX and Apktool) is ready.
  2. Open the Seep project folder in your agent.
  3. Ask the agent to triage the APK and then decompile it in fold output mode.
  4. Review the skeleton and ask the agent to drill into one class at a time.

Prompt for your agent

Using the Seep Reverse Lab workspace, triage <path-to-apk> and decompile it with seep_apk_decompile in fold mode. Expected output: a control-flow skeleton listing the main classes and their branches. Verify that the skeleton covers the classes the app's main activity calls.

Caveat. The README gives the fold mode token saving as about 60 percent, which is a measured figure from the project, so expect your own savings to vary.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for angusdevgo/Seep-Reverse-Lab and "Map an APK's control flow without flooding the agent context"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer