react-flow-skill CLAUDE.md

A Claude Code skill that provides guidance for building node-based user interfaces with React Flow, a library for connecting visual nodes and edges.

In plain words
What is it for?
It covers React Flow fundamentals, custom nodes and edges, state, layouts, TypeScript, performance, testing, troubleshooting, and common recipes.
Why use it?
It gives the coding agent organized advice for common React Flow tasks instead of requiring all guidance to fit in one general instruction file.

Instructions file

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 instructions/framara/react-flow-skill/claude-md
Clone the repo
git clone --depth 1 https://github.com/framara/react-flow-skill
Per session 352 This file is loaded in full into every session.
When invoked 352 The same file — it is already loaded in full.
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.00352 $0.00352
Opus 5 $0.00176 $0.00176
Sonnet 5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

Measured 2d ago against content hash 5166b551d3fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react-flow-skill CLAUDE.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 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.

CLAUDE.md · 20 lines

What it actually says

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Repo Is

This is a Claude Code skill (not an application). It provides expert React Flow (@xyflow/react v12+) guidance that Claude Code uses automatically when helping users build node-based UIs. The skill is installed via npx skills add framara/react-flow-skill.

Repository Structure

  • SKILL.md — The skill definition file. Contains the agent behavior contract (12 rules), triage template, routing map, common pitfalls, and verification checklist. This is the entry point Claude Code reads when the skill activates.
  • references/ — 14 topic-specific reference files that SKILL.md routes to based on user needs (migration, fundamentals, custom nodes/edges, state management, layouting, TypeScript, performance, troubleshooting, E2E testing, advanced patterns, common recipes, etc.)
  • No build system, tests, or application code — this repo is purely markdown-based reference content.

Editing Guidelines

  • SKILL.md is the contract: Any behavioral rules, pitfall patterns, or verification steps belong here. Keep it concise — it's loaded into context on every activation.
  • References are the depth: Detailed code examples, API patterns, and implementation guides go in references/*.md. SKILL.md's routing map must stay in sync with reference file contents.
  • When adding a new reference topic: create references/<topic>.md, add a routing entry in SKILL.md's "Routing map" section, and list it in SKILL.md's "References" section and README.md's feature list.
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. 2d ago First seen · 20 lines · 352 tokens per session scan A 5166b551d3fa

Subscribe to this mod's changes

react-flow-skill CLAUDE.md is an instructions file published in the GitHub repository framara/react-flow-skill (47 stars, last pushed 1mo ago), licensed MIT. It adds 352 tokens to every session, about $0.0018 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-30.