workflow-node-module

A guide for creating and changing workflow node types. A workflow node is one step in an automated process, and the guide covers both its runtime behavior and its editor interface.

In plain words
What is it for?
Use it to add or modify a workflow step, including its fields, executor, palette entry, inspector, and registration.
Why use it?
It helps keep the node's shared data definition, execution code, and visual editor in sync.

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

Made for: Claude Code, Codex.

Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,418 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.00132 $0.08418
Opus 5 $0.00066 $0.04209
Sonnet 5 $0.00026 $0.01684
Haiku 4.5 $0.00013 $0.00842

Measured yesterday against content hash c4a967c12fde, 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-module 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 yesterday.

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/skills/workflow-node-module/SKILL.md · 619 lines

How it starts

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

Workflow Node Module — wick core

Activate this skill whenever the user touches a workflow node type — creating, improving, fixing, or adding fields. When editing an existing node, audit it against the rules below and bring it up to spec as part of the change.

Mental model

A node has two halves that share one schema:

Half Lives in Touches
Engine (executor) internal/agents/workflow/nodes/<type>.go runtime — receives workflow.Node, returns NodeOutput
UI plugin module (palette + inspector) internal/tools/agents/workflow/nodes/<type>/ canvas — palette entry, drawflow codec, inspector partial, JS module

The shared schema struct (exported type, e.g. HTTPSchema) lives in the engine package and is reflected by both:

  • engine Descriptor().Schemaintegration.StructSchema(HTTPSchema{}) → MCP workflow_node_types
  • UI inspector partial → entity.StructToConfigs(HTTPSchema{})wfview.ArgForm(rows) → editor HTML

Adding a new node type touches:

  1. internal/agents/workflow/types.goNodeType constant + flat Node struct fields
  2. internal/agents/workflow/nodes/<type>.go — executor + exported schema struct + Descriptor()
  3. internal/agents/workflow/setup/manager.go — one eng.Register line
  4. internal/tools/agents/workflow/nodes/<type>/meta.go — palette + codec module
  5. internal/tools/agents/workflow/nodes/<type>/inspector.templ — inspector partial (one-liner that calls ArgForm)
  6. internal/tools/agents/workflow/nodes/<type>/inspector.js — hydrate/save glue
  7. internal/tools/agents/workflow/nodes/all/all.go — blank import the new subpackage
  8. internal/tools/agents/workflow/nodes/static.go — extend //go:embed all:<type> for the JS file

The catalog flow:

eng.Register(workflow.NodeFoo, nodes.NewFooExecutor())
  → engine.Register checks if executor implements engine.Describer
  → calls Descriptor() → stores engine.NodeDescriptor in Engine.Descriptors[t]
  → mcp.NodeTypesCatalog(eng) builds workflow_node_types response from Descriptors map

Read the full file on GitHub · 619 lines

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. yesterday First seen · 619 lines · 132 tokens per session scan A c4a967c12fde

Subscribe to this mod's changes

workflow-node-module is a skill published in the GitHub repository yogasw/wick (5 stars, last pushed 4d ago), licensed MIT. It adds 132 tokens to every session and 8,418 once invoked, about $0.0007 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.