skills AGENTS.md

A set of instructions for coding agents working on React Native projects, including guidance for available skills and how to use them.

In plain words
What is it for?
It helps migrate a React Native project to the strict TypeScript API and upgrade React Native versions in Community CLI projects.
Why use it?
It tells the agent which procedure to follow for specific React Native tasks, reducing guesswork about project upgrades and TypeScript changes.

Instructions file for CodexOpenCode

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/react-native-community/skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/react-native-community/skills

Made for: Codex, OpenCode.

Per session 213 This file is loaded in full into every session.
When invoked 213 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.00213 $0.00213
Opus 5 $0.00106 $0.00106
Sonnet 5 $0.00043 $0.00043
Haiku 4.5 $0.00021 $0.00021

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

Security

Grade A, and why

skills 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.

AGENTS.md · 18 lines

What it actually says

AGENTS.md

Skills

A skill is a set of local instructions stored in a SKILL.md file.

Available skills

  • migrate-to-strict-api: Migrate a React Native project (>= 0.80) to the strict TypeScript API. Handles the tsconfig.json opt-in, replaces deep imports, and fixes breaking type changes. (file: migrate-to-strict-api/SKILL.md)
  • upgrade-react-native: Upgrade React Native versions in Community CLI projects using the Upgrade Helper diff. (file: upgrade-react-native/SKILL.md)

How to use skills

  • Trigger rule: Use migrate-to-strict-api when the user asks to migrate to the strict TypeScript API, enable the strict API, or fix deep imports for the strict API.
  • Invocation: /migrate-to-strict-api
  • Trigger rule: Use upgrade-react-native when the user asks to upgrade React Native to a newer version.
  • Invocation: /upgrade-react-native <targetVersion>
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. 2d ago First seen · 18 lines · 213 tokens per session scan A 34ea2e80d396

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository react-native-community/skills (27 stars, last pushed 28d ago), licensed MIT. It adds 213 tokens to every session, about $0.0011 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.