Aller au contenu
Skillpedia
Agents5.2k · #15032

mika

Ce qu’il fait

Elle relie votre agent à l'application Mika sur un téléphone, par USB ou Wi-Fi, afin que des tâches puissent être envoyées, suivies et traitées. Elle s'adresse aux personnes qui veulent qu'un agent sur leur ordinateur gère leur téléphone.

Quand l’utiliser

  • ✓Quand vous voulez que Mika utilise des applications sur votre téléphone Android connecté.
  • ✓Quand vous voulez que Mika navigue sur le web ou travaille avec des fichiers sur le téléphone.
  • ✓Quand vous voulez suivre l'avancement d'une tâche confiée à Mika.

Lien du skill

https://github.com/wangzan101/Mika/blob/main/tools/mika/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/wangzan101/Mika/blob/main/tools/mika/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Demande à Mika sur mon téléphone de trouver les trois dernières photos que j'ai prises et de lister leurs noms de fichiers.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent envoie votre objectif complet et ses limites à Mika, qui choisit lui-même les actions à faire sur le téléphone. L'outil fourni permet ensuite à votre agent de suivre l'avancement et de récupérer les résultats.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

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.

  1. Pick the command. If mika --version works, use mika. Otherwise use the bundled script (skill-dir = the folder containing this SKILL.md; Python 3.10+): POSIX python3 <skill-dir>/scripts/mika_cli.py, Windows py -3 <skill-dir>\scripts\mika_cli.py. Below, mika means whichever you chose.
  2. 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.
  3. USB/ADB: mika devices --json lists ADB phones; run mika connect --device SERIAL --json for 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.
  4. mika doctor --device SERIAL --json checks 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 ui for 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

Questions fréquentes

Dois-je configurer quelque chose au préalable ?

Oui. Le téléphone doit exécuter Mika et être joignable par débogage USB ou par Wi-Fi, et vous choisissez la méthode de connexion.

L'agent peut-il voir l'écran de mon téléphone ?

Non. L'agent ne voit pas le téléphone, donc il vous demande quelle connexion utiliser.

Une configuration MCP est-elle nécessaire ?

Non. L'outil en ligne de commande fourni communique directement avec l'interface de tâches de Mika, donc aucune configuration MCP n'est requise.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
5.2k
Position au classement
#15032
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires