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.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.svg" alt="Measured on agentmods" 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 $0.00020 $0.00222
Sonnet 5 $0.00008 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured 8d ago against content hash 8488c6ac2cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 (32 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. 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.

Related

Other skills, from other repositories

dependency-manager

Safely resolve and install isolated dependencies for isolated sandboxes (PoC execution).

gemini-cli-extensions/security · 19 tokens

wrapup

Wrap up and save the current session summary to the session log. Use at end of session when the user says 'bye', 'wrap up', 'save session', or an end-of-session signal is detected. /wrapup writes to 07-logs/ only. Do NOT use for: promoting insights to memory/ (use recap), synthesizing a topic across sessions (use…

onebrain-ai/onebrain · 91 tokens

onboarding

First-run setup for OneBrain : personalize identity, communication style, and vault configuration. Use only on first install or when the user wants to fully reconfigure OneBrain from scratch — manual only. Do NOT use for: teaching a single preference (use learn), updating system files (use update), or reviewing memory…

onebrain-ai/onebrain · 70 tokens

consolidate

Review inbox and recent notes, synthesize and merge into the knowledge base. Use when the user wants to process, organize, or clear the inbox regardless of topic — 'clean up my inbox', 'process my notes'. Do NOT use for: capturing new information now (use capture or braindump), synthesizing already-vaulted notes on a…

onebrain-ai/onebrain · 95 tokens

distill

Aggregate already-vaulted notes from multiple sessions or sources on a specific topic into a single structured digest note. Use when the user wants to synthesize a completed research thread — 'distill everything I know about X', 'crystallize my notes on Y'. Do NOT use for: promoting session insights to memory (use…

onebrain-ai/onebrain · 98 tokens

import

Import local files (PDF, Word, PowerPoint, Excel, images, video, scripts) from a staging inbox folder or explicit path into structured markdown notes in the resources folder. Invoke when user mentions a local file path to bring into the vault, or runs /import or /import --attach. Do NOT use for: fetching content from…

onebrain-ai/onebrain · 96 tokens