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.
npx agentmods add instructions/clivejefferies/mobile-debug-tools/agents-mdgit clone --depth 1 https://github.com/clivejefferies/mobile-debug-toolsWhat 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 | $0.00898 | $0.00898 |
| Opus 5 | $0.00449 | $0.00449 |
| Sonnet 5 | $0.00180 | $0.00180 |
| Haiku 4.5 | $0.00090 | $0.00090 |
Grade A, and why
mobile-debug-tools 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file is the cold-start entrypoint for autonomous agents that arrive in this public repository without prior context.
It is intentionally vendor-neutral and should be useful to Copilot, Codex, Claude, or custom agent systems.
What this repository is
mobile-debug-mcp is an MCP server for mobile app debugging on Android and iOS. The codebase is TypeScript and the built server entrypoint is dist/server.js.
Primary areas:
src/server.ts— runtime entrypointsrc/server-core.ts— tool registration and dispatch logicsrc/interact/— tap, swipe, typing, waits, and interaction helperssrc/observe/— logs, screenshots, UI tree, fingerprints, snapshotssrc/manage/— build, install, start, terminate, restart, reset-app-datasrc/system/— environment and toolchain health checkssrc/utils/— shared helpers and platform-specific utility code
First things an agent should know
- Prefer existing helpers and conventions over introducing new frameworks or abstractions.
- The repository already has a test structure; place tests in the correct tree instead of inventing new ones.
- Use existing validation commands:
npm run buildnpm run lintnpm run test:unitnpm run test:device
- Device tests are split intentionally:
test/device/automated/...= automated smoke/integration coveragetest/device/manual/...= helper/debug/manual scripts
- Unit tests use the current lightweight self-running
tsxpattern rather than a dedicated framework.
Where to look for deeper guidance
Skills
Portable agent skills live under skills/.
skills/README.md— repo-wide skill conventionskills/mcp-builder/— build/install/toolchain guidanceskills/test-authoring/— test creation and placement guidanceskills/rfc-review/— RFC review rubric and response template
If the task is about creating or updating tests, load skills/test-authoring/SKILL.md first.
If the task is about building, installing, or diagnosing native tooling, load skills/mcp-builder/SKILL.md first.
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.
- 2d ago First seen · 91 lines · 898 tokens per session scan A 28ba0bcc166f
mobile-debug-tools AGENTS.md is an instructions file published in the GitHub repository clivejefferies/mobile-debug-tools (7 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 898 tokens to every session, about $0.0045 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-31.
Other instructions, from other repositories
MobiAI-Core CLAUDE.md
Instructions for ArisGuimera/MobiAI-Core, covering mobiai — mobile development ai ecosystem, bootstrap and principles.
freetube CLAUDE.md
Instructions for leshkodev/freetube, covering claude.md, 1. what this project is, 2. non-negotiable constraints, 3. tech stack (locked) and 4. project structure.
ConsultMe CLAUDE.md
Instructions for Tarek-Bohdima/ConsultMe, covering claude.md, project context, common commands, module graph and conventions enforced by tooling.
claude-status CLAUDE.md
Instructions for gmr/claude-status, covering claude.md, project overview, build & test, platform & language and dependencies (spm).
DensityToggle CLAUDE.md
Instructions for channelramble/DensityToggle, covering density toggle - wear os display density control, goal, current status, how it works and how auto mode decides (v5).
phone-mcp CLAUDE.md
Instructions for premex-ab/phone-mcp, covering claude.md, project overview, build commands, architecture and module layout.