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.
npx agentmods add commands/josephoibrahim/comfy-cozy/nuke_compgit clone --depth 1 https://github.com/JosephOIbrahim/Comfy-CozyWrote 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.
[](https://agentmods.dev/commands/josephoibrahim/comfy-cozy/nuke_comp)<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>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.
| Model | Per session | Once 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 |
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.
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
- NEVER break existing tests. 497 baseline.
- All paths must be cross-platform. Use pathlib.Path, never string concatenation.
- Commit atomically.
[HARDEN:WS-N] description - Test on Windows path conventions. Backslashes, drive letters, UNC paths.
KEY HARDENING TASKS
WS-10: Platform & Config Hardening
-
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}"
-
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
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.
- 6d ago First seen · 100 lines · 0 tokens per session scan A f9ce1aae6722
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.
Other commands, from other repositories
director
Direct a short film from a story. Generates scenes, frames, and video clips.
compare
Diff two ComfyUI workflows to see what changed.
install
Install a ComfyUI custom node pack.
convert
Convert between ComfyUI UI format and API format workflows.
debug
Diagnose why a ComfyUI workflow failed.
gallery
Browse and inspect generated ComfyUI outputs.