Debroid CLI Debugger

Debroid CLI Debugger is a skill for Claude Code, Codex from PatilShreyas/debroid. It costs 61 tokens per session (5,661 once invoked), scanned A, original, Apache-2.0.

A command-line debugger for running Android applications, which are apps built for phones and tablets, without a graphical interface.

In plain words
What is it for?
Use it to set breakpoints, catch exceptions, inspect variables and Jetpack Compose screen state, step through Kotlin or Java code, and evaluate expressions.
Why use it?
It helps find runtime problems by pausing the app and examining what the code and its data are doing while it runs.

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/patilshreyas/debroid/debroid-cli
Any agent
npx skills add PatilShreyas/debroid --skill debroid-cli
Clone the repo
git clone --depth 1 https://github.com/PatilShreyas/debroid

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 Debroid CLI Debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/patilshreyas/debroid/debroid-cli.svg)](https://agentmods.dev/skills/patilshreyas/debroid/debroid-cli)
Your own site
<a href="https://agentmods.dev/skills/patilshreyas/debroid/debroid-cli"><img src="https://agentmods.dev/badge/skills/patilshreyas/debroid/debroid-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00061 $0.05661
Opus 5 $0.00030 $0.02831
Sonnet 5 $0.00012 $0.01132
Haiku 4.5 $0.00006 $0.00566

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

Security

Grade A, and why

Debroid CLI Debugger scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/skills/debroid-cli/references/reporting-feedback.md
skills/debroid-cli/SKILL.md · 211 lines

How it starts

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

Debroid CLI Debugger Skill

This skill provides mandatory instructions for AI agents to use the debroid CLI for headless Android debugging. Follow these instructions strictly to avoid context window bloat and execution errors.

🎯 Trigger Conditions

Activate this skill whenever the user or task involves:

  • Debugging an Android application or process live
  • Setting line breakpoints in Kotlin or Java source files (debroid break)
  • Catching uncaught or caught runtime exceptions (debroid catch-exception)
  • Inspecting live variables, object memory, or Jetpack Compose state (debroid locals, pause-state, inspect)
  • Stepping through Kotlin/Java code execution (debroid step)
  • Monitoring field access or modifications with watchpoints (debroid watch)
  • Evaluating expressions or mutating variable values in runtime memory (debroid eval, set-var)

⚠️ Critical Agent Rules (DO NOT IGNORE)

  1. Always use --with-stacktrace when polling to get immediate context.
  2. Never poll in an infinite loop. Poll once or twice, and if the app hasn't hit a breakpoint, instruct the user to interact with the app.
  3. Parse JSON outputs carefully. All CLI outputs are JSON strings. Extract sessionId, threadId, objectId, breakpointId, exceptionBreakpointId, watchpointId, and continuationId exactly as provided and reuse them verbatim in subsequent commands. Do not synthesize IDs.
  4. Track trap IDs and remove them when done. Every break, catch-exception, and watch returns an ID. Use remove-break, remove-catch-exception, remove-watch to clear traps you no longer need so they don't fire unexpectedly and waste poll cycles.
  5. Keep IDs in working memory, not in long scratch buffers. A typical session uses 1–3 trap IDs plus 1 thread ID — keep them inline.
  6. Use Background Tasks: If you are using an agentic system that supports background tasks, run debroid daemon as a background task.
  7. Token efficiency & Schema Inspection: All JSON responses are compact single-line by default to conserve agent context tokens. If formatted multi-line JSON is required, append the --pretty flag to any JSON command. To inspect the expected output JSON structure for any command without running a session, pass the --schema flag (e.g., debroid pause-state --schema). Do not echo full responses back to the user verbatim — summarize the relevant fields (valuePreview, type, objectId, location).
  8. Self-Recovery: If a session becomes unresponsive or gets out of sync, run debroid stop to cleanly terminate the daemon and release ADB ports. The next debroid command will auto-restart a fresh daemon.
  9. Report, but don't block: If you hit unexpected Debroid behavior or have feedback on the tool itself, first try to resume the flow of what the user originally wanted to perform. Do not immediately jump to reporting the issue. At the end of your task, ask the user if they want to report the issue. See "🐛 Reporting Bugs & Feedback" below for details.

Read the full file on GitHub · 211 lines

Files

What ships with it

1 file 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. 4d ago First seen · 211 lines · 61 tokens per session scan A 97c58cfa48ae

Subscribe to this mod's changes

Debroid CLI Debugger is a skill published in the GitHub repository PatilShreyas/debroid (252 stars, last pushed 5d ago), licensed Apache-2.0. It adds 61 tokens to every session and 5,661 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.