generate-audio

generate-audio is a skill for Claude Code from Comfy-Org/comfy-skills. It costs 50 tokens per session (937 once invoked), scanned A, original, MIT.

A background-removal tool for cutting a subject out of an image on Comfy Cloud. It can make the background transparent or place the cutout over a different background.

In plain words
What is it for?
Use it to isolate people or products, create transparent PNG-style cutouts, erase backdrops, or composite a subject onto a new scene.
Why use it?
It avoids manually tracing a subject or building a matting workflow. It also preserves transparency when the selected output format supports it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the comfy-cloud plugin — 12 skills, 12 commands, 1 MCP server shipped together

Good fit Use it to isolate people or products, create transparent PNG-style cutouts, erase backdrops, or composite a subject onto a new scene.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comfy-org/comfy-skills/generate-audio
Install

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.

Any agent
npx skills add Comfy-Org/comfy-skills --skill generate-audio
Clone the repo
git clone --depth 1 https://github.com/Comfy-Org/comfy-skills

Made for: Claude Code.

Or install comfy-cloud, the plugin that ships this one along with the rest of its 12 skills, 12 commands, 1 MCP server.

Wrote 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.

agentmods badge for generate-audio

README.md
[![agentmods](https://agentmods.dev/badge/skills/comfy-org/comfy-skills/generate-audio/github.svg)](https://agentmods.dev/skills/comfy-org/comfy-skills/generate-audio)
Your own site
<a href="https://agentmods.dev/skills/comfy-org/comfy-skills/generate-audio"><img src="https://agentmods.dev/badge/skills/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.

agentmods 80×15 button for generate-audio

Your own site · 80×15
<a href="https://agentmods.dev/skills/comfy-org/comfy-skills/generate-audio"><img src="https://agentmods.dev/badge/skills/comfy-org/comfy-skills/generate-audio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00937
Opus 5.5 $0.00020 $0.00375
Sonnet 5.5 $0.00010 $0.00187
Haiku 4.5 $0.00005 $0.00094

Measured 20d ago against content hash 7222c030fa16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

claude-code/skills/generate-audio/SKILL.md · 24 lines

How it starts

The opening of the file, as written. The whole thing — 24 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate audio

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.

Voice cloning from a reference recording is a different skill. Use this one for new audio from a description.

The server's tool descriptions and the built-in generate-audio prompt own parameter names. Discover templates and nodes live. Audio node names change, including which save node is current, so take the save node from search_nodes rather than from an older note.

What to do

  1. If the user named a provider or model and wants finished audio, look it up with search_nodes. When the match is a partner model, call partner_generate for audio. 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 a params.model tier, send that tier with the slug. A tier-shaped guess belongs in params.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. Inside submit_batch, resend only the bounced item. If the tool says "unknown model" with no close match, or "not yet implemented", or the node is not a partner node, continue below. If they asked to build a workflow, skip partner_generate and wire that node into the graph. When partner_generate succeeds, hand back the links it returns and stop. Do not continue to a template or graph, which would run and charge a second generation.
  2. Otherwise prefer a template. search_templates for speech, music, or sound effects, and set the tool's audio media-type filter when it has one. Run a fit with get_template_schema and run_template.
  3. If no template fits, search_nodes and search_models for the task, then submit a graph. Give every node a _meta.title. Include a prompt or source input and a current audio save node wired to the result. Partner nodes often omit the save node.
  4. Wait with wait_for_job, then get_output, with a short description so the file has a useful name. In chat, hand back the link the tool returns. When a download command is present and this session has a shell, run it unchanged.
  5. When they asked for a workflow they can reopen, save_workflow and return get_workflow_canvas_url. Say the layout is auto-generated.
  6. When they ask to adjust this result (seed, prompt wording, duration, or a different reference) rather than a new sound, do not rebuild the graph and do not re-send the JSON. Call submit_workflow with from_prompt_id set to the run being adjusted and input_overrides holding only the changed inputs ({nodeId: {inputName: value}}). If you do not know the node id, call get_job_status with include_workflow: true on that prompt id first. A new reference still goes through upload_file; override the loader input with the returned name. If that result came from partner_generate, there is no workflow to rerun: call partner_generate again with the changed fields. If they want this exact audio edited rather than the workflow's inputs changed, use use_previous_output or partner_generate media inputs.

Read the full file on GitHub · 24 lines

Changes

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.

  1. 20d ago First seen · 24 lines · 50 tokens per session scan A 7222c030fa16

Subscribe to this mod's changes

generate-audio is a skill published in the GitHub repository Comfy-Org/comfy-skills (274 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 937 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.

Related

generate-audio compared with skills from other repositories

generate-audio next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-audioComfy-Org/comfy-skillsSkill274todayMITA50Claude Code
frontend-designanthropics/claude-plugins-officialSkill49ktodayApache-2.0A40Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill11k8d agoApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
visual-editBuilderIO/skillsSkill4.7ktodayMITA42Claude Code
visual-planBuilderIO/skillsSkill4.7ktodayMITA32Claude Code
readtw93/WazaSkill7.7k13d agoMITA61Claude Code