mika
Skill này làm gì
Skill này kết nối agent của bạn với ứng dụng Mika trên điện thoại qua USB hoặc Wi-Fi, để có thể gửi, theo dõi và nhận trả lời cho các tác vụ. Skill dành cho người muốn một agent trên máy tính xử lý điện thoại của họ.
Khi nào nên dùng
- ✓Khi bạn muốn Mika thao tác các ứng dụng trên điện thoại Android đã kết nối.
- ✓Khi bạn muốn Mika duyệt web hoặc làm việc với tệp trên điện thoại.
- ✓Khi bạn muốn kiểm tra tiến độ một tác vụ bạn đã giao cho Mika.
Liên kết skill
https://github.com/wangzan101/Mika/blob/main/tools/mika/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
“Nhờ Mika trên điện thoại của tôi tìm ba bức ảnh cuối cùng tôi chụp và liệt kê tên tệp của chúng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gửi mục tiêu đầy đủ và các giới hạn của bạn cho Mika, và Mika tự chọn các thao tác trên điện thoại. Công cụ đi kèm cho phép agent của bạn theo dõi tiến độ và lấy kết quả.
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.
Mika on your phone
Mika runs its own agent on Android. Give it the user's complete goal, target and constraints; it chooses the phone actions. The bundled CLI talks directly to Mika's task API. No MCP client or MCP configuration is required.
Quick start / first connection
Do these in order, without asking the user unless a step says so.
- Pick the command. If
mika --versionworks, usemika. Otherwise use the bundled script (skill-dir = the folder containing this SKILL.md; Python 3.10+): POSIXpython3 <skill-dir>/scripts/mika_cli.py, Windowspy -3 <skill-dir>\scripts\mika_cli.py. Below,mikameans whichever you chose. - Use the connection method the user picked on the phone. You cannot see the phone: if the user has not said which one, ask once.
- USB/ADB:
mika devices --jsonlists ADB phones; runmika connect --device SERIAL --jsonfor the chosen one. This enables computer access through Mika's official bootstrap script. With several phones online, ask the user which one, then keep that device for the whole task. mika doctor --device SERIAL --jsonchecks connection and phone state. Only then submit tasks.
Wi-Fi/private VPN: use --url http://PHONE:8765 --token-file /path/to/token-file (both from the user) instead of --device. Never print, read aloud or put token contents in a command, goal or reply.
Notes:
- ADB mode needs Android platform-tools; the APK must include task API v1 (an older MCP-only APK is insufficient). Humans can run
mika uifor a local task desk; agents should use the commands below.
Common failures
| Symptom | Action |
|---|---|
Device shows unauthorized |
Ask the user to accept the USB debugging prompt on the phone, then rerun devices. |
adb_unavailable |
Install Android platform-tools or pass --adb PATH. |
device_selection, device_offline |
Run devices, choose --device SERIAL; replug or reconnect if offline. |
stale_connection, credentials |
Phone rebooted or token changed: rerun connect. |
connection_info |
Mika's connection information could not be read or is invalid: ask the user to unlock the phone and open Mika once, then rerun connect. |
incompatible_api |
Update the Mika APK on the phone. |
adb / connection errors, phone locked |
Ask the user to unlock the phone and open Mika, then rerun connect. |
Delegate and follow the task
Use a UTF-8 file or stdin for goals and answers containing multiline text. Installation or connectivity does not authorize additional phone actions: preserve the user's requested scope when writing the goal.
mika --device SERIAL task run --goal-file /path/to/goal.txt --json
mika --device SERIAL task wait TASK_ID --timeout 45 --json
mika --device SERIAL task status TASK_ID --json
For a recoverable submission, generate and save a lowercase UUID before the call and pass --request-id UUID. On a compatible phone this is also the task ID. The CLI generates one automatically when the phone advertises task_recovery.
Keep the returned task ID and conversation ID. A successful submission only means that Mika accepted the task.
Wait rule: call task wait --timeout 45 (allowed 1-50) in the foreground, one call at a time, and re-check the returned state each time. A wait never cancels or resubmits; a timeout is not a failure, so never resubmit on timeout. Stop and report to the user when the task needs an answer or phone takeover, or after a reasonable budget (for example 10-15 waits, longer if progress is clearly advancing). Do not build a background polling loop.
| Returned state | Next action |
|---|---|
starting, queued, running, paused |
Read progress; wait again within the active task when appropriate. |
waiting_for_answer |
Inspect question and options. Answer from known user instructions, or ask the user for missing information. |
waiting_on_phone |
Tell the user what needs attention on the phone; an answer command cannot approve or complete this step. |
done |
Report the answer and its actual verification fields. Missing verified means unknown. |
failed, cancelled |
Report the recorded outcome; do not silently start the task again. |
mika --device SERIAL task answer TASK_ID --text-file /path/to/answer.txt --json
mika --device SERIAL task steer TASK_ID --text-file /path/to/additional-instructions.txt --json
mika --device SERIAL task cancel TASK_ID --json
mika --device SERIAL task list --json
Cancellat
Câu hỏi thường gặp
Tôi có cần thiết lập gì trước không?
Có. Điện thoại phải chạy Mika và có thể kết nối qua gỡ lỗi USB hoặc Wi-Fi, và bạn chọn phương thức kết nối.
Agent có thể xem màn hình điện thoại của tôi không?
Không. Agent không thể xem điện thoại, nên nó sẽ hỏi bạn dùng kết nối nào.
Có cần thiết lập MCP không?
Không. Công cụ dòng lệnh đi kèm giao tiếp trực tiếp với giao diện tác vụ của Mika, nên không cần cấu hình MCP.
Chi tiết
Mô tả gốc của tác giả
Delegate tasks to Mika on a connected Android phone, follow progress, add instructions to running tasks, answer task questions, and retrieve results through the bundled CLI. Requires an Android phone running Mika, reachable by USB ADB or Wi-Fi. Use when the user wants Mika to operate phone apps, browse, or work with phone files.
repo: wangzan101/Mika
Độ phổ biến
- Sao GitHub
- 5.2k
- Vị trí xếp hạng
- #15032
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.