Borrowing it
Nothing to install: this file belongs to alvarolorentedev/opencode-mobile. 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/alvarolorentedev/opencode-mobile/main/AGENTS.mdgit clone --depth 1 https://github.com/alvarolorentedev/opencode-mobileWrote 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/alvarolorentedev/opencode-mobile/agents-md)<a href="https://agentmods.dev/instructions/alvarolorentedev/opencode-mobile/agents-md"><img src="https://agentmods.dev/badge/instructions/alvarolorentedev/opencode-mobile/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/alvarolorentedev/opencode-mobile/agents-md"><img src="https://agentmods.dev/badge/instructions/alvarolorentedev/opencode-mobile/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.02634 | $0.02634 |
| Opus 5.5 | $0.01054 | $0.01054 |
| Sonnet 5.5 | $0.00527 | $0.00527 |
| Haiku 4.5 | $0.00263 | $0.00263 |
Grade A, and why
opencode-mobile 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 — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Read docs/README.md first. It is the task router. Read the
owning feature's AGENTS.md and only the relevant implementation documentation.
Do not preload the documentation tree or invent another architecture.
Implementation ownership
app/: thin Expo Router entrypoints, route/layout declarations and metadata.features/: product presentation, domain state/actions, services, rules and tests.runtime/: cross-feature state and lifecycle composition. One application owner, one connection owner, and retained connection/project branches preserve continuity.shared/: feature-independent controls, contracts, protocol, platform, storage, query infrastructure, i18n and utilities.modules/: native Expo modules; preserve discovery and registered module names.tests/e2e/andtests/fake-opencode/: the behavioral contract, with central harnesses.
See feature boundaries for ownership, public APIs and the strictly limited shared UI/runtime exception.
Start here
| Task touches | Read before editing | Validate with |
|---|---|---|
| Copy/translations | Translations recipe | npm run gen:i18n, strict i18n test |
| Settings or reusable UI | Settings recipe, design system, owning component inventory | Storybook and affected E2E |
| Chat/transcript | Chat inventory, Chat behavior | Chat/diffs E2E |
| Domain state/session/persistence | State and data, runtime guidance | Owning Vitest and full E2E |
| Protocol/endpoints/events | API contract, ADR 0003, fake server | Contract Vitest, fake-server self-test and full E2E |
| SSE/polling/offline | Network resilience | Runtime Vitest and realtime/network E2E |
| Logs/traces/metrics/diagnostics/remote telemetry | Observability, ADR 0020 | shared/observability Vitest, settings/realtime network E2E, FOSS self-test |
| Native/platform/config | Development, integrations | CI release build; local native checks when the environment supports them |
| Tests/fake server | Validation index, strategy | Cheapest sufficient level; full E2E runs on the release tag |
| Docs/ADR | Docs router, ADR process | npm run test:docs and static |
| Release | Development, ADR 0018, integrations, updates/F-Droid | Push a version tag; GitHub Actions validates, builds and distributes |
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 Changed · +2 lines · +33 tokens per session 54b3203b7362
- 5d ago Changed · +35 lines · +601 tokens per session 8835bb37b122
- 6d ago Changed · -317 lines · -2,194 tokens per session da09deb019e6
- 7d ago Changed · +148 lines · +2,111 tokens per session 2170eea7e3ef
- 11d ago Changed · +4 lines · +69 tokens per session bb2dbca857f9
- 13d ago Changed · +2 lines · +45 tokens per session 3e358f3fbbb1
- 14d ago Changed · +18 lines · +201 tokens per session 5c3a74b45642
- 19d ago Changed cde84d59b3f8
- 20d ago Changed · +18 lines · +192 tokens per session af349934e8f2
- 25d ago First seen · 270 lines · 1,576 tokens per session scan A 5085efe407c0
opencode-mobile AGENTS.md is an instructions file published in the GitHub repository alvarolorentedev/opencode-mobile (332 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,634 tokens to every session, about $0.0105 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-30.
opencode-mobile AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opencode-mobile AGENTS.mdalvarolorentedev/opencode-mobile | Instructions file | 332 | yesterday | Apache-2.0 | A | 2,634 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |