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 Comfy-Org/comfy-skills --skill generate-videogit clone --depth 1 https://github.com/Comfy-Org/comfy-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/comfy-org/comfy-skills/generate-video)<a href="https://agentmods.dev/skills/comfy-org/comfy-skills/generate-video"><img src="https://agentmods.dev/badge/skills/comfy-org/comfy-skills/generate-video/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/comfy-org/comfy-skills/generate-video"><img src="https://agentmods.dev/badge/skills/comfy-org/comfy-skills/generate-video.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.01114 |
| Opus 5.5 | $0.00018 | $0.00446 |
| Sonnet 5.5 | $0.00009 | $0.00223 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
generate-video 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 20d 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 — 23 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate a video
Run this on the hosted Comfy Cloud connector (https://cloud.comfy.org/mcp). The user signs in with that connector's OAuth flow. Use the signed-in account. There is no API key to collect in chat, and there is no local ComfyUI install to start.
The server's tool descriptions and the built-in generate-video prompt own the call sequence and any dated model notes. Use those for arguments. Resolve model, template, and node names with the tools at run time.
What to do
- When they supply a source image or video,
upload_fileit first and use the returned name in whichever route runs below. Do not inline media bytes. - When the user names a model family, check both routes before spending money:
search_nodesfor a partner or API node, andsearch_templatesfor an open-source template under the same family. Tell them apart with the fields those tools return (category, name prefix, tags), not with a remembered list. If only the partner route exists, callpartner_generatefor video, then stop, unless they asked to build a workflow. Its description names providers, not model ids, so pass your best-guess model slug. A wrong slug is rejected before the job is queued, and the error names the closest real slugs (Did you mean). Re-call once, and only when a suggestion keeps the provider prefix of the slug you guessed. If the bounce names aparams.modeltier, send that tier with the slug. A tier-shaped guess belongs inparams.model; re-calling the bare slug runs that entry's default tier at a different price. Say which slug you switched to. If that re-call bounces too, stop. Suggestions are ranked across the whole registry, so one may name a provider the user never asked for. If none keeps your guess's provider prefix, do not re-call — that call queues and charges — and ask which model to use. Insidesubmit_batch, resend only the bounced item. Guessing costs one rejected call, so do not skip the tool for lack of a list. If the tool says "unknown model" with no close match, or "not yet implemented", continue with a template. If both an open-source template and a partner route exist, say so and ask which they want, unless they already chose. When they pick the partner route, callpartner_generatefor video as above, then stop, unless they asked to build a workflow. When they pick the open-source route, continue with a template. The open-source route has no partner fee and still spends Comfy Cloud compute credits when it runs on Comfy Cloud. Do not tell them the open-source route is gone until a broader search also misses it. - Otherwise prefer a template. Search
search_templatesfor text-to-video, image-to-video, or the task they named. Filter with the tool's tag or media-type arguments when a text search is mostly images. Run a fit withget_template_schemaandrun_template. - Hand-build only when no template fits. Discover loaders, samplers, and video save nodes with
search_nodes. Give every node a_meta.titlein plain words. The graph needs an input that carries the request and a save or output node wired to the final video. Partner nodes often omit the save node. - Video runs take longer than images. Wait with
wait_for_job, thenget_output. In chat, show the returned link. When a download command is present and this session has a shell, run that command unchanged. Leave signed URL query strings as returned. - When they asked for a workflow they can reopen,
save_workflowand returnget_workflow_canvas_url. Say the layout is auto-generated. For a subgraph template, say the canvas shows one collapsed node and how to open it (double-click the node body, or right-click and unpack). - When they ask to adjust this result (seed, prompt wording, duration, resolution, or a different reference) rather than a new subject, do not rebuild the graph and do not re-send the JSON. Call
submit_workflowwithfrom_prompt_idset to the run being adjusted andinput_overridesholding only the changed inputs ({nodeId: {inputName: value}}). If you do not know the node id, callget_job_statuswithinclude_workflow: trueon that prompt id first. A new reference still goes throughupload_file; override the loader input with the returned name. If that result came frompartner_generate, there is no workflow to rerun: callpartner_generateagain with the changed fields. If they want this exact clip edited rather than the workflow's inputs changed, useuse_previous_outputorpartner_generatemedia inputs.
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.
- 20d ago First seen · 23 lines · 46 tokens per session scan A 5530850bcb5a
generate-video is a skill published in the GitHub repository Comfy-Org/comfy-skills (274 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,114 once invoked, about $0.0002 per session on Opus 5.5. 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-11-12.
generate-video compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-videoComfy-Org/comfy-skills | Skill | 274 | today | MIT | A | 46 | Claude Code |
| claude-md-improveranthropics/claude-plugins-official | Skill | 49k | today | Apache-2.0 | A | 82 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 56 | Claude Code |