comfyui-node-authoring

comfyui-node-authoring is a skill for Claude Code from laurigates/claude-plugins. It costs 52 tokens per session (2,431 once invoked), scanned A, original, MIT.

A reference guide for writing ComfyUI custom-node code that works correctly across its browser interface and Python server.

In plain words
What is it for?
It helps build or patch custom nodes, including their interface controls, server endpoints, tooltips, canvas interactions, and source-map checks.
Why use it?
It helps avoid bugs caused by undocumented interface behavior, mismatched browser-to-server requests, and incorrect assumptions about how widgets and events work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { app } from "../../../scripts/app.js";.

Part of the comfyui-plugin plugin — 17 skills shipped together

Good fit It helps build or patch custom nodes, including their interface controls, server endpoints, tooltips, canvas interactions, and source-map checks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins
agentmods
npx agentmods add skills/laurigates/claude-plugins/comfyui-node-authoring

Made for: Claude Code.

Or install comfyui-plugin, the plugin that ships this one along with the rest of its 17 skills.

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 comfyui-node-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfyui-node-authoring/github.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/comfyui-node-authoring)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/comfyui-node-authoring"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfyui-node-authoring/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 comfyui-node-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/comfyui-node-authoring"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfyui-node-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,431 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.02431
Opus 5.5 $0.00021 $0.00972
Sonnet 5.5 $0.00010 $0.00486
Haiku 4.5 $0.00005 $0.00243

Measured 18d ago against content hash 5c82fd7d70bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comfyui-node-authoring 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 18d 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.

comfyui-plugin/skills/comfyui-node-authoring/SKILL.md · 231 lines

How it starts

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

comfyui-node-authoring

Facts about how ComfyUI's frontend and backend actually behave, gathered from reverse-engineering the (minified) frontend bundle and from real bugs that shipped despite green tests. These apply to any custom-node pack regardless of build system — hand-authored web/js/*.js, or a TypeScript+bun-build pack (the layout comfyui-node-scaffold generates).

When to Use This Skill

Use this skill when... Use instead when...
Writing or patching a custom node's frontend or backend code Setting up the pack's release/publish pipeline -> comfy-registry-lifecycle
Verifying an undocumented LiteGraph/Vue API shape Smoke-testing the finished pack live -> comfyui-pack-live-smoke

Pack layout

<pack>/
  __init__.py             # NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS, WEB_DIRECTORY
  <name>.py                # backend node(s) + any /<your>/<endpoint> routes
  web/
    js/<name>.js            # vanilla-JS frontend extension (hand-authored layout)
    css/<name>.css          # NOT auto-loaded — inject a <link> from the JS
  # — or, for a TS+bun-build pack (comfyui-node-scaffold) —
  src/index.ts              # TypeScript source; WEB_DIRECTORY = "./web/dist"
  web/dist/                 # built output, committed

The pack directory name becomes the served URL segment (/extensions/<pack-dir>/...). Keep it lowercase-kebab so the path is predictable.

web/dist ships only in the registry tarball, never a bare git clone, for TS-built packs — it's git-ignored. git clone/nightly installs land main without it (the extension is dead until bun run build runs locally); only a correctly-configured registry publish ships a prebuilt frontend. See comfy-registry-lifecycle for the publish-pipeline traps that can silently break this.

Frontend import paths

From a vanilla web/js/<file>.js, reach the comfy frontend exports with 3 ups:

import { app } from "../../../scripts/app.js";

Two ups (the rgthree convention) only works for files at web/<file>.js.

Read the full file on GitHub · 231 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 18d ago Changed 5c82fd7d70bf
  2. 1mo ago Changed · -204 lines ed9a0aaaa537
  3. 3mo ago First seen · 435 lines · 52 tokens per session scan A c1470113594d

Subscribe to this mod's changes

comfyui-node-authoring is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 2,431 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

comfyui-node-authoring compared with skills from other repositories

comfyui-node-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comfyui-node-authoringlaurigates/claude-pluginsSkill60yesterdayMITA52Claude Code
verify-before-done42-evey/hermes-pluginsSkill5601mo agoMITA17Claude Code, Codex
django-ticket-triage2ykwang/agent-skillsSkill192d agoMITA65Claude Code
mk:resolving-merge-conflictsngocsangyem/MeowKitSkill17yesterdayMITA24Claude Code
mk:elicitngocsangyem/MeowKitSkill17yesterdayMITA22Claude Code
mk:investigatengocsangyem/MeowKitSkill17yesterdayMITA24Claude Code
devils-advocatemelodic-software/claude-code-pluginsSkill34todayMITA139Claude Code