Agent skill

Add Comfyui Node

by Mooshieblob1 in Mooshieblob1/MooshieUI

Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup.

AGPL-3.0Auto-check passedAI & LLM Engineering

Install Add Comfyui Node

skills CLI
$ npx skills add Mooshieblob1/MooshieUI --skill add-comfyui-node -a claude-code

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

GitHub CLI
$ gh skill install Mooshieblob1/MooshieUI add-comfyui-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/Mooshieblob1/MooshieUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-comfyui-node .claude/skills/add-comfyui-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-comfyui-node
GitHub stars
207
Token cost
~936 tokens
SKILL.md length
221 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup.

  • Works in 3 steps: Python —… → Rust verification —… → Workflow hookup — src-tauri/src/templates/
  • New image-processing nodes (detailers
  • SKILL.md covers Touchpoints (in order), Python node conventions and Verify
  • Calls python and cargo

What it does

Add Comfyui Node is an agent skill from Mooshieblob1/MooshieUI. Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup. Use for new image-processing nodes (detailers, detectors, compositors) or /add-comfyui-node.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Diffusion and image models. It works with ComfyUI, Python, Rust and Tauri. The repository describes itself as: A front-end UI for ComfyUI made for beginner level users. The licence is AGPL-3.0.

When your agent uses it

  • New image-processing nodes (detailers
  • /add-comfyui-node

Example prompts

  • “/add-comfyui-node”

Requirements

  • Python 3

Workflow steps

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

  1. Python — src-tauri/src/comfyui/mooshie_nodes.py
  2. Rust verification — src-tauri/src/comfyui/nodes.rs
  3. Workflow hookup — src-tauri/src/templates/

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • cargo

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

  • Network

    No URLs in SKILL.md.

    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 Comfyui Node loads about 936 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 221 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 Mooshieblob1/MooshieUI at commit a9cb043, republished under its AGPL-3.0 licence (© Mooshieblob1). 221 words, ~936 tokens.

Download SKILL.mdSave it as .claude/skills/add-comfyui-node/SKILL.md (or your agent's skills folder).
name
add-comfyui-node
description
Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshie_nodes.py, Rust required-class registration, and optional workflow template chain hookup. Use for new image-processing nodes (detailers, detectors, compositors) or /add-comfyui-node.

Add Custom ComfyUI Node (MooshieUI)

MooshieUI deploys its own ComfyUI nodes from src-tauri/src/comfyui/mooshie_nodes.py (embedded via include_str!, written to ComfyUI's custom_nodes/ at startup). Existing examples: MooshieSaveImage, MooshieFaceDetailer, MooshieSegmentDetailer.

Touchpoints (in order)

1. Python — src-tauri/src/comfyui/mooshie_nodes.py
python
class MooshieMyNode:
    """One-line summary of what the node does."""

    @classmethod
    def INPUT_TYPES(cls):
        return {
            "required": {
                "image": ("IMAGE",),
                "model": ("MODEL",),
                "vae": ("VAE",),
                "positive": ("CONDITIONING",),
                "negative": ("CONDITIONING",),
                "seed": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFFFFFFFFFFFF}),
                # sampler/scheduler dropdowns:
                "sampler_name": (comfy.samplers.KSampler.SAMPLERS,),
                "scheduler": (comfy.samplers.KSampler.SCHEDULERS,),
            }
        }

    RETURN_TYPES = ("IMAGE",)
    FUNCTION = "process"
    CATEGORY = "mooshie"

    def process(self, image, ...):
        # IMAGE tensors are [B, H, W, C] float 0–1
        return (result,)

Register at the bottom of the file:

python
NODE_CLASS_MAPPINGS = { ..., "MooshieMyNode": MooshieMyNode }
NODE_DISPLAY_NAME_MAPPINGS = { ..., "MooshieMyNode": "Mooshie My Node" }
2. Rust verification — src-tauri/src/comfyui/nodes.rs

Add the class name to REQUIRED_MOOSHIE_NODE_CLASSES so startup verifies ComfyUI actually loaded it (catches stale-server cases where files exist on disk but /object_info lacks the class until restart).

3. Workflow hookup — src-tauri/src/templates/
  • New post-process chain → append_*_chain(result, params, image, seed) -> (String, u32) module, called from finish_workflow in mod.rs.
  • finish_workflow chain order matters: upscale → facefix → segment → MooshieSaveImage. Insert new steps deliberately.
  • Seed offsets: base seed for KSampler, seed+2 facefix, seed+3+i segments. Pick an unused offset.

Python node conventions

  • Heavy imports (transformers, ultralytics) go inside methods, not module top — keeps node load cheap and the dependency optional.
  • Model weights cache under folder_paths.models_dir subdirs (e.g. models/clipseg/); del model objects in finally to release VRAM.
  • Sample with comfy.sample.sample(...) + comfy.sample.prepare_noise; preview via latent_preview.prepare_callback.
  • Soft masks blend better than binary: return sigmoid/confidence values and let the composite weight per-pixel.
  • Guard empty detections (mask is None, ys.numel() == 0) — return the input image unchanged, print a [MooshieMyNode] prefixed line for diagnosability (ComfyUI stdout, not Tauri logs).
  • Python deps the node needs at runtime: ensure via installPipPackage("pkg==x.y.z") from the frontend before generation (see ensureFacefixPythonDependency in GenerateButton.svelte).

Verify

powershell
python -m py_compile src-tauri/src/comfyui/mooshie_nodes.py
cargo check --manifest-path src-tauri/Cargo.toml
- [ ] Class + NODE_CLASS_MAPPINGS + NODE_DISPLAY_NAME_MAPPINGS
- [ ] REQUIRED_MOOSHIE_NODE_CLASSES in nodes.rs
- [ ] finish_workflow / template chain wired (if workflow-facing)
- [ ] ComfyUI restarted when testing (deploy alone doesn't reload classes)

© Mooshieblob1, AGPL-3.0. 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-comfyui-node of Mooshieblob1/MooshieUI.

Open the folder on GitHubat commit a9cb043

Compare with similar skills

Add Comfyui Node 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 Comfyui Node compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Comfyui Node this skillMooshieblob1/MooshieUI207—~936Automated safety check: PassAGPL-3.0
Comfyui Skill OpenclawHuangYuChuh/ComfyUI_Skills_OpenClaw411—~2.7kAutomated safety check: PassApache-2.0
ComfyUI Custom Node BuilderConstantineB6/comfy-pilot230—~897Automated safety check: PassMIT
Setupguaardvark/guaardvark2511 repos~1.2kAutomated safety check: PassMIT
AI Toolkit Trainerartokun/comfyui-mcp793—~2.7kAutomated safety check: PassMIT
Edit Comfy Workflowpeteromallet/VibeComfy150—~2.2kAutomated safety check: PassMIT

Similar skills

  • Comfyui Skill Openclaw

    HuangYuChuh/ComfyUI_Skills_OpenClaw

    Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities.

    411 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • ComfyUI Custom Node Builder

    ConstantineB6/comfy-pilot

    Helps an agent write ComfyUI custom nodes in Python, including wrapping an existing script, mapping data types and handling image batches.

    230 GitHub stars~897 tokensUpdated 7 mo ago
    AI & LLM EngineeringAuto-check passed
  • Setup

    guaardvark/guaardvark

    Connect this agent to a running Guaardvark (self-hosted AI studio) and check what it can do right now.

    251 GitHub starsUsed in 1 repo~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • AI Toolkit Trainer

    artokun/comfyui-mcp

    Train custom LoRAs with ostris AI-Toolkit. An agent skill from artokun/comfyui-mcp.

    793 GitHub stars~2.7k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Edit Comfy Workflow

    peteromallet/VibeComfy

    Edit an existing VibeComfy or ComfyUI workflow, ready template, recipe, scratchpad, or target graph.

    150 GitHub stars~2.2k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • ComfyUI Custom Node Basics

    jtydhr88/comfyui-custom-node-skills

    Explains the V3 API for ComfyUI custom nodes: node classes, schema, inputs and outputs, registration and how it differs from the legacy V1 style.

    294 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed

More from Mooshieblob1/MooshieUI

All 9 skills in this repo
  • Add Tauri Command

    Mooshieblob1/MooshieUI

    Adds a MooshieUI Tauri command end-to-end — Rust handler, lib.rs registration, and TypeScript ipcInvoke wrapper.

    207 GitHub stars~467 tokensUpdated 2 days ago
    Auto-check passed
  • Cleanup

    Mooshieblob1/MooshieUI

    Runs branch hygiene and bot PR comment triage without cutting a release.

    207 GitHub stars~808 tokensUpdated 2 days ago
    Auto-check passed
  • Quickrelease

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release quickly, skipping bot reviews, pre-commit-checks, and local build validation.

    207 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Release

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release — bumps three version files, updates changelog and release notes, validates build, opens release PR, merges, tags, and triggers Build & Release CI.

    207 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Workflow Template Builder

    Mooshieblob1/MooshieUI

    Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

    207 GitHub stars~640 tokensUpdated 2 days ago
    Auto-check passed
  • Push

    Mooshieblob1/MooshieUI

    Commits MooshieUI working-tree changes and lands them on main via a squash-merged PR without version bump or release tag.

    207 GitHub stars~947 tokensUpdated 2 days ago
    Auto-check: warnings

Questions about Add Comfyui Node

What does Add Comfyui Node do?

Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup. Add Comfyui Node is an agent skill from Mooshieblob1/MooshieUI.py, Rust required-class registration, and optional workflow template chain hookup.

When should I use Add Comfyui Node?

Add Comfyui Node fits situations like: new image-processing nodes (detailers; /add-comfyui-node.

How do I install Add Comfyui Node in Claude Code?

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

How do I install Add Comfyui Node in Codex?

Run `npx skills add Mooshieblob1/MooshieUI --skill add-comfyui-node -a codex`. Or copy the skill folder (.agents/skills/add-comfyui-node in Mooshieblob1/MooshieUI) into .agents/skills/add-comfyui-node in your project. Codex loads it when a task matches its description.

Can I use Add Comfyui Node 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 Mooshieblob1/MooshieUI --skill add-comfyui-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-comfyui-node, .gemini/skills/add-comfyui-node, .github/skills/add-comfyui-node and .opencode/skills/add-comfyui-node in your project.

What does Add Comfyui Node need to run?

Going by SKILL.md and its folder, Add Comfyui Node needs the command-line tools its instructions call (python and cargo). Our summary lists: Python 3.

Does Add Comfyui Node access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Comfyui Node safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Comfyui Node use?

Add Comfyui Node is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Comfyui Node use?

About 936 tokens (SKILL.md is roughly 3.7k 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 Comfyui Node?

Skills that share tags, products or a category with Add Comfyui Node: Comfyui Skill Openclaw (HuangYuChuh/ComfyUI_Skills_OpenClaw, 411 stars), ComfyUI Custom Node Builder (ConstantineB6/comfy-pilot, 230 stars), Setup (guaardvark/guaardvark, 251 stars) and AI Toolkit Trainer (artokun/comfyui-mcp, 793 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Comfyui Node?

Mooshieblob1 (a GitHub user) maintains it in Mooshieblob1/MooshieUI, which has 207 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.

Source: Mooshieblob1/MooshieUI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.