mobile-debug-tools: Instructions file for Codex

AGENTS.md

mobile-debug-tools AGENTS.md is an instructions file for Codex, OpenCode from clivejefferies/mobile-debug-tools. It costs 1,176 tokens per session, scanned A, original, Apache-2.0.

An AGENTS.md instruction file for a TypeScript server that helps debug Android and iOS mobile apps. It points agents to the main code areas and the repository's build and test commands.

In plain words
What is it for?
Use it when working on mobile-debug-mcp, especially for interaction tools, screenshots and logs, app management, system checks, builds, or tests.
Why use it?
It gives a coding agent the project context and checks it should follow, reducing guesses about where code belongs or how to validate changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is clivejefferies/mobile-debug-tools's own configuration. It tells Codex and OpenCode how to work on mobile-debug-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mobile-debug-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to clivejefferies/mobile-debug-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/clivejefferies/mobile-debug-tools/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/clivejefferies/mobile-debug-tools

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for mobile-debug-tools AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/clivejefferies/mobile-debug-tools/agents-md/github.svg)](https://agentmods.dev/instructions/clivejefferies/mobile-debug-tools/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/clivejefferies/mobile-debug-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/clivejefferies/mobile-debug-tools/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.

agentmods 80×15 button for mobile-debug-tools AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/clivejefferies/mobile-debug-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/clivejefferies/mobile-debug-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,176 This file is loaded in full into every session.
When invoked 1,176 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01176 $0.01176
Opus 5.5 $0.00470 $0.00470
Sonnet 5.5 $0.00235 $0.00235
Haiku 4.5 $0.00118 $0.00118

Measured 1mo ago against content hash 1b513b0b8be2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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 · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 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.

Required development process

Before planning, editing, or reviewing repository changes, every agent must read and follow docs/specs/process.md. It defines the full and lightweight workflows, approval gates, verification, and reporting requirements. Apply it to delegated work too: pass this entrypoint and the relevant task scope to any delegated agent, and check its results against the same process. Tool-specific instructions must defer to this shared process. Explicit user instructions take precedence.

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 entrypoint
  • src/server-core.ts and src/server/ — MCP registration, capability handlers, schemas and definitions
  • src/interact/ — tap, swipe, typing, waits, and interaction helpers
  • src/observe/ — logs, screenshots, UI tree, fingerprints, snapshots
  • src/manage/ — build, install, start, terminate, restart, reset-app-data
  • src/system/ — environment and toolchain health checks
  • src/debugger/ — debugger sessions, protocol and Java worker
  • src/utils/ — shared helpers and platform-specific utility code
  • src/contracts/ — shared input shapes and validation
  • src/runtime/ — action results, traces and injectable clocks

See code structure and quality checks for interaction subfolders, module ownership, dependency rules and enforced limits.

First things an agent should know

  1. Prefer existing helpers and conventions over introducing new frameworks or abstractions.
  2. The repository already has a test structure; place tests in the correct tree instead of inventing new ones.
  3. Use existing validation commands:
    • npm run build
    • npm run lint
    • npm run test:unit
    • npm run test:device
  4. Device tests are split intentionally:
    • test/device/automated/... = automated smoke/integration coverage
    • test/device/manual/... = helper/debug/manual scripts
  5. Unit tests use the current lightweight self-running tsx pattern rather than a dedicated framework.

Read the full file on GitHub · 111 lines

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. 1mo ago Changed · +20 lines · +278 tokens per session 1b513b0b8be2
  2. 3mo ago First seen · 91 lines · 898 tokens per session scan A 28ba0bcc166f

Subscribe to this mod's changes

mobile-debug-tools AGENTS.md is an instructions file published in the GitHub repository clivejefferies/mobile-debug-tools (14 stars, last pushed 7d ago), licensed Apache-2.0. It adds 1,176 tokens to every session, about $0.0047 per session on Opus 5.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.

Related

mobile-debug-tools AGENTS.md compared with instructions from other repositories

mobile-debug-tools AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobile-debug-tools AGENTS.mdclivejefferies/mobile-debug-toolsInstructions file147d agoApache-2.0A1,176Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot