Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/davidtoby/agent-skillsnpx agentmods add skills/davidtoby/agent-skills/comfyuiWrote 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/davidtoby/agent-skills/comfyui)<a href="https://agentmods.dev/skills/davidtoby/agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/davidtoby/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/davidtoby/agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/davidtoby/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.06230 |
| Opus 5 | $0.00023 | $0.03115 |
| Sonnet 5 | $0.00009 | $0.01246 |
| Haiku 4.5 | $0.00005 | $0.00623 |
Grade B, and why
comfyui scanned grade B with 3 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.
Sends data to an external URLlowData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -X POST http://127.0.0.1:8188/queue -d '{"clear": true}' # cancel pending Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -s http://127.0.0.1:8188/queue | python3 -m json.tool Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s http://127.0.0.1:8188/system_stats 2>/dev/null && echo "server: running" This is a copy
97% identical to comfyui — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 607 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ComfyUI
Generate images, video, audio, and 3D content through ComfyUI using the
official comfy-cli for setup/lifecycle and direct REST/WebSocket API
for workflow execution.
What's in this skill
Reference docs (references/):
official-cli.md— everycomfy ...command, with flagsrest-api.md— REST + WebSocket endpoints (local + cloud), payload schemasworkflow-format.md— API-format JSON, common node types, param mapping
Scripts (scripts/):
| Script | Purpose |
|---|---|
_common.py |
Shared HTTP, cloud routing, node catalogs (don't run directly) |
hardware_check.py |
Probe GPU/VRAM/disk → recommend local vs Comfy Cloud |
comfyui_setup.sh |
Hardware check + comfy-cli + ComfyUI install + launch + verify |
extract_schema.py |
Read a workflow → list controllable params + model deps |
check_deps.py |
Check workflow against running server → list missing nodes/models |
auto_fix_deps.py |
Run check_deps then comfy node install / comfy model download |
run_workflow.py |
Inject params, submit, monitor, download outputs (HTTP or WS) |
run_batch.py |
Submit a workflow N times with sweeps, parallel up to your tier |
ws_monitor.py |
Real-time WebSocket viewer for executing jobs (live progress) |
health_check.py |
Verification checklist runner — comfy-cli + server + models + smoke test |
fetch_logs.py |
Pull traceback / status messages for a given prompt_id |
Example workflows (workflows/): SD 1.5, SDXL, Flux Dev, SDXL img2img,
SDXL inpaint, ESRGAN upscale, AnimateDiff video, Wan T2V. See
workflows/README.md.
When to Use
- User asks to generate images with Stable Diffusion, SDXL, Flux, SD3, etc.
- User wants to run a specific ComfyUI workflow file
- User wants to chain generative steps (txt2img → upscale → face restore)
- User needs ControlNet, inpainting, img2img, or other advanced pipelines
- User asks to manage ComfyUI queue, check models, or install custom nodes
- User wants video/audio/3D generation via AnimateDiff, Hunyuan, Wan, AudioCraft, etc.
What ships with it
31 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/official-cli.md 7.4 KB
- references/rest-api.md 10 KB
- references/workflow-format.md 7.8 KB
- scripts/_common.py 33 KB runs code
- scripts/auto_fix_deps.py 8.1 KB runs code
- scripts/check_deps.py 17 KB runs code
- scripts/comfyui_setup.sh 10 KB runs code
- scripts/extract_schema.py 11 KB runs code
- scripts/fetch_logs.py 5.6 KB runs code
- scripts/hardware_check.py 17 KB runs code
- scripts/health_check.py 8.0 KB runs code
- scripts/run_batch.py 8.9 KB runs code
- scripts/run_workflow.py 31 KB runs code
- scripts/ws_monitor.py 10 KB runs code
- tests/conftest.py 1.4 KB runs code
- tests/pytest.ini 132 B
- tests/README.md 2.1 KB
- tests/test_check_deps.py 2.3 KB runs code
- tests/test_cloud_integration.py 4.2 KB runs code
- tests/test_common.py 16 KB runs code
- tests/test_extract_schema.py 7.8 KB runs code
- tests/test_run_workflow.py 8.5 KB runs code
- workflows/animatediff_video.json 2.0 KB
- workflows/flux_dev_txt2img.json 2.2 KB
- workflows/README.md 3.8 KB
- workflows/sd15_txt2img.json 1.4 KB
- workflows/sdxl_img2img.json 1.6 KB
- workflows/sdxl_inpaint.json 1.8 KB
- workflows/sdxl_txt2img.json 1.4 KB
- workflows/upscale_4x.json 864 B
- workflows/wan_video_t2v.json 2.1 KB
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 · 607 lines · 46 tokens per session scan B dc23dc22f1d9
comfyui is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 6,230 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). It is 97% identical to comfyui, differing in 58 lines, and is treated as a copy.
Other skills, from other repositories
officecli-pitch-deck
Use this skill when the user is building a fundraising / investor pitch deck — seed, Series A / B / C, convertible note, SAFE round, strategic raise. Trigger on: 'pitch deck', 'investor deck', 'Series A deck', 'Series B deck', 'Series C deck', 'fundraising deck', 'seed pitch', 'VC deck', 'raising capital', 'term sheet…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…
morph-ppt-3d
3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.
draw
Draw - command-line tool for everyday use.
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
blockrun
Use when user needs capabilities Claude lacks (image generation, real-time X/Twitter data) or explicitly requests external models ("blockrun", "use grok", "use gpt", "dall-e", "deepseek").