Borrowing it
Nothing to install: this file belongs to kesha-antonov/react-native-chat. 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/kesha-antonov/react-native-chat/main/AGENTS.mdgit clone --depth 1 https://github.com/kesha-antonov/react-native-chatWrote 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/kesha-antonov/react-native-chat/agents-md)<a href="https://agentmods.dev/instructions/kesha-antonov/react-native-chat/agents-md"><img src="https://agentmods.dev/badge/instructions/kesha-antonov/react-native-chat/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/kesha-antonov/react-native-chat/agents-md"><img src="https://agentmods.dev/badge/instructions/kesha-antonov/react-native-chat/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.05719 | $0.05719 |
| Opus 5.5 | $0.02288 | $0.02288 |
| Sonnet 5.5 | $0.01144 | $0.01144 |
| Haiku 4.5 | $0.00572 | $0.00572 |
Grade C, and why
react-native-chat AGENTS.md scanned grade C 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 3d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
| `yarn build` | `rm -rf lib`, `tsc` for the declarations, then Babel with the React Compiler (`babel.build.cjs`) for the JavaScript - emits `lib/`, which is gitignored and is what gets published. The build fails if the Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl 'localhost:<n>/node_modules/expo-router/entry.bundle?platform=android&dev=true' -o /dev/null`. How it starts
The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents working inside this repository.
If you are instead helping someone use this library in their own app, read
llms.txt - it is a compact integration guide and does not require the checkout.
What this is
@kesha-antonov/react-native-chat is a chat UI component library for React Native and
Web - a maintained continuation of react-native-gifted-chat. It ships as compiled
JavaScript plus type definitions; there is no native code in this package.
Setup
Requires Node >= 20 and Yarn 4 (pinned via packageManager; use yarn, never npm).
yarn install # library
cd example && yarn install && cd .. # example app - a SEPARATE yarn project
The repo is not a Yarn workspace. example/ has its own package.json, its own
yarn.lock, and its own node_modules, and depends on the library via link:... Installing
at the root does not install the example, and vice versa.
Commands
Run these from the repo root:
| Command | What it does |
|---|---|
yarn test |
Jest suite, run under TZ=Europe/Paris (snapshots contain formatted times, so the timezone is pinned). Must stay green. |
yarn test:watch / yarn test:coverage |
Same suite, watching or with coverage. |
yarn typecheck |
tsc --noEmit over src/. Must stay clean. |
yarn lint |
ESLint over both src/ and example/. Must report 0 errors and 0 warnings. |
yarn lint:fix |
Auto-fix what ESLint can. |
yarn build |
rm -rf lib, tsc for the declarations, then Babel with the React Compiler (babel.build.cjs) for the JavaScript - emits lib/, which is gitignored and is what gets published. The build fails if the compiler has to skip any component. |
yarn prepublishOnly |
lint + test + build, i.e. the full gate. |
Inside example/: yarn lint and yarn typecheck cover the example app on its own. Note
that the root yarn lint also lints example/, under stricter rules than the example's
own expo lint - so a change that passes cd example && yarn lint can still fail at the root.
Always run the root yarn lint before you finish.
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.
- 3d ago Changed · +117 lines · +2,263 tokens per session fe65af1c1475
- 2mo ago Changed · +98 lines · +1,669 tokens per session f9de3fb4d0e5
- 2mo ago First seen · 151 lines · 1,787 tokens per session scan C b9581d5027b6
react-native-chat AGENTS.md is an instructions file published in the GitHub repository kesha-antonov/react-native-chat (77 stars, last pushed 4d ago), licensed MIT. It adds 5,719 tokens to every session, about $0.0229 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
react-native-chat AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-native-chat AGENTS.mdkesha-antonov/react-native-chat | Instructions file | 77 | 4d ago | MIT | C | 5,719 | Codex, OpenCode |
| 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 |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |