adaptive-stem-alignment
Skill by HKUDS
Adaptive Stem Alignment is an agent skill from HKUDS that guides a step-by-step audio production workflow. It covers timing calculation, reference file checks, per-stem verification and duration alignment before mixing. It is aimed at people producing multi-stem audio with Python.
Install adaptive-stem-alignment
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-b8f537 ~/.claude/skills/adaptive-stem-alignmentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install adaptive-stem-alignment in Claude Code
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-b8f537 ~/.gemini/antigravity-cli/skills/adaptive-stem-alignmentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install adaptive-stem-alignment in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Adaptive Stem Alignment is an agent skill published by HKUDS. It sets out an audio production workflow with a fixed order of steps. The assistant calculates section transitions from BPM and duration first, verifies a reference WAV file, then generates and checks each stem one at a time. A separate drum step builds simple kick and snare patterns.
The skill also covers stems of different lengths. It describes zero-padding, looping, crossfade extension and time-stretch as options, chosen by stem type. Before mixing, it checks that every stem matches the target duration. The examples use Python with soundfile and numpy. The skill suits people producing multi-stem audio who want verification at each step.
Written from the project's SKILL.md and checked against it.
What it can do
- Early timing calculationDerives beat-aligned section transitions from BPM and total duration before any audio is generated.
- Reference verificationChecks a reference WAV file for sample rate, minimum duration and channel count.
- Per-stem generationGenerates each stem one at a time and verifies its sample rate, subtype and duration.
- Drum stem generationBuilds a separate drum stem with kick and snare patterns aligned to the tempo.
- Duration alignment strategiesDescribes zero-padding, looping, crossfade extension and time-stretch for mismatched stems.
- Pre-mix verificationChecks that all stems match the target duration before the mix is made.
What you need
- Python
- soundfile library
- numpy library
Try asking
- Use adaptive-stem-alignment to plan section timing for a 120 BPM track.
- Verify my reference.wav is 48kHz and at least 130 seconds before stem work.
- Generate bass, guitar and synth stems, then check each one before mixing.
Good to know
- Step 5 duration alignment code is cut off in the source.
- The example stems are generated sine waves and simple drum patterns, not recorded audio.
- The workflow is designed to avoid large array operations that can cause sandbox failures.
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-b8f537/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.skill_id61 B -
SKILL.md29 KB
Alternatives to adaptive-stem-alignment
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
adaptive-stem-alignment: common questions
What does adaptive stem alignment do?
It is a workflow for audio production that verifies each step and handles stems of different durations. It covers timing, reference checks, stem generation and pre-mix alignment.
How does it handle stems of different lengths?
The source describes zero-padding, looping, crossfade extension and time-stretch, with the strategy chosen by stem type. It also checks that all stems match the target duration before mixing.
Who is this skill for?
The source describes it as a pattern for audio production that emphasizes incremental verification and fail-fast checks. It is written for producers building multi-stem tracks in Python.
How do I install adaptive-stem-alignment?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is adaptive-stem-alignment free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is adaptive-stem-alignment 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 adaptive-stem-alignment?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
