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

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.

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

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

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

Step-by-step: install aligned-stem-workflow in Claude Code

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

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

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.

aligned-stem-workflow Install

Add to stack

Loading.