Borrowing it
Nothing to install: this file belongs to wataru-maeda/react-native-boilerplate. 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/wataru-maeda/react-native-boilerplate/dev/AGENTS.mdgit clone --depth 1 https://github.com/wataru-maeda/react-native-boilerplateWrote 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/wataru-maeda/react-native-boilerplate/agents-md)<a href="https://agentmods.dev/instructions/wataru-maeda/react-native-boilerplate/agents-md"><img src="https://agentmods.dev/badge/instructions/wataru-maeda/react-native-boilerplate/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/wataru-maeda/react-native-boilerplate/agents-md"><img src="https://agentmods.dev/badge/instructions/wataru-maeda/react-native-boilerplate/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.01709 | $0.01709 |
| Opus 5.5 | $0.00684 | $0.00684 |
| Sonnet 5.5 | $0.00342 | $0.00342 |
| Haiku 4.5 | $0.00171 | $0.00171 |
Grade A, and why
react-native-boilerplate 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 19d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Native Boilerplate Rules
See README for setup and structure.
Use Node ≥24 and npm ≥11.
Before Editing
- Verify rules against code. Correct outdated rules.
- Use
manage-docsbefore editingREADME.md,AGENTS.md, or skills in.agents/skills. - Keep secrets out of git. Write variable names to
.env.*.exampleonly.
Code
- Reuse existing components, hooks, and utilities.
- Import with
@/, which maps tosrc/. Keep TypeScript strict. - Export props of reusable elements as
interface <Component>Props. Import shared types from@/types. - Use function declarations for components. Call hooks before early returns.
- Name components and types in PascalCase. Name utilities in camelCase. Prefix hooks with
use. - Keep
console.logout of production code.
Screens and Styles
- Put screens in
src/scenes/<name>/<Name>.tsx. Keepsrc/app/files limited to routing and layouts. - Put reusable controls in
src/components/elements/. Put navigation and sheet layouts insrc/components/layouts/. - Give each component its own folder with
<Name>.tsxand anindex.tsthat re-exports it. - Use Expo Router for navigation. Use
<Redirect>for rendered redirects. Userouter.pushorrouter.replacein event handlers. - Import navigation helpers such as
DrawerActionsfromexpo-router/react-navigation. Import themes fromexpo-router. Do not add@react-navigation/*packages. - Use
StyleSheet.create. Read colors, fonts, and images from@/theme. - Support dark and light mode with
useColorSchemefrom@/hooks/useColorScheme. - Import
SafeAreaViewfromreact-native-safe-area-context.
State and Configuration
- Read app settings from
@/utils/config. Do not hardcode environment values. - Add a new environment variable in three places:
.env.*.example,extrainapp.config.ts, andsrc/utils/config.ts. - Treat values in
extraas public. They ship inside the app bundle. - Read platform and dimensions from
@/utils/deviceInfo. - Use
useAppSlicefrom@/slicesfor shared app state. Add new state as a slice insrc/slices/and register it insrc/utils/store.ts. - Use
useDataPersistfrom@/hooksfor local storage. UseuseKeyboardfrom@/hooksfor keyboard state.
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.
- 19d ago First seen · 129 lines · 1,709 tokens per session scan A a0be53717401
react-native-boilerplate AGENTS.md is an instructions file published in the GitHub repository wataru-maeda/react-native-boilerplate (524 stars, last pushed 5d ago), licensed MIT. It adds 1,709 tokens to every session, about $0.0068 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-10-19.
react-native-boilerplate AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-native-boilerplate AGENTS.mdwataru-maeda/react-native-boilerplate | Instructions file | 524 | 5d ago | MIT | A | 1,709 | Codex, OpenCode |
| mcp-react-native-toolkit copilot-instructions.mdItamiForge/mcp-react-native-toolkit | Instructions file | 0 | 2mo ago | MIT | A | 1,296 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |