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.
git 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/commands/comfy-org/comfy-skills/generate-audio)<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/generate-audio"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-audio/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/commands/comfy-org/comfy-skills/generate-audio"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-audio.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.00012 | $0.01912 |
| Opus 5.5 | $0.00005 | $0.00765 |
| Sonnet 5.5 | $0.00002 | $0.00382 |
| Haiku 4.5 | $0.00001 | $0.00191 |
Grade A, and why
generate-audio 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 — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate audio using Comfy Cloud based on the user's description: $ARGUMENTS
Follow these steps exactly:
Step 0 — Route partner-API requests directly. If the user named a provider, model, or capability (e.g. "ElevenLabs", "Stability Audio", "Sonilo"), do one search_nodes lookup with the named term. partner_generate returns only the output, never a workflow: if the user asked to BUILD or CREATE a workflow (not just for an output), skip partner_generate and continue to Step 1, wiring the matching node into the workflow you build if its category starts with partner/ (an OSS match takes the normal steps below). If the matching node's category starts with partner/, try partner_generate first — its description names providers, not model ids, so pass type: "audio" plus your best-guess model slug (a wrong one rejects before queuing and bounces back naming the closest real slugs, Did you mean: …), prompt, and any optional fields (seed/duration/medias[]). On a bounce, first look for a run_template the bounce names (a "served by the bundled template … Do not retry this slug" reply): run that template instead of re-calling. Otherwise re-call once with the suggested slug only if it keeps the provider prefix of your guess (a kling/… suggestion for a kling/… guess) AND names the same product and shape the user asked for — a text-to-video slug is not a retry for an image-, reference- or first/last-frame-to-video request (-t2v for -i2v/-r2v/-flf2v), and a sound-effects slug is not a retry for speech; for those, find the family's own api_* template with search_templates and run_template it, or ask. If the bounce lists several slugs or several params.model tiers, pick the one that matches the user's request; if none clearly does, ask instead of re-calling (the re-call is the call that queues and charges, and tiers are priced differently). Pass a tier-shaped guess as params: {"model": "<tier>"} on the slug the bounce names rather than re-calling the bare slug (that runs the entry's default tier at a different price). Say which slug or tier you switched to. If that re-call bounces too, do not re-call again — handle it as "unknown model" with no close match named (below). The suggestions are ranked by token overlap across the whole registry, so one can belong to a provider the user never named — if none keeps your guess's provider prefix, do not re-call (the re-call is the call that queues and charges): stop and ask the user which model to use; inside submit_batch resend only the bounced item — its siblings may already be queued and charged. On success, return the artifact URL(s) and stop — do NOT continue with the workflow steps below. If partner_generate returns "unknown model" with no close match named, or "not yet implemented", or the matching node has no partner/ prefix (OSS model), continue to Step 1.
-
Use
search_templateswith queries like "audio generation", "text to audio", "music generation", or "sound effects" and setmedia_typeto "audio" to find a pre-built audio workflow template. If a good template exists, use it as the base workflow instead of building from scratch. -
If no suitable template was found, use
search_nodesto find audio-related nodes. Search for "audio" to discover available audio generation and processing nodes. Usesearch_modelsto find audio models if needed. -
Build a ComfyUI API-format workflow JSON with the appropriate audio nodes. Audio workflows vary depending on the task (music generation, sound effects, text-to-speech, etc.) and available nodes. Give EVERY node a
_meta.titlethat names its role in plain words (e.g. "Load driving video", "Remove background", "Overlay graphic 1", "Save video"). The canvas shows these titles; without them the user sees only class names. -
Validate the workflow has inputs and outputs before submitting. Confirm the JSON contains:
- At least one input node carrying the user's intent (text prompt node, LoadAudio for audio-to-audio, etc.).
- At least one output/save node wired to the final audio tensor (
SaveAudioAdvancedor the partner node's own save output).
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 Changed 28042111d488
- 21d ago Changed · +2 lines 2ed17f17f65e
- 1mo ago Changed · +2 lines 0dea7e0c96ef
- 3mo ago First seen · 34 lines · 12 tokens per session scan A 9ee6c630929a
generate-audio is a command published in the GitHub repository Comfy-Org/comfy-skills (274 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 1,912 once invoked, about $0.0000 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-08-30.
generate-audio compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-audioComfy-Org/comfy-skills | Command | 274 | today | MIT | A | 12 | Claude Code |
| cancel-ralphanthropics/claude-plugins-official | Command | 49k | today | Apache-2.0 | A | 4 | Claude Code |
| constraintsvinvcn/addyosmani-agent-skills-zh | Command | 59 | 1mo ago | MIT | A | 20 | Claude Code |
| releasekomunite/kalfa | Command | 246 | 7mo ago | MIT | A | 13 | Claude Code |
| rclone_config_dumpchaunsin/agent-skills | Command | 2 | 12d ago | Apache-2.0 | A | 7 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |