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.
npx agentmods add instructions/shumatsumonobu/awesome-ai-rules/reactgit clone --depth 1 https://github.com/shumatsumonobu/awesome-ai-rulesWrote 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/shumatsumonobu/awesome-ai-rules/react)<a href="https://agentmods.dev/instructions/shumatsumonobu/awesome-ai-rules/react"><img src="https://agentmods.dev/badge/instructions/shumatsumonobu/awesome-ai-rules/react.svg" alt="Measured on agentmods" 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.00209 | $0.00209 |
| Opus 5 | $0.00105 | $0.00105 |
| Sonnet 5 | $0.00042 | $0.00042 |
| Haiku 4.5 | $0.00021 | $0.00021 |
Grade A, and why
awesome-ai-rules react.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 5d 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.
What it actually says
React Instructions
This file activates ONLY when Copilot is working on .tsx files (controlled by the applyTo pattern above). The main copilot-instructions.md applies globally; this adds React-specific rules on top.
- Components are Server Components by default. Add
"use client"only when the component uses hooks, event handlers, or browser APIs. - Keep
"use client"at the smallest leaf. Never mark an entire page or layout as client. - Define props as
type ButtonProps = { ... }in the same file. - Use
cn()from@/lib/utilsfor conditional Tailwind classes. - Use
forwardReffor components wrapping native HTML elements. - Use
loading.tsxfor route-level streaming. Useerror.tsxfor error boundaries with a retry button. - Fetch data in Server Components with
async/await. Server Actions for mutations. - Never use
useEffectfor data fetching.
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.
- 5d ago First seen · 17 lines · 209 tokens per session scan A ab24b024edcf
awesome-ai-rules react.instructions.md is an instructions file published in the GitHub repository shumatsumonobu/awesome-ai-rules (1 stars, last pushed 1mo ago), licensed MIT. It adds 209 tokens to every session, about $0.0010 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-31.
Other instructions, from other repositories
awesome-agents-md copilot-instructions.md
Instructions for bradleybeatz1313/awesome-agents-md, covering github copilot — custom instructions for next.js 15, conventions, forbidden patterns, cache and hydration awareness and files to leave alone unless asked.
awesome-ai-rules copilot-instructions.md
Instructions for Lay4U/awesome-ai-rules, covering github copilot instructions: go, inline completion priorities, go api conventions, interfaces and error patterns.
awesome-python AGENTS.md
AGENTS.md instructions for vinta/awesome-python, covering agents.md and entry rules.
awesome-ai-gateway CLAUDE.md
Claude Code instructions for cuihuan/awesome-ai-gateway, covering claude.md — working rules for this repository, what this repository is, the two goals — judge every change against these, non-negotiable rules and before you commit.
awesome-ai-scientists CLAUDE.md
Instructions for natnew/awesome-ai-scientists, covering claude.md, north star, resolver — load per task, first-pass workflow and stop conditions.
awesome-rss-feeds-list AGENTS.md
Instructions for xiangyugongzuoliu/awesome-rss-feeds-list, covering agents.md, build & test, code style and boundaries.