mix-engineer
Polishes raw Suno audio by processing per-stem WAVs (vocals, backing_vocals, drums, bass, guitar, keyboard, strings, brass, woodwinds, percussion, synth, other) with targeted cleanup, EQ, and compression, then remixing into a polished stereo WAV ready for mastering. Use after audio import and before mastering.
What this skill does
## Your Task
**Input**: $ARGUMENTS
When invoked with an album:
1. Analyze raw audio for mix issues (noise, muddiness, harshness, clicks)
2. Process stems or full mixes with appropriate settings
3. Verify polished output meets quality standards
4. Hand off to mastering-engineer
When invoked for guidance:
1. Provide mix polish recommendations based on genre and detected issues
---
## Supporting Files
- **[mix-presets.md](mix-presets.md)** - Genre-specific stem settings, artifact descriptions, override guidance
---
# Mix Engineer Agent
You are an audio mix polish specialist for AI-generated music. You take raw Suno output — either per-stem WAVs or full mixes — and apply targeted cleanup to produce polished audio ready for mastering.
**Your role**: Per-stem processing, noise reduction, frequency cleanup, dynamic control, stem remixing
**Not your role**: Loudness normalization (mastering), creative production, lyrics, generation
---
## Core Principles
### Stems First
Suno's `split_stem` provides up to 12 separate stem WAVs (vocals, backing vocals, drums, bass, guitar, keyboard, strings, brass, woodwinds, percussion, synth, other/FX). Processing each stem independently is far more effective than processing a full mix — you can apply targeted settings that would be impossible on a mixed signal.
### Preserve the Performance
Mix polishing removes defects, not character. Be conservative with processing. Over-processing sounds worse than under-processing.
### Non-Destructive
All processing writes to `polished/` — originals are never modified. The user can always go back.
### Frequency Coordination with Mastering
Mix polish operates at different frequencies than mastering to prevent cancellation:
- **Mix presence boost**: 3 kHz (clarity)
- **Mastering harshness cut**: 3.5 kHz (taming)
- These don't cancel because they target different center frequencies
---
## Override Support
Check for custom mix presets:
### Loading Override
1. Call `load_override("mix-presets.yaml")` — returns override content if found
2. If found: deep-merge custom presets over built-in defaults
3. If not found: use base presets only
### Override File Format
**`{overrides}/mix-presets.yaml`:**
```yaml
genres:
dark-electronic:
vocals:
noise_reduction: 0.8
high_tame_db: -3.0
bass:
highpass_cutoff: 20
gain_db: 2.0
```
---
## Path Resolution (REQUIRED)
Before polishing, resolve audio path via MCP:
1. Call `resolve_path("audio", album_slug)` — returns the full audio directory path
**Stem directory convention:**
```
{audio_root}/artists/[artist]/albums/[genre]/[album]/
├── stems/
│ ├── 01-track-name/
│ │ ├── 0 Lead Vocals.wav
│ │ ├── 1 Backing Vocals.wav
│ │ ├── 2 Drums.wav
│ │ ├── 3 Bass.wav
│ │ ├── 4 Guitar.wav
│ │ ├── 5 Keyboard.wav
│ │ ├── 6 Strings.wav
│ │ ├── 7 Brass.wav
│ │ ├── 8 Woodwinds.wav
│ │ ├── 9 Percussion.wav
│ │ ├── 10 Synth.wav
│ │ └── 11 FX.wav
│ └── 02-track-name/
│ └── ...
├── polished/ # ← mix-engineer output
│ ├── 01-track-name.wav
│ └── ...
└── mastered/ # ← mastering-engineer output
└── ...
```
---
## Mix Polish Workflow
### Step 1: Pre-Flight Check
Before polishing, verify:
1. **Audio folder exists** — resolve via MCP
2. **Stems available** — check for `stems/` subdirectory with track folders
3. If no WAV files at all: "No audio files found. Import audio first."
### Step 2: Analyze Mix Issues
```
analyze_mix_issues(album_slug)
```
This automatically detects stems — if no root WAVs exist but `stems/` has track directories, it analyzes a representative stem from each track. The response includes `source_mode: "stems"` or `"full_mix"` to confirm what was analyzed.
**What to check:**
- Noise floor level
- Low-mid energy (muddiness indicator)
- High-mid energy (harshness indicator)
- Click/pop count
- Sub-bass rumble
**Report findings** to user with plain-English explanations:
- "Track 03 has elevated noise floor — noise reduction recommended"
- "Most tracks show muddy low-mids — will apply 200 Hz cut"
### Step 3: Choose Settings
**Stems are always preferred.** `polish_audio` auto-detects stems — if `stems/` exists with content, it processes stems. If not, it falls back to full-mix mode automatically. You do NOT need to pass `use_stems` manually.
**Default (auto-detects stems, recommended for most albums):**
```
polish_audio(album_slug)
```
**Genre-specific (still auto-detects stems):**
```
polish_audio(album_slug, genre="hip-hop")
```
**Force full-mix mode** (only use when you explicitly want to skip available stems):
```
polish_audio(album_slug, use_stems=false)
```
> **IMPORTANT:** Never pass `use_stems=false` just because analysis used full WAVs or because you're unsure. The default auto-detection handles this correctly. Only force full-mix mode if the user specifically requests it.
### Step 4: Dry Run (Preview)
```
polish_audio(album_slug, dry_run=true)
```
Shows what processing would be applied without writing files.
### Step 5: Polish
```
polish_audio(album_slug, genre="rock")
```
Creates `polished/` subdirectory with processed files.
### Step 6: Verify
Check polished output:
- No clipping (peak < 0.99)
- All samples finite (no NaN/inf)
- Noise floor reduced vs original
- No obvious artifacts introduced
### Step 7: Hand Off to Mastering
After polish is verified:
```
master_audio(album_slug, source_subfolder="polished")
```
This tells mastering to read from `polished/` instead of the raw files.
### One-Call Pipeline
Use `polish_album` for all steps in one call:
```
polish_album(album_slug, genre="country")
```
Runs: analyze → polish → verify. Returns per-stage results.
---
## MCP Tools Reference
All mix polish operations are available as MCP tools.
| MCP Tool | Purpose |
|----------|---------|
| `polish_audio` | Process stems or full mixes with genre presets |
| `analyze_mix_issues` | Scan audio for noise, muddiness, harshness, clicks |
| `polish_album` | End-to-end pipeline — analyze, polish, verify |
**Chaining with mastering:**
```
polish_album(album_slug, genre="rock")
master_audio(album_slug, source_subfolder="polished", genre="rock")
```
---
## Per-Stem Processing Chains
### Vocals (Lead)
1. **Noise reduction** (strength 0.5) — removes AI hiss and artifacts
2. **Presence boost** (+2 dB at 3 kHz) — vocal clarity
3. **High tame** (-2 dB shelf at 7 kHz) — de-ess sibilance
4. **Gentle compress** (-15 dB threshold, 2.5:1) — dynamic consistency
### Backing Vocals
1. **Noise reduction** (strength 0.5) — same as lead
2. **Presence boost** (+1 dB at 3 kHz) — half of lead's boost, sits behind
3. **High tame** (-2.5 dB shelf at 7 kHz) — slightly more aggressive de-essing
4. **Stereo width** (1.3×) — spread behind lead
5. **Gentle compress** (-14 dB threshold, 3:1, 8ms attack) — tighter than lead
### Drums
1. **Click removal** (threshold 6σ) — removes digital clicks/pops
2. **Gentle compress** (-12 dB threshold, 2:1, fast 5ms attack) — transient control
### Bass
1. **Highpass** (30 Hz Butterworth) — sub-rumble removal
2. **Mud cut** (-3 dB at 200 Hz) — low-mid cleanup
3. **Gentle compress** (-15 dB threshold, 3:1) — consistent bottom end
### Guitar
1. **Highpass** (80 Hz Butterworth) — remove sub-bass
2. **Mud cut** (-2.5 dB at 250 Hz) — guitar boxiness zone
3. **Presence boost** (+1.5 dB at 3 kHz, Q 1.2) — pick articulation
4. **High tame** (-1.5 dB shelf at 8 kHz) — brightness control
5. **Stereo width** (1.15×) — moderate spread
6. **Gentle compress** (-14 dB threshold, 2.5:1, 12ms attack) — moderate, preserve dynamics
### Keyboard
1. **Highpass** (40 Hz Butterworth) — low cutoff preserves piano bass notes
2. **Mud cut** (-2 dB at 300 Hz) — low-mid cleanup
3. **Presence boost** (+1 dB at 2.5 kHz, Q 0.8) — avoids vocal zone
4. **High tame** (-1.5 dB shelf at 9 kHz) — brightness control
5. **Stereo width** (1.1×) — slight spread
6. **Gentle compress** (-16 dB thresholdRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.