mirror of
https://github.com/Comfy-Org/comfy-skills.git
synced 2026-11-04 23:37:45 +00:00
[PR #14] [MERGED] fix(generate-audio): recommend SaveAudioAdvanced over the deprecated SaveAudio #12
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-skills#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-skills/pull/14
Author: @mattmillerai
Created: 8/1/2026
Status: ✅ Merged
Merged: 8/5/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-5562-save-audio-advanced📝 Commits (1)
ec00132fix(generate-audio): recommend SaveAudioAdvanced over the deprecated SaveAudio📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
claude-code/commands/generate-audio.md(+3 -1)📝
skills/comfy-generate-audio.md(+3 -1)📄 Description
ELI-5
The audio recipe told agents "save your audio with
SaveAudio." That node is retired — Comfy Cloud's node search hides retired nodes, so an agent that followed the recipe and then searched forSaveAudiogot nothing back. This points the recipe at the current node,SaveAudioAdvanced, and adds one line telling an agent that already knows the old names why they're gone.The problem
skills/comfy-generate-audio.mdStep 4 instructed agents to wire the final audio tensor toSaveAudio. In the Comfy Cloud MCP server's bundled node catalog (data/object_info.json.gz),SaveAudio,SaveAudioMP3andSaveAudioOpusare alldeprecated: true— their display names literally end in(DEPRECATED)— andsearch_nodesfilters deprecated matches out of its results by default, returning them only as a "N deprecated match(es) hidden" note.So the recipe sent agents to build with a class the same server's discovery surface then refuses to show. The workflows still run (deprecated nodes execute), so this is guidance quality rather than breakage — but this file is served live as the MCP
generate-audioprompt, which makes the inconsistency agent-visible. Same defect class as #12 (technique-combine-people).What changed
Verified against the catalog blob on
comfy-cloud-mcp-server's default branch, not guessed:SaveAudioSave Audio (FLAC) (DEPRECATED)audio,filename_prefixSaveAudioMP3Save Audio (MP3) (DEPRECATED)audio,filename_prefix,qualitySaveAudioOpusSave Audio (Opus) (DEPRECATED)audio,filename_prefix,qualitySaveAudioAdvancedSave Audio (Advanced)audio,filename_prefix,formatSaveAudioAdvanced. It isoutput_node: trueand its required inputs are a strict superset of the oldSaveAudio's, so it is a drop-in for the recipe's purpose.formatrequirement. This is the one addition beyond the literal ask (see judgment calls):SaveAudioAdvancedrequiresformatwhereSaveAudiodid not, so a naive swap that carried over onlyaudio+filename_prefixwould fail validation. It costs a clause and removes the footgun.Nothing else in either file changed — Step 0's recent
api node/rewording and every other step are untouched.Judgment calls
claude-code/commands/generate-audio.mdis the same body plus a frontmatter block, shipped as the/comfy-cloud:generate-audioplugin command, and the two have been maintained in lockstep (the recentpartner/→api node/edit landed in both). It carried the identicalSaveAudiorecommendation, and it is the copy Claude Code users actually invoke — fixing only the skill would have left the user-facing command stale. Flagged rather than done silently; easy to drop the second file if the split is intentional.formatclause, above.Verification
No test or lint tooling exists in this repo (no
package.json, no linter config; the only workflow is the unreviewed-merge detector), so verification is the recipe's own contract plus a local replica of the downstream gate.grep -n 'SaveAudio' skills/comfy-generate-audio.md claude-code/commands/generate-audio.md— the only bareSaveAudiooccurrences left areSaveAudioAdvanced; the legacy names appear only on the line that says they are deprecated.comfy-cloud-mcp-servergains a test that fails if any bundled skill body names a class the bundledobject_infomarksdeprecated: true, exempting lines that contain the word "deprecated". I re-implemented that rule (same whole-word regex with[A-Za-z0-9_]lookarounds, same per-line exemption) and ran it over every file inskills/andclaude-code/commands/against the 94 deprecated classes in the shipped catalog. Both audio files: zero offenders. TheSaveAudioAdvancedrecommendation is not a false pass — the lookahead means theSaveAudiopattern does not match insideSaveAudioAdvanced. The only remaining offenders repo-wide aretechnique-combine-people(skill and command), which is #12's scope, not this PR's — note that #12 does not currently update its own command mirror either.deprecated/display_name/output_node/ required-input values in the table above were read out of the catalog blob on the server's default branch, and the "hidden fromsearch_nodes" half was confirmed in the server's discovery source, which filters deprecated matches out of results and returns them as a separate hidden-count note. The change redirects to a live class rather than dead-ending, so no capability is denied.Downstream
comfy-cloud-mcp-serverre-mirrors this file daily into its bundleddata/skills.json. A companion ticket patches that snapshot directly so the live prompt is fixed without waiting on the auto-refresh, and retires the recorded stale-reference exemption that currently letscomfy-generate-audio:SaveAudiopass the gate.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.