android-agent — AI-Powered Android Phone Control
БесплатноЗапускает вложенные скриптыНе проверенGot an old Android in a drawer? Connect it to any machine running OpenClaw — your gateway, a Mac Mini, a Raspberry Pi. Your AI can now open apps, tap buttons…
от modbender★ 21 звезда на GitHubОб этом скилле
android-agent — AI-Powered Android Phone Control
Plug your old Android phone into your Mac/PC. Now your AI assistant can use it.
Got an old Android in a drawer? Connect it to any machine running OpenClaw — your gateway, a Mac Mini, a Raspberry Pi. Your AI can now open apps, tap buttons, type text, and complete tasks on a real phone. Book a cab, order food, check your bank app — anything you'd do with your thumbs.
How It Works
Your AI agent sees the phone screen (via screenshots), decides what to tap/type/swipe, and executes actions via ADB. Under the hood it uses DroidRun with GPT-4o vision.
┌─────────────┐ screenshots ┌──────────────┐ ADB commands ┌─────────────┐
│ GPT-4o │◄─────────────────│ DroidRun │──────────────────►│ Android │
│ Vision │─────────────────►│ Agent │◄──────────────────│ Phone │
│ │ tap/type/swipe │ │ screen state │ │
└─────────────┘ └──────────────┘ └─────────────┘
Works Two Ways
Direct Mode
Phone plugged into your OpenClaw gateway machine via USB. Zero networking required.
[Gateway Machine] ──USB──► [Android Phone]
Node Mode
Phone plugged into a Mac Mini, Raspberry Pi, or any OpenClaw node. The gateway controls it over the network.
[Gateway] ──network──► [Mac Mini / Pi node] ──USB──► [Android Phone]
For Node mode, connect ADB over TCP/WiFi so the node can forward commands.
Quick Start (3 steps)
1. Enable USB Debugging
On your Android phone:
- Go to Settings → About Phone
- Tap Build Number 7 times to enable Developer Options
- Go to Settings → Developer Options
- Enable USB Debugging
2. Connect & Install
# Plug phone in via USB, then:
pip install -r requirements.txt
adb devices # verify phone shows up — authorize on phone if prompted
3. Run Your First Task
export OPENAI_API_KEY="sk-..."
python scripts/run-task.py "Open Settings and turn on Dark Mode"
That's it. The script handles everything: waking the screen, unlocking, keeping the display on, and running your task.
What Can It Do?
📱 Daily Life
python scripts/run-task.py "Order an Uber to the airport"
python scripts/run-task.py "Set an alarm for 6 AM tomorrow"
python scripts/run-task.py "Check my bank balance on PhonePe"
python scripts/run-task.py "Open Google Maps and navigate to the nearest coffee shop"
💬 Messaging
python scripts/run-task.py "Send a WhatsApp message to Mom saying I'll be late"
python scripts/run-task.py "Read my latest SMS messages"
python scripts/run-task.py "Open Telegram and check unread messages"
🛒 Shopping
python scripts/run-task.py "Open Amazon and search for wireless earbuds under 2000 rupees"
python scripts/run-task.py "Add milk and bread to my Instamart cart"
📅 Productivity
python scripts/run-task.py "Open Google Calendar and check my schedule for tomorrow"
python scripts/run-task.py "Create a new note in Google Keep: Buy groceries"
🎵 Entertainment
python scripts/run-task.py "Play my Discover Weekly playlist on Spotify"
python scripts/run-task.py "Open YouTube and search for lo-fi study music"
⚙️ Settings & Setup
python scripts/run-task.py "Turn on Dark Mode"
python scripts/run-task.py "Connect to my home WiFi network"
python scripts/run-task.py "Enable Do Not Disturb mode"
python scripts/run-task.py "Turn off Bluetooth"
📸 Utilities
python scripts/run-task.py "Take a screenshot"
python scripts/run-task.py "Open the camera and take a photo"
python scripts/run-task.py "Clear all notifications"
Environment Variables
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY |
Yes | API key for GPT-4o vision |
ANDROID_SERIAL |
No | Device serial number. Auto-detected if only one device is connected |
ANDROID_PIN |
No | Phone PIN/password for auto-unlock. If not set, unlock is skipped |
DROIDRUN_TIMEOUT |
No | Task timeout in seconds (default: 120) |
Setup Details
Direct Mode (USB)
Install ADB:
# macOS brew install android-platform-tools # Ubuntu/Debian sudo apt install android-tools-adb # Windows # Download from https://developer.android.com/tools/releases/platform-toolsConnect phone via USB and verify:
./scripts/connect.sh usbInstall DroidRun Portal APK on the phone:
- Download from DroidRun releases
- Or sideload:
adb install droidrun-portal.apk - Open the Portal app on the phone and grant accessibility permissions
Install Python dependencies:
pip ins
Установить android-agent — AI-Powered Android Phone Control в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл android-agent — AI-Powered Android Phone Control?
Got an old Android in a drawer? Connect it to any machine running OpenClaw — your gateway, a Mac Mini, a Raspberry Pi. Your AI can now open apps, tap buttons, type text, and complete tasks on a rea...
Как установить скилл android-agent — AI-Powered Android Phone Control?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл android-agent — AI-Powered Android Phone Control запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic