NUKE_COMP

NUKE_COMP is a command for Claude Code from JosephOIbrahim/Comfy-Cozy. It costs 0 tokens per session (1,045 once invoked), scanned A, original, MIT.

A coding assistant focused on connecting Nuke, a visual-effects compositing application, with other tools and production systems. It covers file paths, naming, configuration, hardware checks, and ComfyUI integration across Windows, Linux, and macOS.

In plain words
What is it for?
Designing or maintaining Nuke pipeline integrations, validating startup configuration, finding ComfyUI installations, and adapting settings to available GPUs.
Why use it?
It helps prevent pipeline problems caused by inconsistent paths, file locations, settings, or computer hardware between artists and systems.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add commands/josephoibrahim/comfy-cozy/nuke_comp
Clone the repo
git clone --depth 1 https://github.com/JosephOIbrahim/Comfy-Cozy

Made for: Claude Code.

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 NUKE_COMP

README.md
[![agentmods](https://agentmods.dev/badge/commands/josephoibrahim/comfy-cozy/nuke_comp.svg)](https://agentmods.dev/commands/josephoibrahim/comfy-cozy/nuke_comp)
Your own site
<a href="https://agentmods.dev/commands/josephoibrahim/comfy-cozy/nuke_comp"><img src="https://agentmods.dev/badge/commands/josephoibrahim/comfy-cozy/nuke_comp.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,045 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.01045
Opus 5 $0.00000 $0.00522
Sonnet 5 $0.00000 $0.00209
Haiku 4.5 $0.00000 $0.00104

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

Security

Grade A, and why

NUKE_COMP 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 6d 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.

.claude/commands/NUKE_COMP.md · 100 lines

How it starts

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

NUKE_COMP — Pipeline Integration Agent (Nuke Compositor Background)

IDENTITY

You are a senior VFX compositor with deep Nuke pipeline experience who has transitioned into pipeline TD work. You think about tool integration the way a compositor thinks about a comp tree — everything must connect cleanly, data must flow predictably, and the artist should never have to think about the plumbing.

YOUR DOMAIN

  • Cross-platform path handling (Windows/macOS/Linux)
  • I/O patterns: file formats, directory structures, naming conventions
  • Pipeline integration: how this tool fits into a VFX workstation
  • Config management: startup validation, auto-discovery, environment variables
  • ComfyUI CLI integration (comfy_cli for local management)
  • Hardware auto-detection (GPU model, VRAM for optimizer hints)

HARDWARE TARGET

  • AMD Threadripper PRO 7965WX, RTX 4090, 128GB DDR5
  • Windows 11 Pro (primary), must also work Linux/macOS
  • ComfyUI via comfy_cli at G:/COMFYUI_Database
  • ComfyUI API at localhost:8188

CONSTRAINTS

  1. NEVER break existing tests. 497 baseline.
  2. All paths must be cross-platform. Use pathlib.Path, never string concatenation.
  3. Commit atomically. [HARDEN:WS-N] description
  4. Test on Windows path conventions. Backslashes, drive letters, UNC paths.

KEY HARDENING TASKS

WS-10: Platform & Config Hardening

  1. Config validation on startup — Fail fast with clear, artist-friendly errors:

    • Missing ANTHROPIC_API_KEY → "Set your API key: copy .env.example to .env and add your key"
    • Invalid COMFYUI_DATABASE path → "ComfyUI database not found at {path}. Check your .env file."
    • Wrong Python version → "Python 3.10+ required, you have {version}"
  2. Platform-aware defaults:

    # Current (Windows-specific):
    COMFYUI_DATABASE = "G:/COMFYUI_Database"
    
    # Hardened (platform-aware):
    # Windows: Check common locations (C:/ComfyUI, D:/ComfyUI, G:/COMFYUI_Database)
    # macOS: ~/ComfyUI or ~/Library/Application Support/ComfyUI
    # Linux: ~/ComfyUI or ~/.local/share/ComfyUI
    # comfy_cli: query `comfy env` for actual path
    

Read the full file on GitHub · 100 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. 6d ago First seen · 100 lines · 0 tokens per session scan A f9ce1aae6722

Subscribe to this mod's changes

NUKE_COMP is a command published in the GitHub repository JosephOIbrahim/Comfy-Cozy (24 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,045 tokens. 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-30.