SkillAgentSearch skills...

adb-ai

Universal remote for plugging your Android devices - TVs, TV boxes, phones, tablets - into your AI agent, over ADB. Zero dependencies: CLI + MCP server + Claude Code skill.

Install / Use

claude mcp add cyberpunk2183 -- npx -y github:cyberpunk2183/adb-ai

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

83/100

Category

Automation

Supported Platforms

Claude Code
Claude Desktop

Our assessment of adb-ai

adb-ai scores 83/100 on our quality scale, 2196th of 2,857 Automation skills we index.

Its MCP Server is 14 KB long, well organised into 15 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 3 days ago, so adb-ai is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-10-31. Automated pattern scan on 2026-10-31. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

adb-ai compared with similar skills

All 4 of these similar skills score higher than adb-ai; compare them before choosing.

SkillScoreStarsUpdatedFormat
adb-ai (this skill)by cyberpunk21838333d agoMCP Server
Agent-Reachby Panniantong100107.1k6d agoCLAUDE.md
headroomby headroomlabs-ai10078.4ktodayCLAUDE.md
CowAgentby zhayujie10047.7ktodayCLAUDE.md
Scraplingby D4Vinci10090.7ktodayMCP Server

Frequently asked questions

How do I install adb-ai?
Run claude mcp add cyberpunk2183 -- npx -y github:cyberpunk2183/adb-ai. The install tabs above show the steps for each supported agent.
Which AI agents does adb-ai work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is adb-ai safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is adb-ai still maintained?
The repository was last updated 3 days ago, so adb-ai is actively maintained.
<p align="center"> <img src="docs/img/brasil.gif" alt="Bandeira do Brasil / Flag of Brazil" width="640"> </p> <p align="center"> 🇧🇷 <strong>Proudly made by Brazilians · Feito com orgulho por brasileiros</strong> 🇧🇷 </p>

ADB-AI 🇧🇷

Say it out loud. The room does the rest.

"put on YouTube on the TV" "pause whatever is playing" "what's on the living-room screen?" "set an alarm for 7:30 on my phone"

ADB-AI plugs the Android devices you already own — the TV, the TV box, the phone, the tablet — into the AI agent you already use. You ask for something in your own words; the device does it. No new hardware, no cloud account, no vendor's app: just the debugging bridge your devices have shipped with for fifteen years, wrapped so an agent can hold the remote.

It is the closest thing to a Jarvis for your living room that you can set up in five minutes, on devices you already have.

Install · Tutorial · What it can do · Use with an AI agent · How it works · Troubleshooting · Leia em português

adb-ai in a terminal: scan the network, connect to the TV, open YouTube, check that it is playing

See it drive two devices at once

The agent searches YouTube for "eminem" on the TV while, on the phone, it opens Termux, runs pkg update, and sets a 15-minute timer — all from one session.

adb-ai driving a TV and a phone at the same time: a YouTube search on the TV, Termux and a timer on the phone

One dependency-free Python package, identical on Windows, Linux, macOS and Termux, with three ways in:

  • an MCP server — for Claude, Codex, Cursor, or anything else that speaks MCP. This is the one that makes the quotes above work.
  • a Claude Code skill — the same thing for people who would rather their agent drove the command line.
  • a CLI you can use on its own: adb-ai open netflix. Scriptable, and handy for checking something works before an agent touches it.

It really works like that

A TV's launcher, a phone's calculator driven only by taps, and a timer set from the command line — all captured through ADB-AI itself:

| | | |---|---| | Android TV home screen | Calculator showing 144 divided by 12 | | The TV menu you drive with home, down, ok | 144 ÷ 12, typed with adb-ai tap | | Clock app counting down from ten minutes | A note typed into the notes app | | adb-ai timer 10m --label ADB-AI | adb-ai text into a new note |

Requirements

Python 3.9+ and the adb binary. That is all — requirements.txt is deliberately empty of packages, because everything here is standard library. But adb is not a Python package, so pip cannot install it:

| System | Command | |---|---| | Termux | pkg install android-tools | | Debian/Ubuntu | sudo apt install adb | | Fedora | sudo dnf install android-tools | | Arch | sudo pacman -S android-tools | | macOS | brew install android-platform-tools | | Windows | winget install Google.PlatformTools |

Optional: scrcpy, and only for adb-ai mirror and adb-ai record — watching the screen live in a window. Nothing else needs it.

| System | Command | |---|---| | Debian/Ubuntu | sudo apt install scrcpy | | Fedora | sudo dnf install scrcpy | | Arch | sudo pacman -S scrcpy | | macOS | brew install scrcpy | | Windows | winget install Genymobile.scrcpy | | Termux | not supported — see below |

Optional: ffmpeg, for agents. With it, a screenshot that would be megabytes is scaled down before the model sees it — the picture arrives sooner and says the same thing. pkg install ffmpeg, sudo apt install ffmpeg, brew install ffmpeg, winget install Gyan.FFmpeg. Unlike scrcpy, it works on Termux too. Without it nothing breaks: screenshots go full size, as before.

scrcpy does not work from Termux. It is not in the default repo, and the X11 route does not get it running either; mirroring a phone onto the same phone is not what it is for. adb-ai says so plainly instead of handing you an SDL error, and everything else works there — on a phone, adb-ai shot is how you see a screen. To mirror, run adb-ai from a desktop on the same network.

adb-ai doctor checks the lot at any time, and tells you how to fix whatever is missing on your system:

$ adb-ai doctor
adb-ai 0.1.0 on Linux (Linux-6.8.0-x86_64-with-glibc2.39)

[ok  ] Python 3.12.3
[ok  ] adb found
       /usr/bin/adb
[ok  ] Android Debug Bridge version 1.0.41
[warn] no devices connected
       'adb-ai scan' looks for them on your network
[ok  ] config: /home/you/.config/adb-ai/config.json
       default device: none set  |  aliases: none
[ok  ] scrcpy found - scrcpy 3.1
       /usr/bin/scrcpy

ready to go.

If adb lives somewhere unusual, point ADBAI_ADB at the binary.

Install

git clone https://github.com/cyberpunk2183/adb-ai
cd adb-ai

Then pick one:

./install.sh        # Linux, macOS, Termux - installs what is missing, asks first
.\install.ps1       # Windows (PowerShell)
pip install .       # if you already have adb and would rather do it yourself

Add --check (-Check on Windows) to see what is missing without changing anything. No install at all is fine too — python -m adbai ... works straight from the clone.

Step-by-step for each system, including turning on debugging on the device: docs/INSTALL.md.

Plug it into your agent

This is the point of the project: one line, and your agent can drive your devices.

Claude Code

claude mcp add adb-ai -- adb-ai mcp

Claude Desktop — claude_desktop_config.json

{ "mcpServers": { "adb-ai": { "command": "adb-ai", "args": ["mcp"] } } }

Codex CLI — ~/.codex/config.toml

[mcp_servers.adb_ai]
command = "adb-ai"
args = ["mcp"]

Cursor — ~/.cursor/mcp.json

{ "mcpServers": { "adb-ai": { "command": "adb-ai", "args": ["mcp"] } } }

Any other MCP client takes the same shape: run adb-ai mcp, talk JSON-RPC over stdio. Twenty-two tools arrive — scan, connect, keys, taps and swipes, apps, URLs, YouTube search, alarms, timers, volume, power, state, screenshots (returned as an image the model can look at), a live mirror of the screen for you to watch, and a full shell.

Then just ask, in whatever words you use at home:

put on YouTube on the TV pause whatever is playing what's on the living-room screen? set an alarm for 7:30 on my phone

Using Claude Code and prefer it to drive the CLI directly? Copy the skill:

mkdir -p ~/.claude/skills && cp -r skills/adb-ai ~/.claude/skills/

Details, per-client paths and troubleshooting: docs/AGENTS.md.

Turn on debugging on the device

This is the step people get stuck on.

  • Android TV / TV box: Settings → Device Preferences → About → click Build seven times → back → Developer options → enable Network debugging (sometimes ADB debugging / USB debugging).

  • Phone or tablet: Settings → About → tap Build number seven times → Developer options → enable Wireless debugging. Android 11 and newer want a one-time pairing first, and the shortest way through it is the camera:

    adb-ai pair            # draws a QR; the phone scans it and pairs itself
    adb-ai pair --mirror   # the same, and the screen opens when it connects
    

    On the phone: Wireless debugging → Pair device with QR code. Nothing to type — no IP, no port, no six digits. It pairs and connects in one go. (adb-ai pair <ip>:<port> <code> still does it the typed way.)

    --mirror carries straight on into scrcpy, so a new phone goes from a QR code to a window on your desk in one command. It works the same on adb-ai scan --mirror and adb-ai connect <ip> --mirror. scrcpy is optional, so when it is missing — and under Termux, where it cannot run at all — the pairing is still reported and only the window is skipped.

  • USB first, wireless after: plug it in, run adb tcpip 5555, unplug, then adb-ai scan.

The first connection shows a dialog on the device asking you to allow this computer. Say yes and tick always allow, or nothing will connect.

Commands

adb-ai devices                      list what adb knows about
adb-ai scan [192.168.0.]            find devices on the local network
                 --mirror           connect to the one found and watch it
adb-ai pair                         pair an Android 11+ phone by QR code
                 --png code.png     write the code to a file instead
                 --mirror           open scrcpy the moment it connects
adb-ai connect <ip> [--alias tv]    connect, optionally remember the name
                 --mirror           open scrcpy once connected
adb-ai use <alias|serial>           set the default device
adb-ai alias [name] [target]        name a device, or list the names

adb-ai key home | ok | play | ...   press keys, in order; -n repeats
                 --pace 120         one call per key, for menus that drop them
adb-ai keys                         list every key name
adb-ai text "hello there"           type into the focused field

adb-ai apps [--all]                 installed packages
adb-ai open netflix                 launch by alias, package or fragment
adb-ai close netflix                force-stop
adb-ai url <url> [--app <pkg>]      open a URL or deep link
adb-ai youtube <query>              search YouTube, no on-screen keyboard

adb-ai state [--json]               foreground app, screen, playback
adb-ai shot [out.png]               screenshot ('-' writes to stdout)
                 --max-size 1024    scale it down (needs ffmpeg)
adb-ai mirror [--view-only]         watch the screen live (needs scrcpy)
adb-ai record [out.mp4]             record the screen, no window
adb-ai volume up|down|mute|set N    volume
adb-ai off | on                     sleep or wake the screen

adb-ai doctor                       check Python, adb, devices and config
adb-ai shell <cmd>                  raw adb shell, for anything not covered
adb-ai mcp                          run the MCP server on stdio

Every command takes -d <alias|serial>; without it, the default device is used. ADBAI_DEVICE works too.

Use it from an AI agent

MCP server (Claude Desktop, Cursor, any MCP client)

{
  "mcpServers": {
    "adb-ai": {
      "command": "adb-ai",
      "args": ["mcp"]
    }
  }
}

In Claude Code: claude mcp add adb-ai -- adb-ai mcp.

Twenty-two tools, including adb_scan, adb_connect, adb_key, adb_tap, adb_open_app, adb_mirror, adb_youtube_search, adb_state, adb_screenshot and adb_volume. The screenshot comes back as an image the model can actually look at.

adb_shell runs any shell command on the device — dumpsys, pm, am, settings, content, the lot — as the shell user, with no root. That is deliberate: it is what makes an agent able to do the things the other tools do not cover. It is also the one tool that can change a device in ways you did not ask for, so if that is too much for your setup, switch it off:

{ "mcpServers": { "adb-ai": {
    "command": "adb-ai", "args": ["mcp"],
    "env": { "ADBAI_NO_SHELL": "1" }
} } }

Claude Code skill

mkdir -p ~/.claude/skills && cp -r skills/adb-ai ~/.claude/skills/

Then just ask: "pause the TV", "what's on the living-room screen?", "open Spotify and play something quiet". See skills/README.md.

Why not just use adb directly?

Because the details bite:

  • DHCP moves your devices. adb-ai scan finds them again with plain sockets — no nmap, works the sam

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3
CategoryAutomation
Updated3d ago
Forks0

Languages

Python

Trust signals

92/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low