跳到正文
Skillpedia
移动应用9.9k · #12039

mobilerun-docs

它能做什么

这项技能是 Mobilerun 的参考指南。Mobilerun 是一个工具,让 AI 智能体可以用自然语言命令操作手机。适合希望自动化移动应用的开发者和测试人员。

适用场景

  • ✓当你想用自然语言让 AI 智能体控制一台安卓手机时。
  • ✓当你需要 Mobilerun 的安装、配置或命令行工具方面的帮助时。
  • ✓当你想了解 Mobilerun 提供哪些操作和智能体时。

技能链接

https://github.com/droidrun/mobilerun/blob/main/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/droidrun/mobilerun/blob/main/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该怎样安装 Mobilerun,并连接我的安卓手机,好让智能体打开应用?”

每周 5 个新技能,1 分钟读完。

工作原理

技能提供安装命令、系统要求和架构说明。它解释规划智能体与执行智能体、可用的手机操作,以及如何设置设备。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Mobilerun

Mobilerun is an open-source (MIT) framework for controlling Android and iOS devices through LLM agents. It enables mobile automation using natural language commands.

Architecture

Mobilerun uses a multi-agent architecture coordinated by MobileAgent:

  • Reasoning mode (reasoning=True): Manager plans → Executor acts → loop until done
  • Direct mode (reasoning=False): CodeActAgent generates and executes Python code directly

Key agents: ManagerAgent (planning), ExecutorAgent (actions), CodeActAgent (direct execution), ScripterAgent (off-device computation), StructuredOutputAgent (typed data extraction).

Atomic actions available to agents: click, long_press, type, system_button, swipe, open_app, get_state, take_screenshot, complete.

Repository Structure

Source code is at mobilerun/ (Python package). Key locations:

Path Description
mobilerun/agent/droid/ MobileAgent orchestrator
mobilerun/agent/codeact/ CodeActAgent (direct mode)
mobilerun/agent/scripter/ ScripterAgent (off-device scripts)
mobilerun/agent/oneflows/ StructuredOutputAgent
mobilerun/agent/utils/ Tools, executor, tracing, async utils
mobilerun/tools/ Device tools (ADB, iOS, portal client)
mobilerun/cli/ CLI entry point (click-based)
mobilerun/config/prompts/ Jinja2 prompt templates per agent
mobilerun/config/app_cards/ App-specific instruction cards
mobilerun/credential_manager/ YAML-based credential storage
mobilerun/telemetry/ Phoenix tracing integration

Documentation

Fetch the relevant page(s) from the docs site based on the user's question. Do not guess — always read the doc before answering.

Topic Page
Overview https://docs.mobilerun.ai/framework/overview.md
Quickstart https://docs.mobilerun.ai/framework/quickstart.md
Concepts
Architecture & agents https://docs.mobilerun.ai/framework/concepts/architecture.md
Events & workflows https://docs.mobilerun.ai/framework/concepts/events-and-workflows.md
Prompts https://docs.mobilerun.ai/framework/concepts/prompts.md
Shared state https://docs.mobilerun.ai/framework/concepts/shared-state.md
Features
App cards https://docs.mobilerun.ai/framework/features/app-cards.md
Credentials https://docs.mobilerun.ai/framework/features/credentials.md
Custom tools https://docs.mobilerun.ai/framework/features/custom-tools.md
Custom variables https://docs.mobilerun.ai/framework/features/custom-variables.md
Structured output https://docs.mobilerun.ai/framework/features/structured-output.md
Telemetry https://docs.mobilerun.ai/framework/features/telemetry.md
Tracing https://docs.mobilerun.ai/framework/features/tracing.md
Vision https://docs.mobilerun.ai/framework/features/vision.md
Guides
CLI usage https://docs.mobilerun.ai/framework/guides/cli.md
Device setup https://docs.mobilerun.ai/framework/guides/device-setup.md
Docker https://docs.mobilerun.ai/framework/guides/docker.md
SDK
MobileAgent https://docs.mobilerun.ai/framework/sdk/droid-agent.md
ADB tools https://docs.mobilerun.ai/framework/sdk/adb-tools.md
iOS tools https://docs.mobilerun.ai/framework/sdk/ios-tools.md
Base tools https://docs.mobilerun.ai/framework/sdk/base-tools.md
Configuration https://docs.mobilerun.ai/framework/sdk/configuration.md
API reference https://docs.mobilerun.ai/framework/sdk/reference.md

For deeper implementation details, check the source code directly in mobilerun/.

常见问题

运行它需要什么?

技能列出 Python 3.11 或更新版本、ADB,以及设备上的 Portal APK。

如何安装?

技能给出的安装命令是 uv tool install mobilerun。

它支持哪些 AI 模型?

技能说明默认包含 Google Gemini、OpenAI、DeepSeek、Ollama 和 OpenRouter。

详情

作者的原始描述

Mobilerun documentation reference. Use when users ask about Mobilerun setup, configuration, SDK usage, CLI commands, device setup, agents, architecture, app cards, credentials, tracing, Docker, migration, structured output, or any Mobilerun "how do I..." questions.

repo: droidrun/mobilerun

热度

GitHub 星标
9.9k
排名
#12039
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

相似技能