Agent skill

Comfyui Node Adder

by nixified-ai in nixified-ai/flake

Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

AGPL-3.0Auto-check passedAI & LLM Engineering

Install Comfyui Node Adder

skills CLI
$ npx skills add nixified-ai/flake --skill comfyui-node-adder -a claude-code

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

GitHub CLI
$ gh skill install nixified-ai/flake comfyui-node-adder --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/nixified-ai/flake.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/comfyui-node-adder .claude/skills/comfyui-node-adder && 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
comfyui-node-adder
GitHub stars
841
Token cost
~806 tokens
SKILL.md length
328 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

  • Works in 9 steps: Add the Node to npins → Analyze Dependencies → Check Nixpkgs Availability → …
  • Tasks that involve Diffusion and image models
  • Calls nix and pip

What it does

Comfyui Node Adder is an agent skill from nixified-ai/flake. Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

Its SKILL.md is about 810 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. The repository describes itself as: A Nix flake for many AI projects. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Diffusion and image models

Example prompts

  • “/comfyui-node-adder”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Add the Node to npins
  2. Analyze Dependencies
  3. Check Nixpkgs Availability
  4. Create package.nix (if needed)
  5. Disable Impure Auto-Install Logic
  6. Fix Inherited Build Tools (ninja)
  7. Verify the Build
  8. Format Code
  9. Commit

What it can do on your machine

Read from SKILL.md and the folder at commit f224a42. 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:

    • nix
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use pip, 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

Comfyui Node Adder loads about 806 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 328 words of instructions outside code blocks.

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

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 nixified-ai/flake at commit f224a42, republished under its AGPL-3.0 licence (© nixified-ai). 328 words, ~806 tokens.

Download SKILL.mdSave it as .claude/skills/comfyui-node-adder/SKILL.md (or your agent's skills folder).
name
comfyui-node-adder
description
Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

ComfyUI Node Adder

This skill provides the procedural workflow for adding new ComfyUI custom nodes from GitHub or GitLab to this Nixified project.

Workflow

  1. Add the Node to npins:

    • Run the script via Nix: nix run .#legacyPackages.x86_64-linux.nixified-ai.internal.add-comfyui-node -- <repository_url>
    • This script generates a sanitized lowercase node name (e.g., comfyui-node-name) and updates flake-modules/projects/comfyui/customNodes-npins/sources.json.
  2. Analyze Dependencies:

    • Check the target repository for a requirements.txt or pyproject.toml.
    • Identify required Python packages.
  3. Check Nixpkgs Availability:

    • Check if dependencies exist in Nix using: nix build .#comfyui-nvidia.passthru.python3Packages.<package_name>.pname --raw
  4. Create package.nix (if needed):

    • Create flake-modules/projects/comfyui/customNodes/<sanitized-node-name>/package.nix.
    • Do not set pname or version. These are automatically generated from the npin source data by the nodePropsFromNpinSource function in flake-modules/projects/comfyui/lib.nix.
    • Return an attrset of overrides (e.g. { propagatedBuildInputs = [ ... ]; }).
    • Include dependencies in propagatedBuildInputs.
    • Note: If there are no dependencies and no impure installation scripts, a package.nix is generally not needed.
  5. Disable Impure Auto-Install Logic:

    • Crucial: Many ComfyUI nodes attempt to run pip install or apt-get at runtime (e.g., in __init__.py). This will crash in a Nix environment.
    • Patch these out using postPatch in the package.nix:
      nix
      postPatch = ''
        # Safely replace function calls without breaking function definitions
        # Example: replacing `install_requirements()` with `pass` only when it's called
        sed -i -e 's/^\s*install_requirements().*/pass/g' __init__.py
        
        # Or, if a function is DEFINED in the file, make it return early:
        sed -i -e 's/def install_requirements():/def install_requirements():\n    return/g' __init__.py
      '';
    • Export any environment variables that skip auto-installs (e.g., env.DISABLE_TENSORRT_AUTO_INSTALL = "true";).
  6. Fix Inherited Build Tools (ninja):

    • If the node inherits native build tools (like ninja or cmake) from dependencies, the Nix buildPhase may incorrectly attempt to compile it and fail with ninja: error: loading 'build.ninja'.
    • To bypass this, add to package.nix:
      nix
      dontBuild = true;
      dontConfigure = true;
  7. Verify the Build:

    • Test the custom node derivation: nix build .#comfyui-nvidia.passthru.comfyuiCustomNodes.<sanitized-node-name> -L --no-link
  8. Format Code:

    • Run nix fmt in the workspace root to format the newly created and modified files.
  9. Commit:

    • Stage the changes to sources.json and the newly created package.nix files.
    • Commit the changes with an appropriate message.

© nixified-ai, 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/comfyui-node-adder of nixified-ai/flake.

Open the folder on GitHubat commit f224a42

Compare with similar skills

Comfyui Node Adder 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.

Comfyui Node Adder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Comfyui Node Adder this skillnixified-ai/flake841—~806Automated safety check: PassAGPL-3.0
Comfyui AnimatoolShiroEirin/comfyui-good-anima476—~4.6kAutomated safety check: PassGPL-3.0
Comfyui Agent Skill MieMieMieeeee/comfyui-agent-skill116—~3.9kAutomated safety check: PassApache-2.0
Importing SubgraphsComfy-Org/workflow_templates1.3k—~1.5kAutomated safety check: PassMIT
Managing BundlesComfy-Org/workflow_templates1.3k—~1.2kAutomated safety check: PassMIT
Headroommomori777/Artemis377—~562Automated safety check: PassMIT

Similar skills

  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    Route ALL Anima image generation: validate Danbooru hard anchors, form visual brief, assemble English prompts and args, then load comfyui-manager for workflow execution.

    476 GitHub stars~4.6k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Agent Skill Mie

    MieMieeeee/comfyui-agent-skill

    Agent skill for running registered ComfyUI workflows through a stable CLI, and for importing a user's own ComfyUI workflow into their private registry after review.

    116 GitHub stars~3.9k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Importing Subgraphs

    Comfy-Org/workflow_templates

    Imports and registers subgraph blueprints into the ComfyUI workflowtemplates repository.

    1.3k GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Managing Bundles

    Comfy-Org/workflow_templates

    Manages template bundles, categories, and ordering in the ComfyUI template repository.

    1.3k GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Headroom

    momori777/Artemis

    SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens.

    377 GitHub stars~562 tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    A skill your agent uses for Anima / ComfyUI-AnimaTool image generation.

    476 GitHub stars~3.4k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed

More from nixified-ai/flake

  • Git History Cleaner

    nixified-ai/flake

    Cleans up git commit history by rebasing and combining commits that edit the same files or logical units, ensuring each logical change is isolated to a single commit.

    841 GitHub stars~876 tokensUpdated today
    Auto-check passed

Works with

Questions about Comfyui Node Adder

What does Comfyui Node Adder do?

Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build. Comfyui Node Adder is an agent skill from nixified-ai/flake.nix, disabling impure pip installs, and verifying the Nix build.

When should I use Comfyui Node Adder?

Comfyui Node Adder fits situations like: tasks that involve Diffusion and image models.

How do I install Comfyui Node Adder in Claude Code?

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

How do I install Comfyui Node Adder in Codex?

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

Can I use Comfyui Node Adder 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 nixified-ai/flake --skill comfyui-node-adder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/comfyui-node-adder, .gemini/skills/comfyui-node-adder, .github/skills/comfyui-node-adder and .opencode/skills/comfyui-node-adder in your project.

What does Comfyui Node Adder need to run?

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

Does Comfyui Node Adder access the network?

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

Is Comfyui Node Adder 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 Comfyui Node Adder use?

Comfyui Node Adder 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 Comfyui Node Adder use?

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

Skills that share tags, products or a category with Comfyui Node Adder: Comfyui Animatool (ShiroEirin/comfyui-good-anima, 476 stars), Comfyui Agent Skill Mie (MieMieeeee/comfyui-agent-skill, 116 stars), Importing Subgraphs (Comfy-Org/workflow_templates, 1.3k stars) and Managing Bundles (Comfy-Org/workflow_templates, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Comfyui Node Adder?

nixified-ai (a GitHub organization) maintains it in nixified-ai/flake, which has 841 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 7, 2026.

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