aligned-stem-workflow
Skill by HKUDS
Guides an assistant through incremental audio stem production, with per-stem checks and duration alignment. Meant for audio producers and developers who work with Python and WAV stems.
Install aligned-stem-workflow
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/AgentPilot /tmp/AgentPilot && mkdir -p ~/.claude/skills && cp -r /tmp/AgentPilot/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced ~/.claude/skills/aligned-stem-workflowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/AgentPilot /tmp/AgentPilot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/AgentPilot/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced ~/.gemini/antigravity-cli/skills/aligned-stem-workflowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install aligned-stem-workflow in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The aligned-stem-workflow skill gives an assistant a step-by-step pattern for producing audio stems. It calls for calculating section timing from BPM before generating audio, verifying a reference WAV file, and generating and checking each stem one at a time. Each step must pass verification before the next one starts, and failures stop the process.
When stem durations differ, the skill covers three extension strategies: zero-padding, looping, and crossfade extension. It uses the soundfile and numpy Python libraries in its examples. The code samples are partial, and the stem generator uses placeholder sine tones. It is intended for audio production work where stems need to match a reference length and sample format.
Written from the project's SKILL.md and checked against it.
What it can do
- Section timingCalculates beat-aligned section transitions from BPM and duration before any audio is generated.
- Reference verificationChecks a reference WAV file's sample rate and duration and extracts a target length.
- Per-stem verificationGenerates each stem one at a time and checks its sample rate, subtype and duration.
- Duration alignmentExtends short stems with zero-padding, looping or crossfade based on the gap and stem type.
- Separate drum stepTreats drum stem generation as its own step with rhythm-specific extension.
- Effects and master exportDescribes applying effects per stem, mixing verified stems into a master and archiving outputs.
What you need
- Python
- soundfile library
- numpy library
- Reference WAV file
Try asking
- Calculate section timings for a 137 second track at 120 BPM.
- Check that my reference.wav is 48 kHz and at least 130 seconds long.
- Align my bass stem to the reference duration using looping.
Good to know
- The source ends partway through a code sample.
- The stem generator creates placeholder sine tones and must be customized for each stem type.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.skill_id54 B -
SKILL.md27 KB
Alternatives to aligned-stem-workflow
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
aligned-stem-workflow: common questions
Does this skill generate real music stems?
The example generator produces simple sine tones as placeholders. The source says stem content must be customized per stem type.
How does it handle stems of different lengths?
It offers zero-padding for short gaps, looping for repetitive parts like drums and bass, and crossfade extension for melodic content.
Why verify each stem right after it is generated?
The source describes a fail-fast approach where errors stop the process at each step instead of piling up.
How do I install aligned-stem-workflow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aligned-stem-workflow free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is aligned-stem-workflow safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to aligned-stem-workflow?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
