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 skills add existential-birds/beagle --skill react-flow-code-reviewgit clone --depth 1 https://github.com/existential-birds/beagleWrote 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/skills/existential-birds/beagle/react-flow-code-review)<a href="https://agentmods.dev/skills/existential-birds/beagle/react-flow-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow-code-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/existential-birds/beagle/react-flow-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow-code-review.svg" alt="Reviewed on agentmods" width="80" 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.00057 | $0.01942 |
| Opus 5.5 | $0.00023 | $0.00777 |
| Sonnet 5.5 | $0.00011 | $0.00388 |
| Haiku 4.5 | $0.00006 | $0.00194 |
Grade A, and why
react-flow-code-review 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.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Flow Code Review
When reviewing React Flow (@xyflow/react v12/v13) code, complete the gates below in order. Each step has an objective pass condition before moving on.
Review Gates (Sequenced)
- Locate flow code — Search the review scope for
@xyflow/react,ReactFlow,ReactFlowProvider,useReactFlow,nodeTypes,edgeTypes, and@dagrejs/dagre. Pass: a list of file paths (or explicit "none in scope"). - Provider & container boundary — For each
useReactFlow(),useNodesData(),useNodeConnections(), or store hook, trace the component tree to an enclosing<ReactFlowProvider>(or<ReactFlow />). Confirm the flow wrapper has explicit height/width and styles are imported. Pass: provider + container verified or concrete mismatch cited with file:line. - Stable types, memoization & subscriptions — Confirm
nodeTypes/edgeTypesare defined outside render or memoized, custom nodes/edges usememo()and typedNodeProps<T>/EdgeProps<T>, and components avoid subscribing to fullnodes/edgesarrays when targeted hooks suffice. Pass: stability and subscriptions verified or traps cited with file:line. - Report with evidence — For each finding you deliver, record file path and line number(s) (plus a minimal quoted snippet). Pass: no critical or high-severity issue is stated without that citation.
- Close the checklists — Verify Critical Anti-Patterns, v12 / v13, SSR & Layout Checks, and Performance Checklist; mark each area satisfied, not applicable (with reason), or open with evidence.
Critical Anti-Patterns
1. Defining nodeTypes / edgeTypes Inside Components
Recreates the object reference on every render, causing React Flow to unmount and remount every node/edge.
// BAD - recreates object every render
function Flow() {
const nodeTypes = { custom: CustomNode };
return <ReactFlow nodeTypes={nodeTypes} />;
}
// GOOD - module scope (or useMemo with stable deps)
const nodeTypes = { custom: CustomNode };
function Flow() {
return <ReactFlow nodeTypes={nodeTypes} />;
}
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.
- 4d ago Changed · -154 lines · +13 tokens per session deb729e85e7e
- 2mo ago First seen · 239 lines · 44 tokens per session scan A c44eb0cec108
react-flow-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,942 once invoked, about $0.0002 per session on Opus 5.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-16.
react-flow-code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-flow-code-reviewexistential-birds/beagle | Skill | 91 | 4d ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| code-changesJanDeDobbeleer/oh-my-posh | Skill | 24k | 4d ago | MIT | A | 48 | Claude Code, Codex |
| printing-press-output-reviewmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 102 | Claude Code |
| establishing-code-ownershipPostHog/posthog | Skill | 41k | today | none | A | 94 | Claude Code, Codex |
| extending-hobby-smoke-testsPostHog/posthog | Skill | 41k | today | none | A | 83 | Claude Code, Codex |
| react-doctorPostHog/posthog | Skill | 41k | today | none | A | 32 | Claude Code, Codex |
| functions-developmentCrowdStrike/foundry-skills | Skill | 38 | 10d ago | MIT | A | 195 | Claude Code |