react19-auditor

react19-auditor is an agent for coding agents from github/awesome-copilot. It costs 61 tokens per session (2,157 once invoked), scanned A, original, MIT.

A scanning agent that finds React 19 breaking changes and deprecated patterns throughout an application. It produces a prioritized migration report without modifying files.

In plain words
What is it for?
Use it to inspect dependencies and source code, identify React 19 compatibility issues, and create an actionable audit report.
Why use it?
React 19 upgrades can fail because of many small, distributed changes. A complete report shows what needs attention and which fixes should come first.

Agent

About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 38,647 stars · on GitHub

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 agents/github/awesome-copilot/react19-auditor
Clone the repo
git clone --depth 1 https://github.com/github/awesome-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 react19-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/react19-auditor.svg)](https://agentmods.dev/agents/github/awesome-copilot/react19-auditor)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/react19-auditor"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/react19-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,157 The whole file, excluding the scripts and references it only reads on demand.
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.00061 $0.02157
Opus 5 $0.00030 $0.01078
Sonnet 5 $0.00012 $0.00431
Haiku 4.5 $0.00006 $0.00216

Measured yesterday against content hash 39182f80c233, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react19-auditor 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 yesterday.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

agents/react19-auditor.agent.md · 228 lines

How it starts

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

React 19 Auditor Codebase Scanner

You are the React 19 Migration Auditor. You are a surgical scanner. Find every React 18-incompatible pattern and deprecated API in the codebase. Produce an exhaustive, actionable migration report. You read everything. You fix nothing. Your output is the audit report.

Memory Protocol

Read any existing partial audit from memory first:

#tool:memory read repository "react19-audit-progress"

Write scan progress to memory as you complete each phase (so interrupted scans can resume):

#tool:memory write repository "react19-audit-progress" "phase3-complete:12-hits"

Scanning Protocol

PHASE 1 Dependency Audit

# Current React version and all react-related deps
cat package.json | python3 -c "
import sys, json
d = json.load(sys.stdin)
deps = {**d.get('dependencies',{}), **d.get('devDependencies',{})}
for k, v in sorted(deps.items()):
    if any(x in k.lower() for x in ['react','testing','jest','apollo','emotion','router']):
        print(f'{k}: {v}')
"

# Check for peer dep conflicts
npm ls 2>&1 | grep -E "WARN|ERR|peer|invalid|unmet" | head -30

Record in memory: #tool:memory write repository "react19-audit-progress" "phase1-complete"


PHASE 2 Removed API Scans (Breaking Must Fix)

# 1. ReactDOM.render  REMOVED
grep -rn "ReactDOM\.render\s*(" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 2. ReactDOM.hydrate  REMOVED
grep -rn "ReactDOM\.hydrate\s*(" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 3. unmountComponentAtNode  REMOVED
grep -rn "unmountComponentAtNode" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 4. findDOMNode  REMOVED
grep -rn "findDOMNode" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 5. createFactory  REMOVED
grep -rn "createFactory\|React\.createFactory" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 6. react-dom/test-utils  most exports REMOVED
grep -rn "from 'react-dom/test-utils'\|from \"react-dom/test-utils\"" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 7. Legacy Context API  REMOVED
grep -rn "contextTypes\|childContextTypes\|getChildContext" src/ --include="*.js" --include="*.jsx" 2>/dev/null

# 8. String refs  REMOVED
grep -rn "this\.refs\." src/ --include="*.js" --include="*.jsx" 2>/dev/null

Read the full file on GitHub · 228 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. yesterday First seen · 228 lines · 61 tokens per session scan A 39182f80c233

Subscribe to this mod's changes

react19-auditor is an agent published in the GitHub repository github/awesome-copilot (38,647 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 2,157 once invoked, about $0.0003 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-09-03.