add-workflow-node

add-workflow-node is a skill for Claude Code from takeshy/obsidian-llm-hub. It costs 40 tokens per session (445 once invoked), scanned A, a copy of add-workflow-node, MIT.

A checklist for adding a new kind of step to a plugin's visual workflow engine, including its code, execution, documentation, and editor entries.

In plain words
What is it for?
Use it when adding a command, external integration, or control-flow step to the workflow engine and updating the related TypeScript and interface files.
Why use it?
It prevents the new step from appearing in one part of the system but being ignored, skipped, or unable to run elsewhere.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when adding a command, external integration, or control-flow step to the workflow engine and updating the related TypeScript and interface files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/takeshy/obsidian-llm-hub/add-workflow-node
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.

Any agent
npx skills add takeshy/obsidian-llm-hub --skill add-workflow-node
Clone the repo
git clone --depth 1 https://github.com/takeshy/obsidian-llm-hub

Made for: Claude Code.

Wrote 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.

agentmods badge for add-workflow-node

README.md
[![agentmods](https://agentmods.dev/badge/skills/takeshy/obsidian-llm-hub/add-workflow-node/github.svg)](https://agentmods.dev/skills/takeshy/obsidian-llm-hub/add-workflow-node)
Your own site
<a href="https://agentmods.dev/skills/takeshy/obsidian-llm-hub/add-workflow-node"><img src="https://agentmods.dev/badge/skills/takeshy/obsidian-llm-hub/add-workflow-node/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.

agentmods 80×15 button for add-workflow-node

Your own site · 80×15
<a href="https://agentmods.dev/skills/takeshy/obsidian-llm-hub/add-workflow-node"><img src="https://agentmods.dev/badge/skills/takeshy/obsidian-llm-hub/add-workflow-node.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00040 $0.00445
Opus 5.5 $0.00016 $0.00178
Sonnet 5.5 $0.00008 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured 1mo ago against content hash 8488c6ac2cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-workflow-node 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 1mo 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.

Origin

This is a copy

100% identical to add-workflow-node — 0 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.

.claude/skills/add-workflow-node/SKILL.md · 49 lines

What it actually says

Add New Workflow Node Type

Add a new workflow node type called $ARGUMENTS to the plugin.

Required File Changes (ALL must be updated)

Update the following files in order. Missing any file will cause bugs:

1. src/workflow/types.ts

  • Add to WorkflowNodeType union type
  • Add to WORKFLOW_NODE_TYPES Set (single source of truth for isWorkflowNodeType())
  • If forgotten: nodes are skipped during parsing and disappear from visual workflow

2. src/workflow/workflowSpec.ts

  • Add documentation entry for AI workflow generation

3. src/workflow/nodeHandlers.ts

  • Add handle*Node() function with the node's execution logic
  • Export the handler

4. src/workflow/executor.ts

  • Add case in the switch statement to call the handler and log execution
  • If forgotten: node execution fails silently

5. src/ui/components/workflow/WorkflowPanel.tsx

  • Add to NODE_TYPE_LABELS object (display name)
  • Add to ADDABLE_NODE_TYPES array
  • Add to getDefaultProperties() switch (default property values)
  • Add to getNodeSummary() switch (summary text for node list)

6. src/ui/components/workflow/NodeEditorModal.ts

  • Add to NODE_TYPE_LABELS object
  • Add case in renderPropertyFields() switch for editor UI fields

Verification

After implementing all changes:

  1. Run npm run lint to check for errors
  2. Run npm run build to verify compilation
  3. Review each file to ensure the new node type is consistently named
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. 1mo ago First seen · 49 lines · 40 tokens per session scan A 8488c6ac2cb4

Subscribe to this mod's changes

add-workflow-node is a skill published in the GitHub repository takeshy/obsidian-llm-hub (38 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 445 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to add-workflow-node, differing in 0 lines, and is treated as a copy.