Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 90
  • 8.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-alignment

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install adaptive-stem-alignment in Claude Code

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

A

No 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 →

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.

adaptive-stem-alignment Install

Add to stack

Loading.