react-native-chat copilot-instructions.md

react-native-chat copilot-instructions.md is an instructions file for GitHub Copilot from kesha-antonov/react-native-chat. It costs 1,441 tokens per session, scanned A, original, MIT.

A set of project instructions for React Native Chat, a TypeScript component library for chat interfaces on React Native, the web, and Expo. It documents how to install, build, lint, test, and publish the project.

In plain words
What is it for?
Use it when developing or validating React Native Chat, including running its build, lint, tests, or publishing checks.
Why use it?
It gives coding agents the project's required commands, expected timings, and known test issues.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/kesha-antonov/react-native-chat/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/kesha-antonov/react-native-chat

Made for: GitHub Copilot.

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 react-native-chat copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kesha-antonov/react-native-chat/copilot-instructions.svg)](https://agentmods.dev/instructions/kesha-antonov/react-native-chat/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/kesha-antonov/react-native-chat/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/kesha-antonov/react-native-chat/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,441 This file is loaded in full into every session.
When invoked 1,441 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01441 $0.01441
Opus 5 $0.00720 $0.00720
Sonnet 5 $0.00288 $0.00288
Haiku 4.5 $0.00144 $0.00144

Measured 4d ago against content hash 531c3a6d81e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react-native-chat copilot-instructions.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.

.github/copilot-instructions.md · 142 lines

How it starts

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

React Native Chat

The most complete chat UI for React Native & Web. This is a TypeScript React Native component library with example applications demonstrating usage across React Native, React Native Web, and Expo platforms.

Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.

Working Effectively

Bootstrap and build the repository:

  • yarn install -- NEVER CANCEL: takes 58 seconds. Set timeout to 120+ seconds.
  • yarn build -- builds TypeScript library, takes 3 seconds. Set timeout to 30+ seconds.
  • yarn lint -- lints source code, takes 3 seconds. Currently has warnings but no errors. Set timeout to 30+ seconds.
  • yarn test -- NEVER CANCEL: runs Jest test suite, takes 9 seconds. Set timeout to 60+ seconds.

Full validation before publishing:

  • yarn prepublishOnly -- NEVER CANCEL: runs lint + build + test, takes 11 seconds total. Set timeout to 60+ seconds.

Known Issues:

  • If tests fail due to snapshot mismatches after fresh dependency install, run yarn test -u to update snapshots
  • Snapshot tests may need updates when React Native or dependency versions change

Example app development:

  • cd example && yarn install -- NEVER CANCEL: takes 38 seconds. Set timeout to 90+ seconds.
  • Install Expo CLI globally: npm install -g @expo/cli or use npx expo commands
  • Native development: cd example && npx expo start
  • Web development: cd example && npx expo start --web (requires additional dependencies)
  • The example app starts Metro bundler on http://localhost:8081
  • Expect dependency version warnings in offline/CI mode - these are normal

Type checking and development:

  • yarn tsc:watch -- runs TypeScript compiler in watch mode for development
  • yarn tsc:write -- compiles TypeScript and writes output to /lib directory

Requirements and Setup

System Requirements:

  • Node.js >= 18 (tested with 20.19.4)
  • Yarn package manager 1.22.22+ (do NOT use npm for this project)
  • TypeScript compiler (included in devDependencies)

Read the full file on GitHub · 142 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 First seen · 142 lines · 1,441 tokens per session scan A 531c3a6d81e9

Subscribe to this mod's changes

react-native-chat copilot-instructions.md is an instructions file published in the GitHub repository kesha-antonov/react-native-chat (48 stars, last pushed today), licensed MIT. It adds 1,441 tokens to every session, about $0.0072 per session on Opus 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.

Related

Other instructions, from other repositories