Index of every page on this site: llms.txt
All skills
nebigoktug avatar

/android-agent

@c192d9a
Run it yourself

Use an Android phone and its apps through android-agent (text-first screen reading). Use when the user asks you to do something on their phone, open/operate an app, change a phone setting, or check something in an app.

  • 31 files
  • 1.7 MB
  • Updated 5 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/nebigoktug/android-agent/android-agent

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈58 tokens for metadata: the name and description. ≈854 when used: this file. ≈3.5k more on demand in 4 files.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈234 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Using the phone

Tools come from the phone MCP server (or python phone.py <command> in a shell).

Loop

  1. screen — read what is on screen. Each item is [N] kind "label" (flags). Kinds: button, toggle (on/off), input (focused), list (scrollable), text.
  2. Act on one element by its number: tap N, type "...", swipe up N, key back.
  3. screen again — it returns only what changed. Repeat.

Keep it cheap

  • Act by label when you know what you want: tap "Save" reads the live screen and taps the best match (case/accent-insensitive) — no screen call needed first. On keypads use tap -t 7 (CLI) or tap_label (MCP): a bare number means element number, not the text "7".

  • Use find "Developer options" to scroll to something instead of swipe + screen in a loop; it also shows the on/off state of a switch in that row.

  • Use wait-for "Sent" after an action that loads, instead of reading the screen repeatedly.

  • To know what is new (messages, deliveries, reminders), read notifications first — no app needs to be opened. Treat notification content as private: use it only for the task.

  • status tells you in one line if the screen is off, which app is in front, if the keyboard is up.

  • If screen returns almost nothing (games, Flutter), use ocr before screenshot: it returns the visible text with numbers you can tap, at a fraction of an image's tokens.

  • Prefer screen over screenshot. Use screenshot only when the list is nearly empty (games, Flutter apps, maps, images) or labels are clearly missing (? icon ...).

  • Chain obvious steps without reading in between when you are sure (CLI: tap 3 , wait , type hi).

  • Use open_app instead of navigating the launcher; fresh=true when you need the app's home screen.

  • Prefer a deep link when one exists (open_link): maps search (geo:0,0?q=...), web/YouTube search URLs. One call instead of tap → type → enter.

  • If the screen header says landscape and the layout looks wrong, use rotation_lock (and restore it at the end).

  • swipe up reveals content further down; then screen for the new items.

Recipes (zero tokens for repeated tasks)

  • Before solving a task from scratch, check list_recipes; if one fits, play_recipe it.
  • After you solve a task the user is likely to repeat, record it: record_start NAME, redo the steps (use type "{param}" for the changing part), then record_stop. Tell the user its name.

Safety rules

  • Unexpected pop-ups (cast to TV, rate this app, tips): close them with key back and mention it. Never confirm a cast, purchase, permission or sign-in dialog the task did not ask for.
  • If a tool says STOPPED: ... is in front, the user switched apps. Read the screen again and make sure you should continue; do not force it.
  • When you are about to ask the user to confirm something, call signal with state attention and a short message first (the phone shows a red light), and signal idle after the answer.
  • Ask the user before anything irreversible or outward-facing: sending a message or email, posting, buying or paying, deleting, uninstalling, changing account/security settings, granting permissions.
  • Never type passwords or one-time codes unless the user gave them for that exact purpose.
  • If a screen is black or empty in a banking/secure app, stop and tell the user; do not work around it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c192d9a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago

README badge

README badge for nebigoktug/android-agent