mobilerun-docs
Skill này làm gì
Skill này là tài liệu tham khảo cho Mobilerun, công cụ cho phép agent AI vận hành điện thoại bằng lệnh ngôn ngữ tự nhiên. Skill dành cho lập trình viên và người kiểm thử muốn tự động hóa ứng dụng di động.
Khi nào nên dùng
- ✓Khi bạn muốn điều khiển điện thoại Android từ một agent AI bằng ngôn ngữ thông thường.
- ✓Khi bạn cần trợ giúp về cài đặt, cấu hình hoặc công cụ dòng lệnh của Mobilerun.
- ✓Khi bạn muốn biết Mobilerun cung cấp những hành động và agent nào.
Liên kết skill
https://github.com/droidrun/mobilerun/blob/main/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cài đặt Mobilerun và kết nối điện thoại Android của mình như thế nào để agent có thể mở ứng dụng?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đưa ra lệnh cài đặt, các yêu cầu và kiến trúc. Nó giải thích các agent lập kế hoạch và thực hiện, các hành động có sẵn trên điện thoại, và cách thiết lập thiết bị.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
- GitHub: https://github.com/droidrun/mobilerun
- Docs site: https://docs.mobilerun.ai
- License: MIT
- Install:
uv tool install mobilerun(Google Gemini, OpenAI, DeepSeek, Ollama, OpenRouter included by default) - Optional extras:
anthropic,langfuse - Requires: Python 3.11+, ADB, Portal APK on device
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.
For deeper implementation details, check the source code directly in mobilerun/.
Câu hỏi thường gặp
Tôi cần gì để chạy nó?
Skill liệt kê Python 3.11 trở lên, ADB và file Portal APK trên thiết bị.
Tôi cài đặt nó như thế nào?
Skill đưa ra lệnh cài đặt uv tool install mobilerun.
Nó hỗ trợ những mô hình AI nào?
Skill nói Google Gemini, OpenAI, DeepSeek, Ollama và OpenRouter được bao gồm mặc định.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 9.9k
- Vị trí xếp hạng
- #12039
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Skill tương tự
android-clean-architecture
280kGiúp agent của bạn tổ chức dự án Android hiệu quả, cấu trúc code để việc bảo trì và phát triển tính năng mới dễ dàng hơn.
compose-multiplatform-patterns
280kGiúp agent của bạn dùng các mẫu Compose Multiplatform và Jetpack Compose trong dự án KMP, gồm trạng thái, điều hướng, giao diện và hiệu năng.
dart-flutter-patterns
280kGiúp agent của bạn viết code cho ứng dụng Dart và Flutter. Agent dùng các mẫu hiện đại để tạo ứng dụng vững chắc và dễ quản lý.