Skip to content
Skill

Android debug

Guides an agent through Android debugging with device, screenshot, app and log commands

Android debug is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
37
Last commit
License
MIT
Listing updated

Similar skills

About Android debug

This skill walks an agent through a structured Android debugging session using the android-adb command-line tool. It starts by gathering device details, the foreground app and a screenshot, then optionally clears the log buffer before reproducing a bug so that only relevant output remains.

Logs are collected with the debug commands, which can be narrowed by package and severity level. The skill notes a practical limit: package filtering only works while the app is running, so after a crash the agent should drop the package filter and filter for error-level entries to locate the AndroidRuntime stack trace. The agent then matches log evidence against the current screen and the user's report.

The expected output is a short write-up covering what happened, the strongest evidence, the likely root cause and a suggested next step. Raw adb calls are reserved for diagnostics the android-adb command layer does not yet cover. The skill needs the android-adb tool and adb installed on the machine, and it is distributed under the MIT license.

When your agent uses it

Debug Android issues using android-adb device, screenshot, app, and debug commands.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (935 bytes) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the android-adb-skill plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add amit-nayar/android-adb-skill
/plugin install android-adb-skill@android-adb-skill

Or copy only this skill to ~/.claude/skills/android-debug:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/android-debug &&
cp -R "$tmp/skills/android-debug" ~/.claude/skills/android-debug &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/android-debug inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/android-debug to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/android-debug &&
cp -R "$tmp/skills/android-debug" ~/.agents/skills/android-debug &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/android-debug inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/android-debug to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/android-debug &&
cp -R "$tmp/skills/android-debug" ~/.cursor/skills/android-debug &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/android-debug inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/amit-nayar/android-adb-skill.git --path skills/android-debug

Or copy the folder to ~/.gemini/skills/android-debug yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/android-debug:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/android-debug &&
cp -R "$tmp/skills/android-debug" ~/.copilot/skills/android-debug &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/android-debug inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/amit-nayar/android-adb-skill.git

Then copy android-adb-skill/skills/android-debug into your agent's skills folder as android-debug. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Device context capture
Gathers device information, the current foreground app and a screenshot in JSON form.
Log clearing and collection
Resets the log buffer before reproducing a bug and then pulls logs filtered by package or level.
Crash stack trace lookup
Explains how to find AndroidRuntime stack traces after an app has crashed.
Structured debugging report
Directs the agent to report what happened, evidence, root cause and the next step.
Raw adb fallback
Permits plain adb commands only for diagnostics the android-adb layer does not cover.

Good for

  • Investigate why an Android app crashed on launch
  • Pull error logs for a bug I just reproduced on a device
  • Find the stack trace behind a crash after the app has closed
  • Check which screen and app are active when a UI problem occurs
  • Summarize likely root causes from Android device logs

Android debug FAQ

What does the skill need to run?

It uses the android-adb command layer and allows Bash calls to android-adb and adb, so both tools must be available to the agent.

Why does the skill drop the package filter after a crash?

The package flag only works while the app is running. After a crash the agent should omit it and filter by error level to find the AndroidRuntime stack trace.

Does the skill run any scripts of its own?

No. The folder contains only the SKILL.md file and no bundled scripts.

What does the skill change on the device?

Its workflow clears the log buffer before reproducing a bug; otherwise it reads device, app, screenshot and log data.

How do I install Android debug in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/android-debug to use it in all your projects, or to .claude/skills/android-debug in one project. Or install the android-adb-skill plugin, which includes it: /plugin marketplace add amit-nayar/android-adb-skill, then /plugin install android-adb-skill@android-adb-skill.

Does Android debug run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Android debug?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Android debug?

The closest alternatives to Android debug are Android, Android test, Android screenshot, Android device and Android navigate.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from amit-nayar/android-adb-skill

  1. Lets an agent drive an Android device through the android-adb command layer

    • Open source
    • 37 GitHub stars
    • Developer tools
  2. Lets an agent list, inspect and start Android devices and emulators via android-adb

    • Open source
    • 37 GitHub stars
    • Developer tools
  3. Lets an agent perform taps, swipes and long presses on an Android device via adb

    • Open source
    • 37 GitHub stars
    • Developer tools
  4. Installs an Android APK on a device and launches it using android-adb commands

    • Open source
    • 37 GitHub stars
    • Developer tools
  5. Lets an agent move through an Android app to a target screen using adb commands

    • Open source
    • 37 GitHub stars
    • Developer tools
  6. Lets an agent capture an Android device screenshot and analyze what is on screen

    • Open source
    • 37 GitHub stars
    • Developer tools