Skip to content
Automation
Skill

/open-gui-remote-control

Control an Android phone through OpenGUI from an AI coding agent such as Claude Code, Codex, or OpenCode. Use when an agent should list online devices, run a natural-language mobile task, check execution status, pause, resume, or cancel through the local OpenGUI backend and CLI.

From plugin
opengui
1.8k5 skills1 MCP

Claude Code

$ npx -y skills add Core-Mate/OpenGUI --skill open-gui-remote-control --agent claude-code

SKILL.md

open-gui-remote-control.SKILL.md
name: open-gui-remote-control
description: Control an Android phone through OpenGUI from an AI coding agent such as Claude Code, Codex, or OpenCode. Use when an agent should list online devices, run a natural-language mobile task, check execution status, pause, resume, or cancel through the local OpenGUI backend and CLI.

OpenGUI Remote Control

Use this skill when an AI coding agent such as Claude Code, Codex, or OpenCode needs to operate an Android phone through OpenGUI.

The agent should not drive the phone with raw `adb shell input` commands. The supported path is:

Claude Code / Codex / OpenCode
  -> server CLI or REST API
  -> OpenGUI backend task/execution services
  -> standby dispatch
  -> Android client
  -> execution socket action loop

Trigger Guidance

Start this skill when the user asks for any of these:

  • "Use OpenGUI to control my phone"
  • "让 Codex 操控手机"
  • "Use OpenCode to control my phone through OpenGUI"
  • "Run this task on the Android device"
  • "Use the OpenGUI CLI"
  • "List OpenGUI devices"
  • "Check / pause / resume / cancel an OpenGUI execution"
  • "让 Claude Code 通过 OpenGUI 跑手机任务"

If the user asks to install or bootstrap OpenGUI from scratch, use `open-gui-bootstrap` first. After backend and Android client are running, return to this skill for task execution.

Core Rules

  • First obtain or locate a runnable OpenGUI checkout. The CLI cannot work without the repository.
  • Use the repository CLI first: `cd server && pnpm opengui -- ...`.
  • Use `--json` whenever the result will be parsed by the coding agent.
  • Do not ask the user to run terminal commands that the agent can run.
  • Ask the user only for physical phone actions, Android permissions, or missing secrets.
  • Do not change Android socket event names or payloads.
  • Do not use IM commands for this workflow.
  • Do not bypass OpenGUI with coordinate-only `adb shell input` scripts.
  • Treat `devices` as standby presence only; execution can still fail because of model config, Android permissions, app state, or device lifecycle.

Repository Source

OpenGUI's runnable source checkout is:

https://github.com/Core-Mate/OpenGUI

The checkout must contain both:

  • `server/package.json`
  • `client/start.sh`

If those paths are missing, the current directory is not the runnable OpenGUI checkout.

Local Or Remote Workspace

Before using this skill, decide where OpenGUI should run.

Use a local workspace when:

  • the Android phone is connected to the same machine by USB
  • `adb reverse tcp:7777 tcp:7777` should be used
  • the agent has terminal access to the developer machine

Use a remote workspace only when:

  • the user explicitly asks to run OpenGUI on a remote host
  • the remote host can reach the Android device or a device bridge
  • the backend URL used by the Android client is reachable from the phone

Do not silently choose a remote host for phone control. USB debugging, `adb reverse`, Android build/install, and phone-side permissions are usually local-machine operations.

Checkout Acquisition

If the current directory already contains the runnable checkout, use it.

If the current directory is a wrapper directory, search one level down for the runnable checkout before cloning:

find . -maxdepth 3 -type f -path '*/server/package.json' -print
find . -maxdepth 3 -type f -path '*/client/start.sh' -print

If no runnable checkout exists and the user wants the agent to set it up locally, clone the public repository:

git clone https://github.com/Core-Mate/OpenGUI.git
cd OpenGUI

If the destination already exists, do not overwrite it. Enter the existing directory, inspect `git status`, and pull only when the user asked for the latest code or when the checkout is clean enough to update safely.

If the user wants a remote setup, SSH to the remote host first, then perform the same checkout detection or clone on that host. Keep the backend URL and Android connectivity explicit; a backend running on a remote host will not be reachable through local `adb reverse` unless the user has provided a bridge.

Preconditions

Before sending a task, verify these conditions:

  • backend is reachable at `http://localhost:7777` unless the user gave another base URL
  • Android client is installed and open
  • `adb reverse tcp:7777 tcp:7777` has been applied for a USB-connected phone
  • phone-side USB debugging is approved
  • Accessibility Service is enabled
  • overlay permission is enabled when needed
  • at least one standby device is online

If the backend or client is not running, use the repository scripts:

cd server
./start.sh
cd client
./start.sh

CLI Reference

Run commands from the `server/` directory.

List online standby devices:

pnpm opengui -- devices --json

Create and run a new task:

pnpm opengui -- do "观察当前手机屏幕,简要描述你看到了什么,然后结束" --json

Run a task on a specific device:

pnpm opengui -- do "打开设置,检查当前网络状态" --device <deviceId> --json

Run an existing task:

pnpm opengui -- run <taskId> --json

Check execution status:

pnpm opengui -- status <executionId> --json

Pause, resume, or cancel:

pnpm opengui -- pause <executionId> --json
pnpm opengui -- resume <executionId> "继续执行,但不要打开新的 App" --json
pnpm opengui -- cancel <executionId> --json

Use a non-default backend:

pnpm opengui -- devices --base-url http://localhost:7777 --json

Base URL priority:

--base-url > OPENGUI_BASE_URL > http://localhost:7777

Standard Workflow

1. Obtain the runnable checkout

Find or clone `https://github.com/Core-Mate/OpenGUI`.

Then work from the repository root that contains both:

  • `server/package.json`
  • `client/start.sh`

If the current directory is a wrapper repo, find the nested runnable checkout before running commands. If no runnable checkout exists, clone it or ask for the intended repository location.

2. Verify backend

Check the backend before task dis

Read more
@core-mate
Ships withopengui

OpenGUI is an Android GUI agent framework for phone-use AI that can see, plan, and operate real mobile apps through the GUI.

1.8k5 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.8k
Star history of Core-Mate/OpenGUI on GitHub, a chart by star-history.com

Other skills on opengui.

control

control

Automatically control locally connected Android phones with OpenGUI screenshots and allowlisted actions whenever a request…

@core-mate@core-mateInstall Skill
opengui-coremate-install

opengui-coremate-insta…

Install the latest stable OpenGUI release into a DeepSeek Harness web profile on macOS. Use when the user asks to download,…

@core-mate@core-mateInstall Skill
open-gui-bootstrap

open-gui-bootstrap

Launch and bootstrap OpenGUI from a plain-language user request. Use when an AI coding agent such as Claude Code, Codex, or…

@core-mate@core-mateInstall Skill
opengui-plugin-install

opengui-plugin-install

Install or upgrade the standalone OpenGUI Codex or WorkBuddy plugin on macOS from verified prebuilt GitHub releases. Use for…

@core-mate@core-mateInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n11d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about open-gui-remote-control.

Which coding agents can use open-gui-remote-control?
open-gui-remote-control installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.