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-flowgit 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)<a href="https://agentmods.dev/skills/existential-birds/beagle/react-flow"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow/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"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00066 | $0.02376 |
| Opus 5.5 | $0.00026 | $0.00950 |
| Sonnet 5.5 | $0.00013 | $0.00475 |
| Haiku 4.5 | $0.00007 | $0.00238 |
Grade A, and why
react-flow 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.
This is a copy
88% identical to react-flow — 517 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 — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Flow (@xyflow/react)
Implement interactive node-based graphs and workflow editors using @xyflow/react (v12 and v13, React 18/19).
Implementation Gates
Run these checks in order before treating any integration as complete:
- CSS & container dimensions — Import
@xyflow/react/style.css(v13, wrapped in@layer xyflowfor Tailwind v4 precedence) or@xyflow/react/dist/style.css(v12), and give the wrapper element explicit dimensions (widthandheight). - Stable
nodeTypes/edgeTypes— DefinenodeTypesandedgeTypesat module scope or memoize withuseMemo; never create inline object literals on every render (causes full node/edge remounting). - Provider boundary — Any component calling
useReactFlow(),useNodesData(),useNodeConnections(), or store hooks must be a descendant of<ReactFlowProvider>(or rendered inside<ReactFlow />). - Measured vs SSR dimensions — Read DOM-measured node sizes from
node.measured?.width/node.measured?.height(falling back tonode.width ?? defaultWidth). For SSR/SSG, provide staticwidth/heightorinitialWidth/initialHeighton nodes sofitViewand initial layout work without DOM measurement.
Quick Start & TypeScript Unions
import { useCallback } from 'react';
import {
ReactFlow,
ReactFlowProvider,
Background,
Controls,
useNodesState,
useEdgesState,
addEdge,
type Node,
type Edge,
type BuiltInNode,
type BuiltInEdge,
type OnConnect,
} from '@xyflow/react';
import '@xyflow/react/style.css'; // v13 (@layer xyflow); use '@xyflow/react/dist/style.css' on v12
export type TaskNode = Node<{ label: string; active: boolean }, 'task'>;
export type AppNode = BuiltInNode | TaskNode;
export type WeightedEdge = Edge<{ weight: number }, 'weighted'>;
export type AppEdge = BuiltInEdge | WeightedEdge;
const nodeTypes = { /* task: TaskNodeComponent */ };
const edgeTypes = { /* weighted: WeightedEdgeComponent */ };
const initialNodes: AppNode[] = [
{ id: '1', type: 'input', position: { x: 0, y: 0 }, data: { label: 'Start' } },
{ id: '2', position: { x: 240, y: 80 }, data: { label: 'Process' } },
];
const initialEdges: AppEdge[] = [{ id: 'e1-2', source: '1', target: '2' }];
function FlowCanvas() {
const [nodes, setNodes, onNodesChange] = useNodesState<AppNode>(initialNodes);
const [edges, setEdges, onEdgesChange] = useEdgesState<AppEdge>(initialEdges);
const onConnect: OnConnect = useCallback(
(connection) => setEdges((eds) => addEdge(connection, eds)),
[setEdges]
);
return (
<div style={{ width: '100%', height: '100vh' }}>
<ReactFlow
nodes={nodes}
edges={edges}
nodeTypes={nodeTypes}
edgeTypes={edgeTypes}
onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange}
onConnect={onConnect}
fitView
>
<Background />
<Controls />
</ReactFlow>
</div>
);
}
export default function App() {
return (
<ReactFlowProvider>
<FlowCanvas />
</ReactFlowProvider>
);
}
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · -251 lines · +1 tokens per session 058e97af7fe1
- 2mo ago First seen · 451 lines · 65 tokens per session scan A 3b8630e5037a
react-flow is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 66 tokens to every session and 2,376 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to react-flow, differing in 517 lines, and is treated as a copy.
react-flow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-flowexistential-birds/beagle | Skill | 91 | 4d ago | Apache-2.0 | A | 66 | Claude Code, Codex |
| docs-decisionsComposioHQ/composio | Skill | 31k | today | MIT | A | 72 | Claude Code, Codex |
| bmad-loop-resolvemmornati/leanproxy-mcp | Skill | 5 | yesterday | MIT | A | 97 | Claude Code, Codex |
| code-reviewbestdeejay-design/agent-skills | Skill | 5 | 2mo ago | MIT | A | 159 | Claude Code |
| dev-git-workflowBlueSkyXN/Codex-is-all-you-need | Skill | 22 | 17d ago | GPL-3.0 | A | 57 | Claude Code, Codex |
| karpathy-guidelinesZandereins/schliff | Skill | 18 | yesterday | MIT | A | 46 | Claude Code |
| git-push-workflowaishajv/claude-everything | Skill | 7 | 1mo ago | none | A | 87 | Claude Code |