tapp AGENTS.md

A playbook for Tapp, a tool that explores and tests real web, iOS, and Android app surfaces through browsers, simulators, and devices. It describes commands for exploration, screenshots, and release checks.

In plain words
What is it for?
Use it to explore an app, open screens, locate controls, follow interaction paths, capture screenshots, and run repository-connected checks.
Why use it?
It gives an agent a repeatable way to inspect app behavior and gather evidence, even without a connected MCP server.

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/aarwitz/tapp/agents-md
Clone the repo
git clone --depth 1 https://github.com/aarwitz/tapp

Made for: Codex, OpenCode.

Per session 3,044 This file is loaded in full into every session.
When invoked 3,044 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.03044 $0.03044
Opus 5 $0.01522 $0.01522
Sonnet 5 $0.00609 $0.00609
Haiku 4.5 $0.00304 $0.00304

Measured yesterday against content hash a929e4649e61, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tapp 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 yesterday.

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 · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tapp agent playbook

You (the agent) have Tapp: hands and eyes on real app surfaces — iOS simulators, Android emulators/devices, plus (beta) web apps in a real browser. Release judgment belongs only to Tapp's repository-connected deterministic gate.

No MCP connected? Just run the CLI

The core inspect, explore, replay, and gate capabilities work as plain commands — no Tapp account, server, or global install. [target] is optional: with a repository/model, Tapp selects and prepares one conclusive web, iOS, or Android target; it also accepts a repo dir, path/to/App.app, bundle id, APK plus app id, or an owned HTTP(S) URL. You never need to know an iOS bundle id up front.

npx -y @aarwitz/tapp@latest explore [target]     # autonomous exploration → findings + evidence (observation, not a gate; ≈ tapp_explore)
npx -y @aarwitz/tapp@latest focus "SCREEN OR CONTROL" [target] # source-locate + shortest observed route + screenshot
npx -y @aarwitz/tapp@latest explore https://your-app.example --watch  # web: visibly follow the same exploration
npx -y @aarwitz/tapp@latest open [target]   # launch + screen summary + screenshot saved to a file (≈ tapp_open_app)
npx -y @aarwitz/tapp@latest tree [target]   # accessibility tree, --json for every element (≈ tapp_ui_tree)
npx -y @aarwitz/tapp@latest shot            # screenshot the booted sim → file path (≈ tapp_screenshot)
npx -y @aarwitz/tapp@latest apps            # what's installed on the simulator, with bundle ids
npx -y @aarwitz/tapp@latest build [dir]     # build the app in an Xcode repo + install it (≈ tapp_build)
npx -y @aarwitz/tapp@latest explore app.apk --platform android --app-id com.acme.app
npx -y @aarwitz/tapp@latest flow run .tapp/flows/smoke.yml  # committed, keyless E2E replay

If repository onboarding detects multiple application targets, target detection is deterministic but the choice is the user's. Explicit init --explore asks even when the model has a saved default; a later bare explore may consume that default. In a human TTY, Tapp displays a numbered selector and continues in the same command. A non-interactive CLI prints the exact choices and exits before building. MCP returns reason: "target-selection-required" with structured choices[] (platform, name, sourcePath, selector, and exact command). Do not pick one yourself. Present those choices to the user with the client's native multiple-choice question UI when available, then rerun using the selected --platform and --target. Plain chat can list the same choices when the client has no question widget.

Read the full file on GitHub · 172 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. yesterday First seen · 172 lines · 3,044 tokens per session scan A a929e4649e61

Subscribe to this mod's changes

tapp AGENTS.md is an instructions file published in the GitHub repository aarwitz/tapp (0 stars, last pushed 3d ago), licensed MIT. It adds 3,044 tokens to every session, about $0.0152 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.