workflow-helpers

workflow-helpers is a skill for Claude Code, Codex from anatolykoptev/n8n-mcp-agent. It costs 31 tokens per session (1,685 once invoked), scanned A, original, MIT.

A set of helpers for managing n8n workflows, which are automated sequences of connected steps. It can inspect, copy, modify, and create workflows with triggers.

In plain words
What is it for?
Use it to retrieve webhook URLs and methods, duplicate workflows, strip credentials, add nodes, create trigger-based workflows, and view workflow statistics.
Why use it?
It removes repetitive workflow-maintenance tasks and can remove credentials when making a workflow copy for sharing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve webhook URLs and methods, duplicate workflows, strip credentials, add nodes, create trigger-based workflows, and view workflow statistics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anatolykoptev/n8n-mcp-agent/workflow-helpers
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 anatolykoptev/n8n-mcp-agent --skill workflow-helpers
Clone the repo
git clone --depth 1 https://github.com/anatolykoptev/n8n-mcp-agent

Made for: Claude Code, Codex.

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 workflow-helpers

README.md
[![agentmods](https://agentmods.dev/badge/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers/github.svg)](https://agentmods.dev/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers)
Your own site
<a href="https://agentmods.dev/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers"><img src="https://agentmods.dev/badge/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers/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 workflow-helpers

Your own site · 80×15
<a href="https://agentmods.dev/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers"><img src="https://agentmods.dev/badge/skills/anatolykoptev/n8n-mcp-agent/workflow-helpers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,685 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 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.1 $0.00031 $0.01685
Opus 5 $0.00015 $0.00843
Sonnet 5 $0.00006 $0.00337
Haiku 4.5 $0.00003 $0.00169

Measured 11d ago against content hash cb406b9222f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

workflow-helpers 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 11d 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-helpers/SKILL.md · 299 lines

How it starts

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

Workflow Helpers Skill

This skill provides advanced workflow manipulation capabilities for n8n.

When to Use

  • Getting webhook URLs from workflows
  • Duplicating workflows (with credential stripping for sharing)
  • Adding nodes to existing workflows
  • Creating workflows with specific triggers
  • Getting workflow statistics

Core Methods

Get Webhook URL

Extract the webhook URL from a workflow:

const result = await workflowHelper.getWebhookUrl(workflowId)

Result:

interface WebhookUrlResult {
  success: boolean
  url?: string      // Full webhook URL
  path?: string     // Webhook path
  method?: string   // HTTP method (GET, POST, etc.)
  error?: string
}

Example:

const webhook = await workflowHelper.getWebhookUrl('123')

if (webhook.success) {
  console.log(`URL: ${webhook.url}`)
  // https://n8n.example.com/webhook/my-path
  console.log(`Method: ${webhook.method}`)
  // POST
}

Duplicate Workflow

Create a copy of a workflow, optionally stripping credentials:

const result = await workflowHelper.duplicate(
  sourceId,         // Source workflow ID
  newName,          // Name for the copy
  stripCredentials  // Remove credentials (default: true)
)

Result:

interface DuplicateResult {
  success: boolean
  workflowId?: string   // New workflow ID
  name?: string
  error?: string
}

Example:

// Create shareable copy (no credentials)
const copy = await workflowHelper.duplicate('123', 'My Workflow - Copy', true)

if (copy.success) {
  console.log(`Created workflow: ${copy.workflowId}`)
}

// Create working copy (keep credentials)
const workingCopy = await workflowHelper.duplicate('123', 'My Workflow - Dev', false)

Add Node to Workflow

Add a new node to an existing workflow:

const result = await workflowHelper.addNode(workflowId, {
  name: 'My Node',
  type: 'n8n-nodes-base.httpRequest',
  position: [450, 300],
  parameters: {
    url: 'https://api.example.com',
    method: 'GET'
  },
  credentials: {
    httpHeaderAuth: { id: 'cred-id', name: 'My Auth' }
  }
})

Read the full file on GitHub · 299 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. 11d ago First seen · 299 lines · 31 tokens per session scan A cb406b9222f6

Subscribe to this mod's changes

workflow-helpers is a skill published in the GitHub repository anatolykoptev/n8n-mcp-agent (0 stars, last pushed 6mo ago), licensed MIT. It adds 31 tokens to every session and 1,685 once invoked, about $0.0002 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

n8n-mcp-tools-expert

Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, organizing workflows into folders, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats…

czlonkowski/n8n-mcp · 135 tokens

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain. AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output…

czlonkowski/n8n-mcp · 156 tokens

n8n-code-tool

Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema…

czlonkowski/n8n-mcp · 221 tokens

n8n-error-handling

Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error…

czlonkowski/n8n-mcp · 128 tokens

n8n-expression-syntax

Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from…

czlonkowski/n8n-mcp · 104 tokens

n8n-node-configuration

Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between getnode detail levels, or learning common configuration patterns by node type. Always use this skill when setting up node parameters — it explains which fields are…

czlonkowski/n8n-mcp · 84 tokens