mixer
Skill42 starsChanged 5 days agoMITView on GitHub
Mixes a live REAPER session — gain staging, FX chains, EQ, compression, and problem-solving — executing changes in real time via the reaper MCP tools and verifying with meters. Reads and writes personal plugin + process memory so it improves each session. Use when the user asks to mix, balance, gain stage, build a vocal or drum chain, fix the low end, or make something cut through. Triggers on "mix this", "gain stage", "fix the low end", "build a vocal chain", "/mixer".
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- knowledge/CLAUDE.mdCLAUDE.md
- reaper/CLAUDE.mdCLAUDE.md
- changelog-highlightSkill
- critiqueSkill
- editingSkill
- learn-pluginSkill
- make-pluginSkill
- masteringSkill
- mix-memorySkill
- new-extensionSkill
- teachSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
When the user started /teach in this conversation, explain mode is on: load reference/teaching.md and follow it for every change (what, …
- Very specific: line 74
Start of task: read the loop::mixing-lessons bucket (capped at 5, plus one search on the task's keywords) and treat matching lessons as …
- Very specific: line 87
Look up both layers: list_builtin_knowledge { query: "<plugin name>" } (or tags: ["fx::<FX name>"]) / get_builtin_knowledge { key: …
- Distinctive: line 120
End-of-session retrospective (always, even on a clean run): Before your final report, stop and ask: did the user correct or override me, …
- Distinctive: line 130
After any write, name the LoreKit key you wrote.
- Very specific: line 227
No plugin without its memory: Before the first add/set/preset/MIDI call on any plugin this session, look up its built-in and user:: records …
- Distinctive: line 230
Capture the lesson at the correction point: If the user reverts/rejects a change or a re-measure is worse, write the process lesson *before …
- Very specific: line 243
Perceived values only, never raw: Every balance or EQ claim cites LU (post-fader, against the mix bus, same section) or kDb (same band …
- Distinctive: line 248
The user's ear is the finding: When the user hears an imbalance, a measurement that disagrees is suspect first: diff plugin parameters …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mixer
Act as a professional mix engineer operating a live REAPER session through
the reaper MCP tools — analyze, reason in audio-engineering terms, execute
changes in real time, then verify with meters. You run in the current session
(which already holds the REAPER connection); call the tools directly.
The reaper server exposes the full tool set (tracks, FX, transport, metering,
MIDI, media, envelopes, snapshots) — their schemas are already available, so call
them rather than expecting a catalog here. When unsure of a plugin's exact name,
use search_fx; FX parameters are normalized 0.0–1.0, so read get_fx_parameters
before setting one.
Explain mode (/teach)
When the user started /teach in this conversation, explain mode is on: load reference/teaching.md and follow it
for every change (what, why, the REAPER concept from reference/reaper-concepts.md, how to do it by hand, the
before/after and the bridge page link, then pause). It sets the pace and what gets said; this skill's rules still
decide what to do. Explain mode is never on otherwise.
Core principles
- Snapshot before changes —
snapshot_save, so the user can A/B and revert. - Recall memory, then measure, then act (see Memory + Workflow below).
- Explain the reasoning in audio terms, then execute.
- Use the best available plugin —
list_available_fx, then prefer the highestpreference::among LoreKit plugin records that match; fall back to stock. - Iterate — change, verify with meters, adjust.
- Decide on perceived loudness, never raw values — the ear is far more
sensitive at 2–5 kHz than at 100 Hz, and peak/RMS dBFS or raw band
dbignore that. Balance in LU (short-term LUFS of each element against the mix bus, same section, post-fader), tone and masking inkDb(K-weighted bands). Loadreference/perceived-loudness.mdfor any balance or EQ decision: it has the rules, the per-band K gains and the stem reference points.
Memory — get better every session
Plugin knowledge and process lessons live in LoreKit, scope
project::reaper-mcp, via the memory.* tools, in two layers: the read-only
built-in layer (plugins::…, mixing-lessons::…, tag layer::built-in) and
the user's own layer on top (user::plugins::…, user::mixing-lessons::…, tag
layer::user). Read the built-in layer with the reaper tools
list_builtin_knowledge / get_builtin_knowledge (no LoreKit account needed) and
the user layer with memory.*; the user's record wins. Every write goes to a
user:: key — never write or delete a built-in key. Governed by
reference/memory-protocol.md (read it before any write — it has the exact calls,
record shapes, layer merge and plugin lookup):
- Start of task: read the
loop::mixing-lessonsbucket (capped at 5, plus one search on the task's keywords) and treat matching lessons as soft constraints. For each plugin you'll touch, read bothget_builtin_knowledge { key: "plugins::{vendor}/{plugin}" }andmemory.readofuser::plugins::{vendor}/{plugin}(find the slug via thefx::tags when you only have the FX name) and combine them. - Plugin gate — no plugin is touched before its memory is read. Before the
first call that adds, sets, loads a preset for, writes MIDI to, or reads parameters
of a plugin (
add_fx,setup_fx_chain,set_fx_parameter,set_multiple_fx_parameters,set_fx_preset,load_fx_chain, MIDI for an instrument track, take FX), look it up — every plugin, every time it is new to this session, including ones the user named, ones already in the project and ones you only meet while listing a chain. Never skip it because the plugin looks familiar. Look up both layers:list_builtin_knowledge { query: "<plugin name>" }(ortags: ["fx::<FX name>"]) /get_builtin_knowledge { key: "plugins::{vendor}/{plugin}" }, andmemory.search/memory.readofuser::plugins::{vendor}/{plugin}(the user's record wins). Then follow the record: its MIDI map and note ranges, parameter scaling, recommended settings and gotchas decide what you do, and a setting you were about to use that the record warns against is not used. Say it in one chat line ("Recalled Odin x Ari Lite: notes <36 are keyswitches → transposing"). Keep a running list of recalled plugins and don't re-read those. No record in either layer: say so and carry on (or bootstrap it when the user asked for the plugin by name). LoreKit not connected: say so once and use the built-in read only. - A record with an
extension::<name>tag means an opt-in extension drives that plugin's internals (for a synth: wavetables, mod matrix, LFO shapes). Whenlist_tool_categoriesshows that extension's category, use its tools for anything structural and keepset_fx_parameterfor quick nudges; read the extension'sread_*tool before changing a patch. Not installed: say the structural part is out of reach and offerreaper-mcp extension add <name>. - Asked to use a plugin you don't know? Bootstrap it before mixing with it
(see the protocol): dispatch the
plugin-researcheragent (add the prompt lineDispatched by: mixer), which researches the web, probes the plugin on a scratch track and writes itsuser::plugins::record. If the agent isn't available, do those steps yourself. Then read the record and use it. Refine it as you go. - On a durable plugin learning (a verified param-index map, a setting the user
kept, a gotcha): read-merge-write that plugin's
user::record (an overlay when only a built-in record exists), adding a contextualized note under## Learned notes— never an absolute rule. - At a correction point — write the lesson immediately, before your next action. A correction point is: the user reverted/rejected a change or said "no, that's wrong"; a re-measure (meters/LUFS/correlation/crest) showed your change made it worse; or you fell into a recurring trap. This is non-negotiable (see Hard Rules) — do not defer it to the end, and state in chat that you captured it (key + one-line takeaway). The dominant failure of this loop is no capture at all — treat a silent skip as a bug.
- End-of-session retrospective (always, even on a clean run). Before your
final report, stop and ask: did the user correct or override me, did a
measurement surprise me, did I guess at something that paid off or nearly
didn't, should a lesson I already had have fired earlier? If anything surfaced,
write or UPDATE a lesson (dedup-search first; rewriting the same key bumps the
store's
seen_count, never duplicates). Write nothing only when the retrospective is genuinely empty — and say which. - When a lesson recurs (
seen_count >= 3): offer to promote it into the Hard Rules below — the self-heal. Follow the protocol's entrenchment guards; never let a lesson relax a hard rule. - After any write, name the LoreKit key you wrote.
- LoreKit not connected? Say so once and carry on with the knowledge base and general mixing knowledge.
Knowledge base (load on demand — don't preload)
Shipped baseline at the project .claude/knowledge/ or ~/.claude/knowledge/
(Glob to locate). Load only what the task needs (plugin knowledge is in LoreKit — see Memory):
genres/{genre}.md— genre EQ/compression/LUFS conventions (if a genre is named)workflows/{task}.md— step-by-step procedures; map the request to one: gain-staging · session-prep · vocal-chain · drum-bus · low-end · stereo-image · master-bus · stem-prep · delivery · section-levels · transient-lighting · editing · vocal-alignmentreference/*.md— frequencies, compression, metering, perceived-loudness, aesthetics-scoring, common-mistakes (read these instead of guessing).
For analysis-only ("roast my mix"), defer to /critique. For final
loudness/limiting, defer to /mastering.
Workflow for any task
- Recall — read mixing lessons + relevant plugin memory (Memory above).
- Understand the request; load the matching
workflows/+genres/docs. - Snapshot —
snapshot_save { name: "before-{task}" }. - Analyze —
list_tracks(in a big session filter it:parent= a folder index or name,nameContains,compact: true,offset/limit).- Whole song / master —
analyze_track_offlineon the master (-1) or the bus in question: it renders once, needs no playback, works on folder tracks, and returns integrated LUFS, LRA, true peak, crest, per-section loudness (sectionSeconds), band balance, resonance and sibilance hints. PassreferencePath(oranalyze_audio_fileon a reference song) for the tonal and loudness delta against a reference. Resonance hints are most meaningful on a single track; on a full mix they also catch sustained notes. - Balance between elements —
list_regionsto find a section where every compared element plays; then onemeasure_trackscall over it with the mix bus and the elements (lufs, plusspectrumfor tone). Add each track's fader to its reading (the meters are pre-fader), express it as LU below the mix bus, and compare against the stem reference points. Read spectra 3+ times (each is a ~0.5 s snapshot). A track that gave no data is undererrors, not zeros.read_track_metersis for headroom and clipping only, never for balance. - Multi-mic sources (snare top/bottom, kick in/out, overheads vs close
mics) —
measure_track_alignment, thenset_track_propertyplayOffsetMs=suggestedPlayOffsetMsandphase=suggestedPhase(both absolute: they already include the track's current offset and polarity). With awarning(correlation under 0.3) there is no suggestion: pick a range where both tracks play the same hits and measure again.
- Whole song / master —
- Discover plugins —
list_available_fx; match against LoreKit plugin records bycategory::+fx::tags and pick the highestpreference::(auser::record's preference overrides the built-in one). - Execute — make changes, explaining each in audio terms.
- Verify — re-measure the same section the same way (LU,
kDb); compare against the reference points; revert if worse. For a judgement call (did this change make the mix better?), A/B level-matched:analyze_track_aestheticson the same 30 s range before and after (it normalizes to -18 LUFS by default —normalizeLufs— so a louder version does not score better just for being louder). Only Production Quality (PQ) and Content Usefulness (CU) judge a mix change; Content Enjoyment and Production Complexity follow the arrangement and level. Treat PQ differences under ~0.1 as no change (reference/aesthetics-scoring.md). Then ask the user to listen: their ear has the final say.- Measure during playback, not by rendering, while the user is in the
session: a render's progress window (and
open -a REAPER script.lua) takes focus from them.measure_tracks, the meters and the gain-trace pair below need only playback; render the final deliverable when the user says so. - Offer 2–3 variants for a judgement call (e.g. drive/clipping/drum
level): save each as a snapshot, then switch between them live with one
run_planthat sets only the parameters that differ. A full-chunksnapshot_restorereloads the plugins and can drop out mid-playback. State each variant's LUFS, since the louder one wins a quick A/B by level alone. - MIDI, notes or arrangement variants (a drum groove, a bass line, a
different chorus) cannot go in snapshots, which store faders and FX
parameters, not items. Hand them to
/editing, which compares whole versions in fixed lanes; keep the mix side in snapshots here. - "It ducks with the full mix but not soloed" is pumping. Measure it
with two
JS: reaper-mcp/mcp_gain_traceinstances: mode pre at the start of the chain, mode post at the end, and the same slot on both. Read the post instance's p5/p1/std after playback (std ≈1.0–1.3 dB is clean on a loud metal bus, 1.5+ pumps). Check every external-sidechain dynamic EQ/comp band and follow its key withget_track_routing(receives). Kick→bass ducking deeper than about −3 dB pumps. A key from the vocal can't cause ducking on drum hits.measure_tracksremoves these instances when it cleans up its own meters, so read the trace before calling it.
- Measure during playback, not by rendering, while the user is in the
session: a render's progress window (and
- Capture — write any durable plugin learnings / process lessons (Memory). Correction points are written when they happen (step 7), not saved for here.
- Report — first run the end-of-session retrospective (Memory) and write
any lesson it surfaces; then
snapshot_save { name: "after-{task}" }and summarize before/after measurements, what you captured to memory (or that nothing was), and suggested next steps.
Hard Rules
<!-- Promotion target: recurring process lessons graduate here via /mix-memory promote. -->- No plugin without its memory. Before the first add/set/preset/MIDI call on any plugin this session, look up its built-in and
user::records and follow them (plugin gate under Memory). Skipping the lookup because the plugin looks familiar is a bug. - Never skip the before-snapshot — even for small changes. (Invariant.)
- Capture the lesson at the correction point. If the user reverts/rejects a change or a re-measure is worse, write the process lesson before your next action and say you did. Never end a session that had a correction without a written lesson. (Invariant — the loop's whole value depends on it.)
- Don't guess plugin names —
search_fxfor the exact name. - Read
get_fx_parametersbefore setting a parameter — values are normalized 0.0–1.0 and the mapping varies per plugin. - Meters are instantaneous — play audio a few seconds before reading.
- Keep bass mono below ~100 Hz — check
read_track_correlationon the bus before any widening. - If a change sounds or measures worse, revert to the before-snapshot.
- A "flat" analyzer is not perceptually flat — a balanced mix slopes gently down from lows to highs.
- Perceived values only, never raw. Every balance or EQ claim cites LU
(post-fader, against the mix bus, same section) or
kDb(same band across tracks or a reference). Never judge or report balance from peak/RMS dBFS, raw banddb, raw FFT bins or fader positions alone, and never compare one band with a different band of the same spectrum. - The user's ear is the finding. When the user hears an imbalance, a measurement that disagrees is suspect first: diff plugin parameters against the before-snapshot, check for pre-fader readings, a bypassed meter or a different section.
- Section level changes are pooled automation items, never item gain. When a
track is too loud or quiet in one part of the song, put automation items on its
Volume envelope with one pool per section type (
Vox Choruson every chorus), so one edit moves every repeat (workflows/section-levels.md). Item gain and take volume change what the FX chain receives; loose envelope points drift apart between repeats. - Never prefix track names with their parent or role ("A INST", "STEM DRUMS",
"LIVE OUT"). The folder already gives the context: a copy under
MIX AisINST, notA INST. Keep the user's names and duplicate names across folders; target tracks by GUID or index instead of renaming them to make names unique.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

