by PatilShreyas
Autonomous, headless Android debugger designed for AI coding agents. Inspect runtime memory, set breakpoints, and debug live apps.
# Add to your Claude Code skills
git clone https://github.com/PatilShreyas/debroidLast scanned: 8/7/2026
{
"issues": [
{
"file": "README.md",
"line": 48,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/install.s\"",
"severity": "low"
},
{
"file": "README.md",
"line": 91,
"type": "dangerous-command",
"message": "Dangerous command (writes to Claude config): \"> ~/.claude/\"",
"severity": "medium"
},
{
"file": "skills/debroid-cli/SKILL.md",
"line": 184,
"type": "dangerous-command",
"message": "Dangerous command (writes to Claude config): \"> ~/.claude/\"",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-08-07T05:40:23.811Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}debroid is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by PatilShreyas. Autonomous, headless Android debugger designed for AI coding agents. Inspect runtime memory, set breakpoints, and debug live apps. It has 252 GitHub stars.
Yes. debroid passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/PatilShreyas/debroid" and add it to your Claude Code skills directory (see the Installation section above).
debroid is primarily written in Kotlin. It is open-source under PatilShreyas on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh debroid against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Debroid (DEBug + AnDROID) is a headless CLI that speaks the Java Debug Wire protocol (JDWP) so AI agents — Claude Code, Grok Build, Codex, OpenCode, Cursor, Antigravity, or anything with a terminal — can debug a live Android app the way a human would in Android Studio: set breakpoints, catch exceptions, step through code, inspect and mutate variables, and watch fields — all without a GUI, and all through strict, machine-parseable JSON.
Traditional Android development environments are highly visual. While AI coding assistants can write code, they are effectively "blind" when it comes to runtime debugging because they cannot click through the Android Studio UI to inspect memory or pause execution.
Debroid closes this gap. It acts as a translation layer between the raw terminal (which AI agents are great at using) and the Android Virtual Machine. By providing a CLI that outputs deterministic JSON, an AI agent can autonomously hypothesize a bug, launch the app, trap the exact line of code, read the live state of the device, and evaluate a fix — granting agents the same deep runtime awareness previously reserved for human developers.
set-var.[!TIP] Let your AI Agent do it for you! Copy & paste this prompt directly to your AI agent:
Read https://raw.githubusercontent.com/PatilShreyas/debroid/main/README.md and install the Debroid CLI and its skill globally for me.
JAVA_HOME)adb configured in your PATHOption 1: Quick Install (Pre-built Release Binary) Run the one-liner script to download the latest release binary and install it:
curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/install.sh | bash
Option 2: Local Build Install (Build from Source) Clone the repository and build locally:
./install.sh
To completely remove Debroid from your system:
debroid stop
rm ~/.local/bin/debroid
Debroid is designed to be operated autonomously by AI agents. To teach your agent how to use Debroid effectively, provide it with the skill instructions (SKILL.md).
The exact AI skill instructions are automatically extracted by the CLI to ~/.debroid/skills/debroid-cli/SKILL.md on the first run.
Select your AI agent below and run the provided command to create a symbolic link so your agent always stays up to date when you update the Debroid CLI:
mkdir -p ~/.gemini/skills/debroid && ln -s ~/.debroid/skills/debroid-cli/SKILL.md ~/.gemini/skills/debroid/SKILL.md
mkdir -p ~/.claude/skills/debroid && ln -s ~/.debroid/skills/debroid-cli/SKILL.md ~/.claude/skills/debroid/SKILL.md
mkdir -p .cursor/rules && ln -s ~/.debroid/skills/debroid-cli/SKILL.md .cursor/rules/debroid.mdc
mkdir -p ~/.grok/skills/debroid && ln -s ~/.debroid/skills/debroid-cli/SKILL.md ~/.grok/skills/debroid/SKILL.md
mkdir -p ~/.config/opencode/skills/debroid && ln -s ~/.debroid/skills/debroid-cli/SKILL.md ~/.config/opencode/skills/debroid/SKILL.md
mkdir -p ~/.codex/skills/debroid && ln -s ~/.debroid/skills/debroid-cli/SKILL.md ~/.codex/skills/debroid/SKILL.md
Debroid separates the persistent debugging connection from the transient CLI commands to maintain state across agent invocations.
flowchart LR
A["🤖 AI Agent\n(Terminal / CLI)"] <-->|Terminal Commands| B("⚡ Debroid Daemon\n(Background Server)")
B <-->|JDWP over ADB| C["📱 Android App\n(Dalvik/ART VM)"]
debroid commands in the terminal (e.g. debroid break ...).Here is the full list of commands and their signatures (note: all commands support global options -p, --port <int> / DEBROID_PORT environment variable, --version, and -h, --help; all JSON commands accept an optional --pretty flag to format response JSON, and an eager --schema flag to inspect output types):
| Command | Signature | Description |
|---|---|---|
daemon |
debroid daemon |
Starts the persistent background daemon |
stop |
debroid stop [--pretty] |
Shuts down background daemon and detaches all active sessions |
launch |
debroid launch <app_id> [--suspend/--no-suspend] [--pretty] |
Launches app suspended and attaches (auto-clears set-debug-app on detach) |
attach |
debroid attach <app_id> [--suspend] [--pretty] |
Attaches to a running app |
detach |
debroid detach <session_id> [--pretty] |
Safely detaches debugger; for launch sessions also clears am set-debug-app |
break |
debroid break <session_id> <file> <line> [-p/--package=<pkg>] [--pretty] |
Sets a line breakpoint (auto-defers if class isn't loaded yet) |
remove-break |
debroid remove-break <session_id> <breakpoint_id> [--pretty] |
Removes a line breakpoint |
catch-exception |
debroid catch-exception <session_id> [class_name] [--caught] [--uncaught] [--pretty] |
Sets an exception breakpoint (default: --uncaught only) |
remove-catch-exception |
debroid remove-catch-exception <session_id> <exception_breakpoint_id> [--pretty] |
Removes an exception breakpoint |
watch |
debroid watch <session_id> <class_name> <field_name> [--access] [--modify] [--pretty] |
Sets a field watchpoint (default: access+modify) |
remove-watch |
debroid remove-watch <session_id> <watchpoint_id> [--pretty] |
Removes a watchpoint |
points |
debroid points <session_id> [--pretty] |
Lists all active and deferred breakpoints, exception points, and watchpoints for the session |
threads |
debroid threads <session_id> [--pretty] |
Lists active threads |
locals |
debroid locals <session_id> <thread_id> [--pretty] |
Gets shallow local variables |
pause-state |
debroid pause-state <session_id> <thread_id> [--pretty] |
Gets frames, locals, and instance state |
set-var |
debroid set-var <session_id> <thread_id> <var_name> <new_value> [--pretty] |
Mutates local variable |
eval |
debroid eval <session_id> <thread_id> <expression...> [--pretty] |
Evaluates string expression |
resume |
debroid resume <session_id> [--pretty] |
Resumes all threads |
poll |
debroid poll <session_id> [cursor=0] [--with-stacktrace] [--pretty] |
Polls for asynchronous debugger events |
frames |
debroid frames <session_id> <thread_id> [--pretty] |
Retrieves thread stack frames |
coroutine |
debroid coroutine <session_id> <continuation_id> [--pretty] |
Retrieves locals from a Continuation object |
inspect |
debroid inspect <session_id> <object_id> [-d/--max-depth=<int>] [--include-static] [--include-internal] [--pretty] |
Inspects object fields. Filters out static/synthetic noise by default. |
step |
debroid step <session_id> <thread_id> <action> [--pretty] |
Steps execution (STEP_OVER, STEP_INTO, STEP_OUT, RESUME_THREAD, RESUME_ALL) |
update |
debroid update [--check-only] [--pretty] |
Checks for CLI updates or performs an in-place self-update to the latest release |
Security Note: The Debroid daemon listens on
localhost(127.0.0.1) without authentication to enable fast communication with the CLI. It exposes live JVM manipulation. Only run Debroid on a machine where every local user is fully trusted.
We welcome contributions! If you're buildi