android-native-init-lab: Instructions file for Codex

AGENTS.md

android-native-init-lab AGENTS.md is an instructions file for Codex, OpenCode from Temmie-Tem/android-native-init-lab. It costs 5,773 tokens per session, scanned A, original, MIT.

Repository instructions for an Android project with strict rules for selecting targets, using devices, preserving evidence, and validating changes. They define the required work cycle from checking the current state through reporting and committing.

In plain words
What is it for?
Use them when modifying, testing, or documenting the Android project, especially when deciding whether device testing is required.
Why use it?
They prevent changes from being tested on the wrong target and limit unnecessary or unsafe device actions. They also establish which policies take precedence.

Instructions file for CodexOpenCode

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

This is Temmie-Tem/android-native-init-lab's own configuration. It tells Codex and OpenCode how to work on android-native-init-lab 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 android-native-init-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Temmie-Tem/android-native-init-lab. 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/Temmie-Tem/android-native-init-lab/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Temmie-Tem/android-native-init-lab

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 android-native-init-lab AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/temmie-tem/android-native-init-lab/agents-md"><img src="https://agentmods.dev/badge/instructions/temmie-tem/android-native-init-lab/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,773 This file is loaded in full into every session.
When invoked 5,773 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.05773 $0.05773
Opus 5.5 $0.02309 $0.02309
Sonnet 5.5 $0.01155 $0.01155
Haiku 4.5 $0.00577 $0.00577

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

Security

Grade A, and why

android-native-init-lab 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 4d 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 · 353 lines

How it starts

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

AGENTS.md - repository operating contract

Contract-Revision: 64 (supersedes revision 63; 2026-10-28)

The retired Interim Fast-Loop trial contract is preserved byte-for-byte at docs/archive/policy/AGENTS_INTERIM_FAST_LOOP_RETIRED_2026-08-03.md; it is historical evidence only and grants no current authority.

This file contains the repository-wide invariants and the binding target registry. Select exactly one target contract before target-specific work. A goal records current state and objectives; it never grants device authority. Historical or draft policies under docs/archive/ or elsewhere are evidence only, even if their text says ACTIVE.

STATE -> SELECT -> DESIGN -> IMPLEMENT -> STATIC VALIDATE -> DEVICE -> REPORT -> COMMIT

Do not add a device step when host-only work can answer the question.

Authority and Precedence

The effective contract is, in descending order:

  1. this file and its incorporated common device details, at the same highest common-contract precedence;
  2. the selected binding target contract;
  3. the shared risk-tier and execution-process documents named by that target;
  4. the immutable live binding required by the active policy or current runner.

The more restrictive applicable rule wins. A target may specialize only expressly delegated behavior and may never relax permanent boundaries. A manifest, approval string, goal, report, archived clause, helper string, or sub-goal cannot override a higher layer. No document grants standing device authority unless this common contract or the selected target contract expressly activates it and all required live inputs are current. An unactivated policy edit remains H0 only.

The incorporated details have SHA-256: e13b318106e59892f0dc1d8b5543a4f3a300d4194333b23a9cb0085ef2121088. Verify that digest with existing hash tooling when first reading details for a device action, or after their bytes change; reuse the verified unchanged input. A missing, unread applicable section or mismatched digest blocks that device effect, while H0 work may continue. Changes to the details must update this root pin, so existing runners that bind AGENTS.md also bind their declared identity. This refactor does not repin existing approvals, source closures, manifests, activation records, or journals. Current runner checks and device-session stops remain binding; change those mechanisms only through their scoped review.

Read the full file on GitHub · 353 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. 4d ago Changed · -75 lines · -2,476 tokens per session c876f9e032be
  2. 13d ago Changed · +37 lines · +1,125 tokens per session 8f813e36f0ef
  3. 19d ago Changed · +35 lines · +929 tokens per session c75a001b2734
  4. 27d ago Changed · +27 lines · +726 tokens per session 29b0b459f669
  5. 1mo ago Changed · +32 lines · +936 tokens per session b4bd2b7e84c0
  6. 1mo ago Changed · +32 lines · +612 tokens per session 1d4b4b358dba
  7. 1mo ago Changed 00187696fa38
  8. 1mo ago Changed · +1 tokens per session 9cb4834cb12a
  9. 2mo ago Changed · +1 lines · +53 tokens per session 39dc4e10e71d
  10. 2mo ago First seen · 264 lines · 3,867 tokens per session scan A 7e5aa63d36ba

Subscribe to this mod's changes

android-native-init-lab AGENTS.md is an instructions file published in the GitHub repository Temmie-Tem/android-native-init-lab (10 stars, last pushed 4d ago), licensed MIT. It adds 5,773 tokens to every session, about $0.0231 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

android-native-init-lab AGENTS.md compared with instructions from other repositories

android-native-init-lab AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-native-init-lab AGENTS.mdTemmie-Tem/android-native-init-labInstructions file104d agoMITA5,773Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA1,907GitHub Copilot