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 skills add G1Joshi/Agent-Skills --skill comfyuigit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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/skills/g1joshi/agent-skills/comfyui)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/comfyui/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.
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/comfyui.svg" alt="Reviewed on agentmods" width="80" 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.00046 | $0.01383 |
| Opus 5.5 | $0.00018 | $0.00553 |
| Sonnet 5.5 | $0.00009 | $0.00277 |
| Haiku 4.5 | $0.00005 | $0.00138 |
Grade A, and why
comfyui scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import urllib.request How it starts
The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ComfyUI
ComfyUI is a modular, node-based graph execution engine and GUI for Stable Diffusion and generative AI pipelines, offering granular control over every step of diffusion workflows.
When to Use
- Advanced Generative Image & Video Pipelines: Designing node-based workflows for SDXL, Flux.1, and SD3.
- Modular LoRA & ControlNet Composition: Layering multi-ControlNet conditions, IP-Adapter, and inpainting nodes.
- Automated Headless Generation: Exporting workflow JSONs and executing generation via the ComfyUI REST API / WebSockets.
- Custom Node Development: Extending PyTorch pipelines with proprietary filters, conditioning, and model loaders.
Quick Start
# Clone and install ComfyUI
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
pip install -r requirements.txt
# Run server with GPU acceleration
python main.py --listen 127.0.0.1 --port 8188
Core Concepts
ComfyUI API Execution via Python
Triggering generation workflows programmatically via the REST API:
import json
import urllib.request
import urllib.parse
def queue_prompt(prompt_workflow: dict, server_address="127.0.0.1:8188") -> str:
p = {"prompt": prompt_workflow}
data = json.dumps(p).encode('utf-8')
req = urllib.request.Request(f"http://{server_address}/prompt", data=data)
req.add_header('Content-Type', 'application/json')
with urllib.request.urlopen(req) as response:
res = json.loads(response.read())
return res['prompt_id']
# Minimal workflow dictionary structure
workflow_example = {
"3": {
"class_type": "KSampler",
"inputs": {
"seed": 42,
"steps": 25,
"cfg": 7.0,
"sampler_name": "euler_ancestral",
"scheduler": "normal",
"denoise": 1.0,
"model": ["4", 0],
"positive": ["6", 0],
"negative": ["7", 0],
"latent_image": ["5", 0]
}
}
}
Developing Custom ComfyUI Extension Nodes
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.
- 1mo ago Changed · +5 lines 1751726182c5
- 2mo ago Changed · +123 lines · +28 tokens per session aab0e07040da
- 3mo ago First seen · 45 lines · 18 tokens per session scan A c0b569357e6e
comfyui is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 1,383 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
comfyui compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comfyuiG1Joshi/Agent-Skills | Skill | 15 | 2mo ago | MIT | A | 46 | Claude Code, Codex |
| using-agent-skillsaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 54 | Claude Code |
| context-engineeringaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 43 | Claude Code |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 96 | Claude Code |
| spec-driven-developmentaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 117 | Claude Code |
| git-workflow-and-versioningaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 131 | Claude Code |
| observability-and-instrumentationaddyosmani/agent-skills | Skill | 121k | 6d ago | MIT | A | 66 | Claude Code |