Borrowing it
Nothing to install: this file belongs to leaf76/lazy_mobile_mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/leaf76/lazy_mobile_mcp/master/AGENTS.mdgit clone --depth 1 https://github.com/leaf76/lazy_mobile_mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/leaf76/lazy_mobile_mcp/agents-md)<a href="https://agentmods.dev/instructions/leaf76/lazy_mobile_mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/leaf76/lazy_mobile_mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/leaf76/lazy_mobile_mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/leaf76/lazy_mobile_mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02621 | $0.02621 |
| Opus 5.5 | $0.01048 | $0.01048 |
| Sonnet 5.5 | $0.00524 | $0.00524 |
| Haiku 4.5 | $0.00262 | $0.00262 |
Grade A, and why
lazy_mobile_mcp AGENTS.md scanned grade A with 1 finding 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 2mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Worker path: in-process async TypeScript `Worker` via `src/workerClient.ts` + `src/worker.ts` (async `spawn`, not `spawnSync`). Routes tools to Android/iOS adapters and SQLite-backed telemetry/artifacts. How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Purpose and Scope
- This file governs
/Users/cy76/WorkSpace/sideProject/mcp_projects/lazy_mobile_mcp. - The repo is a single local-first Model Context Protocol (MCP) npm package for Android/iOS device automation and performance telemetry.
- Keep instructions operational and repo-specific. Do not add generic tool inventories or process rules that are not supported by this repo.
- Ignore
.tmp/,artifacts/,dist/,coverage/, caches (.venv/,node_modules/,.pytest_cache/,.mypy_cache/), and generated build output unless the user explicitly asks to inspect or clean them. - Inventory tools may over-count languages or flag monorepo signals from ignored
.tmp/WebDriverAgentcheckouts. Do not treat.tmp/as product architecture. There is no Python runtime path in this package.
Language
- Use English for code, comments, logs, config, UI strings, docs content, and commit messages.
- Use Traditional Chinese (Taiwan) for planning, status updates, and explanations to the user.
Repo Snapshot
- Runtime: Node.js 20+, TypeScript ESM (
"type": "module"), npm, Vitest. - Package name:
lazy_mobile_mcp; binary:lazy-mobile-mcp(bin/lazy-mobile-mcp.js→dist/cli.js). - Published package contents (
package.jsonfiles):bin/,dist/only. - CLI: bare invocation starts MCP over stdio;
setup-codexregisters the server in Codex;--help/-hprint usage. - Core MCP path:
src/index.ts— stdio registration, Zod validation, audit start/update,trace_id, worker calls. - Worker path: in-process async TypeScript
Workerviasrc/workerClient.ts+src/worker.ts(asyncspawn, notspawnSync). Routes tools to Android/iOS adapters and SQLite-backed telemetry/artifacts. - Adapters:
src/adapters/androidAdapter.ts(ADB),src/adapters/iosAdapter.ts(simctl/devicectl/ WDA). - Public tool schemas:
src/toolSchemas.ts+ domain checks insrc/mobileValidation.ts; public contract:docs/tool-contract.md. - Other core modules:
src/config.ts,src/policyGuard.ts,src/storage.ts,src/setupCodex.ts,src/errors.ts,src/logger.ts,src/perfCollector.ts. - Config env vars (from
src/config.ts/ docs):SQLITE_PATH,ARTIFACTS_DIR,DEVICE_ALLOWLIST,MOBILE_APPROVAL_POLICY(off|high|medium),LOG_LEVEL,ADB_BIN,WDA_BASE_URL,DEVICE_LIST_TTL_MS,WORKER_TIMEOUT_MS. - Docs set:
README.md,docs/tool-contract.md,docs/security.md,docs/runbook.md,docs/capability-matrix.md. - Runtime is TypeScript-only. Do not reintroduce a Python worker path unless the user explicitly requests it.
- CI:
.github/workflows/ci.ymlruns lint, test, build, andnpm pack --dry-runon push/PR.
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.
- 2mo ago First seen · 116 lines · 2,621 tokens per session scan A bfff8acf14d5
lazy_mobile_mcp AGENTS.md is an instructions file published in the GitHub repository leaf76/lazy_mobile_mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 2,621 tokens to every session, about $0.0105 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
lazy_mobile_mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lazy_mobile_mcp AGENTS.mdleaf76/lazy_mobile_mcp | Instructions file | 1 | 3mo ago | MIT | A | 2,621 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |