android-use AGENTS.md

A project instruction file for AI coding agents, with Bun commands for formatting, linting, type checking, tests, and builds. It also describes a repeat-and-fix workflow for keeping changes valid.

In plain words
What is it for?
Use it when changing the android-use project: run the listed quality checks after small edits and repeat them if a check fails.
Why use it?
It gives an agent a consistent checklist for checking its work, reducing errors that would otherwise reach review or CI.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/iurysza/android-use/agents-md
Clone the repo
git clone --depth 1 https://github.com/iurysza/android-use

Made for: Codex, OpenCode.

Per session 229 This file is loaded in full into every session.
When invoked 229 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00229 $0.00229
Opus 5 $0.00114 $0.00114
Sonnet 5 $0.00046 $0.00046
Haiku 4.5 $0.00023 $0.00023

Measured 2d ago against content hash 364dbc8506c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

android-use AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 28 lines

What it actually says

AGENTS.md

Quality tools (Bun)

  • Lint: bun run lint (Biome)
  • Format (write): bun run format (Biome)
  • Format check: bun run format:check (Biome)
  • Typecheck: bun run typecheck (tsc)
  • Tests: bun test
  • Build: bun run build

Agentic self-correct loop

  1. Make a small change.
  2. Run bun run format and re-check the diff.
  3. Run bun run lint.
  4. Run bun run typecheck.
  5. Run bun test.
  6. Run bun run build (if touching CLI/build code).
  7. If anything fails, fix it and repeat steps 2-6 until green.

One-liner check

bun run format && bun run lint && bun run typecheck && bun test

Notes

  • Formatting and linting are handled by Biome (biome.json).
  • Use bun run <script> to avoid name collisions with Bun built-ins.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 28 lines · 229 tokens per session scan A 364dbc8506c9

Subscribe to this mod's changes

android-use AGENTS.md is an instructions file published in the GitHub repository iurysza/android-use (18 stars, last pushed 6mo ago), licensed MIT. It adds 229 tokens to every session, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

agent-device AGENTS.md

AGENTS.md instructions for callstack/agent-device, covering agents.md, incident-derived principles, declaration sites and enforcement, hard repository rules and module and test topology.

callstack/agent-device · 2,121 tokens

debroid AGENTS.md

Instructions for PatilShreyas/debroid, covering ai agent contributor guide 🤖, 🎯 intention & motivation, 🏗️ architecture & layers, 1. the core layer (jdi & adb orchestration) and 2. the cli layer (daemon & client).

PatilShreyas/debroid · 606 tokens

rn-dev-agent AGENTS.md

Instructions for Lykhoyda/rn-dev-agent, covering repository guide for agents, repository map, editing rules, architecture rules and supported node runtimes.

Lykhoyda/rn-dev-agent · 5,241 tokens

droid-ai-toolkit AGENTS.md

Instructions for niyazmft/droid-ai-toolkit, covering droid ai toolkit — agent instructions, project type, toolchain & commands, quality gate & workflow and android / termux context.

niyazmft/droid-ai-toolkit · 3,352 tokens

koog CLAUDE.md

Claude Code instructions for JetBrains/koog, a project described as: Koog is a JVM (Java and Kotlin) framework for building predictable, fault-tolerant and enterprise-ready AI agents across all platforms – from backend services to Android and iOS, JVM, and even in-browser environments. Koog is based on our AI products…

JetBrains/koog · 3 tokens

koog GEMINI.md

Gemini CLI instructions for JetBrains/koog, a project described as: Koog is a JVM (Java and Kotlin) framework for building predictable, fault-tolerant and enterprise-ready AI agents across all platforms – from backend services to Android and iOS, JVM, and even in-browser environments. Koog is based on our AI products…

JetBrains/koog · 3 tokens