OpenTagViewer: Instructions file for Codex

AGENTS.md

OpenTagViewer AGENTS.md is an instructions file for Codex, OpenCode from parawanderer/OpenTagViewer. It costs 15,717 tokens per session, scanned B, original, MIT.

A project guide for OpenTagViewer, an Android app that shows Apple AirTag locations without requiring an Apple device. It explains the app’s Java, Python, database, and asynchronous-processing components.

In plain words
What is it for?
Use it when changing the Android interface, Room database, Apple Find My integration, embedded Python code, asynchronous services, or desktop export tools.
Why use it?
It documents important boundaries and upgrade rules, such as keeping database changes compatible and Python code independent from Android types.

Instructions file for CodexOpenCode

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

This is parawanderer/OpenTagViewer's own configuration. It tells Codex and OpenCode how to work on OpenTagViewer 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 OpenTagViewer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to parawanderer/OpenTagViewer. 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/parawanderer/OpenTagViewer/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/parawanderer/OpenTagViewer

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 OpenTagViewer AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/parawanderer/opentagviewer/agents-md"><img src="https://agentmods.dev/badge/instructions/parawanderer/opentagviewer/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15,717 This file is loaded in full into every session.
When invoked 15,717 The same file — it is already loaded in full.
Security scan B 2 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.15717 $0.15717
Opus 5.5 $0.06287 $0.06287
Sonnet 5.5 $0.03143 $0.03143
Haiku 4.5 $0.01572 $0.01572

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

Security

Grade B, and why

OpenTagViewer AGENTS.md scanned grade B with 2 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 6d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -so /dev/null -w '%{http_code}\n' -X POST --data-binary t \

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -so /dev/null -w '%{http_code}\n' -X POST --data-binary t \
AGENTS.md · 1,081 lines

How it starts

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

AGENTS.md

Rules for agents working on OpenTagViewer. Written for automated contributors, but the constraints apply to anyone.

This file is owned and maintained by agents, and keeping it current is part of the work rather than a favour to whoever comes next. @parawanderer asked for that and has not read it since. No human reviews what lands here, so the agent writing a change is the only check on it.

What that means in practice:

  • If you learned something the hard way, write it down in the same change that taught you. The next agent starts here, and anything left out is an afternoon they pay for and you did not.
  • The reason travels with the rule. An instruction with no reasoning attached is one a later agent deletes the first time it looks inconvenient. That is why the entries here argue.
  • Earn it. Nobody is filtering this, so a rule that has not actually cost somebody something does not belong. Rule 10 has the test.
  • Do not carry this register outside the repository. It is written for agents who need to be argued out of breaking something. A pull request review, an issue reply, or anything else a person reads is a different job. See rule 17.

What this project is

An Android app that shows Apple AirTag locations without an Apple device. Tags are exported from a Mac once (see the wiki), imported as a zip, and located via Apple's Find My network through FindMy.py.

Layer Technology
App Android, Java (not Kotlin), Gradle Kotlin DSL, compileSdk/targetSdk 35, minSdk 24
Apple protocol Chaquopy — CPython 3.12 embedded, bridged in app/src/main/python/main.py
Persistence Room (opentagviewer-db)
Async RxJava3 through repositories and services
Boilerplate Lombok (@Builder, @Getter on entities)
Desktop exporter python/ — tkinter wizard, PyInstaller

app/src/main/python/ is packaged into the APK by Chaquopy. Nothing in it may import Android or Java types — that is what makes it testable on plain CPython.

Read the full file on GitHub · 1,081 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. 6d ago Changed · +8 lines · +171 tokens per session b8920cfb2d24
  2. 14d ago Changed · +1 lines · +9 tokens per session 9a9f1a835901
  3. 1mo ago Changed · +46 lines · +997 tokens per session fdcfec84df2f
  4. 1mo ago Changed · +56 lines · +874 tokens per session 8e273fa65e99
  5. 1mo ago Changed · +40 lines · +553 tokens per session 8cc80f658219
  6. 1mo ago Changed · +4 lines · +65 tokens per session 96fbb0014735
  7. 1mo ago Changed · +58 lines · +951 tokens per session scan A → B 48d6ef32495d
  8. 1mo ago Changed · +67 lines · +1,051 tokens per session 5cf4b93997e1
  9. 1mo ago Changed · +28 lines · +401 tokens per session 7f166ad3671f
  10. 2mo ago First seen · 773 lines · 10,645 tokens per session scan A fab1a2e74cd9

Subscribe to this mod's changes

OpenTagViewer AGENTS.md is an instructions file published in the GitHub repository parawanderer/OpenTagViewer (450 stars, last pushed 3d ago), licensed MIT. It adds 15,717 tokens to every session, about $0.0629 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). 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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens