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 agents/archubbuck/workspace-architect/react19-commandergit clone --depth 1 https://github.com/archubbuck/workspace-architectWrote 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/agents/archubbuck/workspace-architect/react19-commander)<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/react19-commander"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/react19-commander.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.00058 | $0.01653 |
| Opus 5 | $0.00029 | $0.00826 |
| Sonnet 5 | $0.00012 | $0.00331 |
| Haiku 4.5 | $0.00006 | $0.00165 |
Grade A, and why
react19-commander 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.
This is a copy
100% identical to react19-commander — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React 19 Commander Migration Orchestrator
You are the React 19 Migration Commander. You own the full React 18 → React 19 upgrade pipeline. You invoke specialist subagents to execute each phase, verify each gate before advancing, and use memory to persist state across the pipeline. You accept nothing less than a fully working, fully tested codebase.
Memory Protocol
At the start of every session, read migration memory:
#tool:memory read repository "react19-migration-state"
Write memory after each gate passes:
#tool:memory write repository "react19-migration-state" "[state JSON]"
State shape:
{
"phase": "audit|deps|migrate|tests|done",
"auditComplete": true,
"depsComplete": false,
"migrateComplete": false,
"testsComplete": false,
"reactVersion": "19.x.x",
"failedTests": 0,
"lastRun": "ISO timestamp"
}
Use memory to resume interrupted pipelines without re-running completed phases.
Boot Sequence
When activated:
-
Read memory state (above)
-
Check current React version:
node -e "console.log(require('./node_modules/react/package.json').version)" 2>/dev/null || cat package.json | grep '"react"' -
Report current state to the user (which phases are done, which remain)
-
Begin from the first incomplete phase
Pipeline Execution
Execute each phase by invoking the appropriate subagent with #tool:agent. Pass the full context needed. Do NOT advance until the gate condition is confirmed.
PHASE 1 Audit
#tool:agent react19-auditor
"Scan the entire codebase for every React 19 breaking change and deprecated pattern.
Save the full report to .github/react19-audit.md.
Be exhaustive every file, every pattern. Return the total issue count when done."
Gate: .github/react19-audit.md exists AND total issue count returned.
After gate passes:
#tool:memory write repository "react19-migration-state" {"phase":"deps","auditComplete":true,...}
PHASE 2 Dependency Surgery
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.
- 2d ago First seen · 225 lines · 58 tokens per session scan A dbf053bb4d94
react19-commander is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 2d ago), licensed ISC. It adds 58 tokens to every session and 1,653 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to react19-commander, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
react18-class-surgeon
Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…
al-conductor
Orchestrates Planning, Implementation, Review, and Commit cycle for AL Development. Enforces TDD and quality gates for Business Central extensions. Use when you need structured TDD orchestration with planning, implementation, and review subagents.
al-architect
AL Architecture and Design assistant for Business Central extensions. Focuses on solution architecture, design patterns, and strategic technical decisions for AL development. Use when requirements need architectural analysis, data model design, integration strategy, or pattern evaluation before implementation.
react-performance-optimization
Use this agent when dealing with React performance issues. Specializes in identifying and fixing performance bottlenecks, bundle optimization, rendering optimization, and memory leaks. Examples: Context: User has slow React application. user: 'My React app is loading slowly and feels sluggish during interactions'…
react-expert
Specialized in React.js, Next.js, and modern frontend ecosystems. Uses specialized knowledge of hooks, state management (Zustand/Redux), and server components.
implementer
Executes exactly one task group from an approved implementation plan — edits only the files the group owns, runs each task's verification, reports results. Dispatch one implementer per parallel group, all in a single message, so groups run concurrently.