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.
npx agentmods add skills/patilshreyas/debroid/debroid-clinpx skills add PatilShreyas/debroid --skill debroid-cligit clone --depth 1 https://github.com/PatilShreyas/debroidWrote 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.
[](https://agentmods.dev/skills/patilshreyas/debroid/debroid-cli)<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>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.
| Model | Per session | Once 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 |
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 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)
- Always use
--with-stacktracewhen polling to get immediate context. - 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.
- Parse JSON outputs carefully. All CLI outputs are JSON strings. Extract
sessionId,threadId,objectId,breakpointId,exceptionBreakpointId,watchpointId, andcontinuationIdexactly as provided and reuse them verbatim in subsequent commands. Do not synthesize IDs. - Track trap IDs and remove them when done. Every
break,catch-exception, andwatchreturns an ID. Useremove-break,remove-catch-exception,remove-watchto clear traps you no longer need so they don't fire unexpectedly and waste poll cycles. - 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.
- Use Background Tasks: If you are using an agentic system that supports background tasks, run
debroid daemonas a background task. - 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
--prettyflag to any JSON command. To inspect the expected output JSON structure for any command without running a session, pass the--schemaflag (e.g.,debroid pause-state --schema). Do not echo full responses back to the user verbatim — summarize the relevant fields (valuePreview,type,objectId,location). - Self-Recovery: If a session becomes unresponsive or gets out of sync, run
debroid stopto cleanly terminate the daemon and release ADB ports. The nextdebroidcommand will auto-restart a fresh daemon. - 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.
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.
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.
- 4d ago First seen · 211 lines · 61 tokens per session scan A 97c58cfa48ae
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.
Other skills, from other repositories
kotlin-coroutines-expert
Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing in this Android app.
compose-inspector
Use when inspecting or building Jetpack Compose UI for recomposition safety, stability (@Immutable/@Stable), RTL/LTR, remember/derivedStateOf, and Lazy list keys.
android-harness
Use when working on this Android app architecture, Compose or XML UI, Room, performance, or daily checkout facts.
gradle-build-optimizer
Use when Gradle builds hang, lock on Windows, or a targeted :app assemble/test is enough instead of a full rebuild.
systematic-debugging
Use when diagnosing this Android app bugs, crashes, or unexpected UI behavior. Requires explicit hypotheses before code changes.
compose-navigation
Jetpack Compose Navigation for Android AI agents. Use this skill whenever implementing navigation, NavHost, NavController, back stack, deep links, navigation arguments, routes, type-safe navigation, @Serializable routes, navController.navigate, popBackStack, navigateUp, bottom navigation, tab navigation, nested…