Rikinshah787

Agent Phone — AI skill for Claude Code

AI community

Give your AI agent a phone.

How to install Agent Phone

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Rikinshah787/agent-phone and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Phone does

Give your AI agent a phone. One command boots an Android emulator your agent drives over MCP, and turns what it does into repeatable tests.

Alternatives in AI

  • Pinky — Let AI use your iPhone or Android phone, with you in the loop: any MCP agent from macOS, Windows or Linux, or 2.4k ★
  • Pebrel — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 670 ★
  • Nebula — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 587 ★

README

agent-phone

**Give your AI agent a phone. Get a test suite back.**

[![CI](https://github.com/Rikinshah787/agent-phone/actions/workflows/ci.yml/badge.svg)](https://github.com/Rikinshah787/agent-phone/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Your coding agent can write a mobile app, but it can't see the app run. And when it does click through the app to check something, that work is gone the moment the chat ends.

agent-phone fixes both. One command boots an Android phone your agent drives over [MCP](https://modelcontextprotocol.io), with no Android Studio and no Java. Everything the agent does on the phone can be saved as a test that replays without the agent: on your machine, in CI, forever, for free.

The recorded test replaying on an Android emulator: open Settings, scroll, open Display & touch, switch on Dark theme

**You:** *"Turn on dark mode and save that as a test."*

The agent drives the phone, then saves this. No AI is needed to run it again:

appId: com.android.settings
---
- launchApp:
    appId: com.android.settings
- scrollUntilVisible:
    element: Display & touch
    direction: DOWN
- tapOn: Display & touch
- tapOn:
    id: switchWidget
- assertVisible:
    text: Dark theme
    checked: true
$ agent-phone test .maestro
  ✓ 1. launchApp (4.0s)
  ✓ 2. scrollUntilVisible (7.5s)
  ✓ 3. tapOn "Display & touch" (3.1s)
  ✓ 4. tapOn id=switchWidget (3.7s)
  ✓ 5. assertVisible "Dark theme" (3.9s)
  PASSED in 22.3s

Quick start

# Download the Android pieces and boot a phone
npx -y --allow-git=root github:Rikinshah787/agent-phone setup

# Give Claude Code the phone
claude mcp add phone -- npx -y --allow-git=root github:Rikinshah787/agent-phone mcp

Then ask your agent:

Install `app/build/outputs/apk/debug/app-debug.apk`, sign up with a tes