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.00733 |
| Opus 5 | $0.00006 | $0.00367 |
| Sonnet 5 | $0.00002 | $0.00147 |
| Haiku 4.5 | $0.00001 | $0.00073 |
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 9d 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.
What it actually says
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. If the matching node's category starts with api node/, try partner_generate first — see its tool description for the currently-wired model ids. Pass type: "audio" plus the partner's model slug, prompt, and any optional fields (seed/duration/medias[]). On success, return the artifact URL(s) and stop — do NOT continue with the workflow steps below. If partner_generate returns "unknown model" or "not yet implemented", or the matching node has no api node/ 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.
-
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).
SaveAudioAdvanced(display name "Save Audio (Advanced)") is the current save node, and it requiresformatalongsideaudioandfilename_prefix— the olderSaveAudio,SaveAudioMP3, andSaveAudioOpusclasses are marked deprecated in the node catalog and are hidden fromsearch_nodes.API-backed partner nodes often produce an audio tensor but do not include a save node by default — you must add one and wire it to their output. Without it the job runs successfully but produces nothing retrievable, wasting compute. Do not skip this check.
-
Call
submit_workflowwith the workflow JSON. -
Poll
get_job_statusevery 5 seconds until the job is completed. Show the user a brief status update while waiting. If the user asks to cancel, usecancel_jobwith the prompt_id. -
Call
get_outputto retrieve the generated audio. Pass a shortdescriptionparameter (e.g. "ambient forest sounds") so the saved file gets a descriptive name. -
Tell the user where the audio file was saved and how to play it. Audio outputs are saved to disk but not previewed inline.
If any step fails, show the error clearly. Audio generation support in ComfyUI is newer than image generation, so fewer templates and models may be available.
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.
- 9d 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 (190 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 733 once invoked, about $0.0001 per session on Opus 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.
Other commands, from other repositories
compare
Diff two ComfyUI workflows to see what changed.
assemble-montage
You are the EDITOR expert in the Video Recreation Agent Team.
ref
Upload a local image as reference for generation. Returns a public URL.
design
A command for choosing or defining the visual style of a PowerPoint presentation, including its colors, fonts, and page layouts. It offers preset styles, custom brand settings, and recommendations based on the presentation topic.
text-to-3d
Generate a static textured GLB from one subject description, locally.
checklist
Generate a custom checklist for the current feature based on user requirements.