workflow-node-setup

A guide for configuring and checking React Flow workflow nodes, which are visual boxes connected by draggable lines in a workflow editor. It covers connection handles, edge identifiers, resizing, dragging, and scrolling.

In plain words
What is it for?
Use it when editing custom React Flow nodes, connection points, edge styles or identifiers, resizing behavior, drag areas, or scrollable node content.
Why use it?
It helps prevent broken connections and canvas interactions, including errors caused when an edge points to a handle that the node does not render.

Skill for Claude CodeCodex

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 skills/johnwayneeee/ai-agent-skills/workflow-node-setup
Any agent
npx skills add JohnWayneeee/ai-agent-skills --skill workflow-node-setup
Clone the repo
git clone --depth 1 https://github.com/JohnWayneeee/ai-agent-skills

Made for: Claude Code, Codex.

Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,251 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.00059 $0.01251
Opus 5 $0.00030 $0.00626
Sonnet 5 $0.00012 $0.00250
Haiku 4.5 $0.00006 $0.00125

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

Security

Grade A, and why

workflow-node-setup 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.

skills/workflow-node-setup/SKILL.md · 134 lines

How it starts

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

Workflow Node Setup

Use this skill to tune React Flow workflow nodes without breaking React Flow semantics or the existing canvas interaction model.

Workflow

  1. Inspect the current node, shared helpers, and flow model before editing.
  2. Prefer shared project primitives over custom local handle styling.
  3. Keep React Flow ids synchronized. Every edge sourceHandle and targetHandle must match an actual rendered Handle id. React Flow error #008 means the edge references a missing handle.
  4. Make visual changes in the narrowest place:
    • Node content/layout belongs in the node component.
    • Node dimensions, positions, edge handle ids, and edge visual style belong in the flow model.
    • Canvas behavior belongs in the canvas component.
  5. Verify with both static checks and browser sanity checks before finishing.

Handles

  • Use a shared WorkflowHandle component for standard handles when available. Do not hand-roll Handle styling unless a node truly needs a different visual system.
  • For multi-channel nodes, render multiple handles with distinct ids:
<WorkflowHandle
  id="source-preview-test-case"
  type="source"
  position="right"
  style={{ top: 85 }}
/>
<WorkflowHandle
  id="source-style"
  type="source"
  position="right"
  style={{ top: 108 }}
/>
  • Keep handles outside clipped content where possible. Root node should generally stay relative and not clip handles; use an inner shell for rounded overflow-hidden.
  • For incoming edges, preserve target-left unless the product explicitly needs multiple target channels.
  • Align handles to meaningful content rows, but keep ids stable after edges point to them.

Edges

  • Use explicit sourceHandle and targetHandle in edge definitions.
  • For muted dashed connections, use React Flow edge style:
const WORKFLOW_EDGE_STYLE = {
  stroke: "rgba(145, 147, 151, 0.72)",
  strokeDasharray: "9 9",
  strokeWidth: 2,
};
  • Remove markerEnd when the design calls for plain dashed lines without arrows.
  • If only one node needs a different edge style, create a separate edge style constant instead of changing all edges.

Read the full file on GitHub · 134 lines

Files

What ships with it

1 file 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.

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 · 134 lines · 59 tokens per session scan A e0d590897fee

Subscribe to this mod's changes

workflow-node-setup is a skill published in the GitHub repository JohnWayneeee/ai-agent-skills (1 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 1,251 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-08-31.

Related

Other skills, from other repositories

raycast

Comprehensive operational skill specification for Anthropic Claude to automate, script, troubleshoot, and optimize Raycast, React/TypeScript Extension API (@raycast/api), Script Commands, and URL schemes.

alivirgo/Major-AI-Skills · 42 tokens

create-code-app

Creates Power Apps code apps using React and Vite. Use when building code apps, scaffolding projects, or deploying to Power Platform.

microsoft/power-platform-skills · 31 tokens

cross-border-ecommerce

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides…

nexscope-ai/eCommerce-Skills · 106 tokens

ecommerce-email-marketing-builder

E-commerce email marketing system builder. Creates complete email automation flows with full copywriting, subject lines, ESP setup instructions, segmentation rules, and annual campaign calendars. Generates copy-paste-ready email sequences for Klaviyo, Omnisend, Mailchimp, or any ESP. Covers welcome series, cart…

nexscope-ai/eCommerce-Skills · 159 tokens

ecommerce-growth-strategy

E-commerce growth strategy advisor. Diagnoses current business health using unit economics (CAC, LTV, AOV, contribution margin), identifies the highest-impact growth opportunities across 5 levers (traffic, conversion, AOV, retention, expansion), and builds a prioritized 90-day growth roadmap. Uses the Ansoff Matrix…

nexscope-ai/eCommerce-Skills · 175 tokens

ecommerce-ppc-strategy-planner

Cross-platform PPC strategy planner for ecommerce businesses. Analyzes your product and margins, recommends the right advertising platforms (Google Ads, Meta Ads, TikTok Ads), calculates ROAS targets, allocates budget across channels, and generates platform-specific campaign briefs with ad copy and creative direction.…

nexscope-ai/eCommerce-Skills · 122 tokens