Agent skill

Add Workflow Node Type

by takeshy in takeshy/obsidian-gemini-helper

Guides the agent through every file that must change to register a new node type in the Obsidian Gemini Helper workflow engine, then through lint and build checks.

MITAuto-check: notesDevelopment

Install Add Workflow Node Type

skills CLI
$ npx skills add takeshy/obsidian-gemini-helper --skill add-workflow-node -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install takeshy/obsidian-gemini-helper add-workflow-node --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/takeshy/obsidian-gemini-helper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-workflow-node .claude/skills/add-workflow-node && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-workflow-node
GitHub stars
117
Token cost
~450 tokens
SKILL.md length
185 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Guides the agent through every file that must change to register a new node type in the Obsidian Gemini Helper workflow engine, then through lint and build checks.

  • Works in 6 steps: src/workflow/types.ts → src/workflow/workflowSpec.ts → src/workflow/nodeHandlers.ts → …
  • Adding a new command node to the workflow engine
  • SKILL.md covers Required File Changes (ALL… and Verification
  • Calls npm

What it does

You give the skill the name of a new node type and the agent adds it to the plugin's workflow engine. It follows an ordered checklist of six places: the type definitions in `src/workflow/types.ts`, the workflow spec used for AI workflow generation, the node handlers, the executor's switch statement, the workflow panel, and the node editor modal.

Each step says what goes wrong if it is skipped. Forgetting the type set makes nodes vanish during parsing, and forgetting the executor case makes node execution fail without any error. The panel and editor steps add the display label, default property values, a summary line for the node list and the editor fields. At the end the agent runs `npm run lint` and `npm run build`, then reads through the files to confirm the new name is used consistently.

When your agent uses it

  • Adding a new command node to the workflow engine
  • Adding an integration node that talks to an outside service from a workflow
  • Adding a control flow node and making sure the editor and executor both know it

Example prompts

  • “Add a workflow node type called http-request to the plugin.”
  • “Implement a new delay node for the workflow engine and wire it into the editor modal.”
  • “I need a control flow node named loop-until. Register it everywhere workflow node types are listed.”

Requirements

  • The plugin source repository checked out
  • npm scripts for lint and build
  • Pre-approved tools (allowed-tools): Read, Edit, Write, Grep, Glob, Bash

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. src/workflow/types.ts
  2. src/workflow/workflowSpec.ts
  3. src/workflow/nodeHandlers.ts
  4. src/workflow/executor.ts
  5. src/ui/components/workflow/WorkflowPanel.tsx
  6. src/ui/components/workflow/NodeEditorModal.ts

What it can do on your machine

Read from SKILL.md and the folder at commit 0e2b8d0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Write
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Workflow Node Type loads about 450 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 185 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~450

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Edit, Write, Grep, Glob, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from takeshy/obsidian-gemini-helper at commit 0e2b8d0, republished under its MIT licence (© takeshy). 185 words, ~450 tokens.

Download SKILL.mdSave it as .claude/skills/add-workflow-node/SKILL.md (or your agent's skills folder).
name
add-workflow-node
description
Add a new workflow node type to the plugin. Use when implementing a new node type for the workflow engine (e.g., new command, integration, or control flow node).
allowed-tools
Read, Edit, Write, Grep, Glob, Bash
argument-hint
[node-type-name]
disable-model-invocation
true

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

© takeshy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/add-workflow-node of takeshy/obsidian-gemini-helper.

Open the folder on GitHubat commit 0e2b8d0

Compare with similar skills

Add Workflow Node Type next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Workflow Node Type compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Workflow Node Type this skilltakeshy/obsidian-gemini-helper117—~450Automated safety check: NotesMIT
Obsidian Plugin Development Guidelinesgapmiss/obsidian-plugin-skill190—~4.5kAutomated safety check: PassMIT
Code Reviewpolyipseity/obsidian-terminal948—~1.6kAutomated safety check: PassAGPL-3.0
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
JSON Canvasheyitsnoah/claudesidian2.6k18 repos~3.5kAutomated safety check: PassMIT
Warp Factory Fileswarpdotdev/warp65k1 repos~2.5kAutomated safety check: PassAGPL-3.0

Similar skills

  • Obsidian Plugin Development Guidelines

    gapmiss/obsidian-plugin-skill

    Rules and references for building Obsidian plugins: ESLint rules, TypeScript practices, memory cleanup, API choices, UI standards and the community submission process.

    190 GitHub stars~4.5k tokensUpdated 12 days ago
    DevelopmentAuto-check passed
  • Code Review

    polyipseity/obsidian-terminal

    A skill your agent uses when reviewing PRs, code changes, or conducting code audits in obsidian-terminal.

    948 GitHub stars~1.6k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • JSON Canvas

    heyitsnoah/claudesidian

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections.

    2.6k GitHub starsUsed in 18 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Warp Factory Files

    warpdotdev/warp

    Authors and edits file-based Warp software factory definitions rooted at factory.yaml, covering agents, automations, scorers and webhooks, and validates them before a pull request.

    65k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed

More from takeshy/obsidian-gemini-helper

  • Gemini API Best Practices

    takeshy/obsidian-gemini-helper

    Reviews and corrects Gemini API integration code against Google's published practices, covering SDK choice, safety settings, finishReason checks, tools, streaming and thinking.

    117 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Add Tool

    takeshy/obsidian-gemini-helper

    Add a new function calling tool (vault operation) for the Gemini chat.

    117 GitHub stars~468 tokensUpdated today
    Auto-check: notes

Categories

Questions about Add Workflow Node Type

What does Add Workflow Node Type do?

Guides the agent through every file that must change to register a new node type in the Obsidian Gemini Helper workflow engine, then through lint and build checks. You give the skill the name of a new node type and the agent adds it to the plugin's workflow engine.ts`, the workflow spec used for AI workflow generation, the node handlers, the executor's switch statement, the workflow panel, and the node editor modal.

When should I use Add Workflow Node Type?

Add Workflow Node Type fits situations like: adding a new command node to the workflow engine; adding an integration node that talks to an outside service from a workflow; adding a control flow node and making sure the editor and executor both know it.

How do I install Add Workflow Node Type in Claude Code?

Run `npx skills add takeshy/obsidian-gemini-helper --skill add-workflow-node -a claude-code`. Or copy the skill folder (.agents/skills/add-workflow-node in takeshy/obsidian-gemini-helper) into .claude/skills/add-workflow-node in your project. Claude Code loads it when a task matches its description.

How do I install Add Workflow Node Type in Codex?

Run `npx skills add takeshy/obsidian-gemini-helper --skill add-workflow-node -a codex`. Or copy the skill folder (.agents/skills/add-workflow-node in takeshy/obsidian-gemini-helper) into .agents/skills/add-workflow-node in your project. Codex loads it when a task matches its description.

Can I use Add Workflow Node Type in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add takeshy/obsidian-gemini-helper --skill add-workflow-node -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-workflow-node, .gemini/skills/add-workflow-node, .github/skills/add-workflow-node and .opencode/skills/add-workflow-node in your project.

What does Add Workflow Node Type need to run?

Going by SKILL.md and its folder, Add Workflow Node Type needs the command-line tools its instructions call (npm). Our summary lists: The plugin source repository checked out; npm scripts for lint and build. Its frontmatter pre-approves these tools: Read, Edit, Write, Grep, Glob, Bash.

Does Add Workflow Node Type access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Workflow Node Type safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Add Workflow Node Type use?

Add Workflow Node Type is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Workflow Node Type use?

About 450 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Workflow Node Type?

Skills that share tags, products or a category with Add Workflow Node Type: Obsidian Plugin Development Guidelines (gapmiss/obsidian-plugin-skill, 190 stars), Code Review (polyipseity/obsidian-terminal, 948 stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and JSON Canvas (heyitsnoah/claudesidian, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Workflow Node Type?

takeshy (a GitHub user) maintains it in takeshy/obsidian-gemini-helper, which has 117 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.

Source: takeshy/obsidian-gemini-helper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.