agentleFS
mthinesmthines/reaper-mcp/.claude/skills/mastering/SKILL.md

mastering

Skill42 starsChanged 5 days agoMITView on GitHub

Masters the mix bus in a live REAPER session — gentle corrective EQ, glue compression, and a true-peak limiter targeting a platform LUFS standard — while verifying against metering and preserving the mix's character. Use when the user asks to master, finalize, or prepare a track for Spotify/Apple/streaming or a specific loudness target. Triggers on "master this", "prepare for Spotify", "final master", "hit -14 LUFS", "/mastering".

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the user started /teach in this conversation, explain mode is on: load reference/teaching.md and follow it for every change (what, …

    line 36
  2. Very specific:

    Default to -14 LUFS, -1.0 dBTP (safe for all streaming) unless the user names a platform.

    line 43
  3. Very specific:

    Before: read the loop::mixing-lessons bucket (capped at 5 + one search on "mastering limiter loudness …") and, for your limiter/EQ/comp …

    line 51
  4. Very specific:

    Look up both layers: list_builtin_knowledge { query: "<plugin name>" } (or tags: ["fx::<FX name>"]) / get_builtin_knowledge { key: …

    line 63
  5. Very specific:

    UPDATE a lesson (rewriting the same key bumps the store's seen_count).

    line 85
  6. Distinctive:

    If the limiter pumps (guitars/bass dip on every drum hit), clip before it rather than lowering drive or limiting harder.

    line 117
  7. Very specific:

    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 …

    line 149

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Mastering

Act as a mastering engineer working the mix bus in a live REAPER session via the reaper MCP tools. Apply a transparent chain that hits a loudness standard while preserving the mix's character.

Mastering is subtle — moves are fractions of a dB. If large corrections are needed, tell the user the mix needs work first and consider /mixer.

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.

Targets

Default to -14 LUFS, -1.0 dBTP (safe for all streaming) unless the user names a platform. Full target table: reference/metering.md.

Memory

Per reference/memory-protocol.md — plugin knowledge and lessons in LoreKit (scope project::reaper-mcp), in two layers: the read-only built-in layer and the user's own user:: layer on top. Reads combine both; writes go to user:: keys only.

  • Before: read the loop::mixing-lessons bucket (capped at 5 + one search on "mastering limiter loudness …") and, for your limiter/EQ/comp plugins, both get_builtin_knowledge { key: "plugins::{vendor}/{plugin}" } and memory.read of user::plugins::{vendor}/{plugin} — past targets the user preferred and known gotchas (the user record wins).
  • 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>" } (or tags: ["fx::<FX name>"]) / get_builtin_knowledge { key: "plugins::{vendor}/{plugin}" }, and memory.search / memory.read of user::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.
  • Unknown plugin? Bootstrap it first (see protocol): dispatch the plugin-researcher agent (prompt line Dispatched by: mastering; or follow its steps yourself), then read its user::plugins:: record and use it.
  • At a correction point — write the lesson immediately, before your next action (the user found your master too loud and you backed off; a re-measure missed the LUFS/true-peak target; you over-limited and lost crest). Non- negotiable (see Hard Rules); say in chat that you captured it (key + takeaway). A silent skip is a bug.
  • End-of-session retrospective (always, even on a clean master). Before the final report, ask: did the user override a target/ceiling, did a measurement surprise me, did a lesson I had fail to fire? If anything surfaced, write or UPDATE a lesson (rewriting the same key bumps the store's seen_count). A lesson seen >= 3× is promotable to a Hard Rule via /mix-memory promote.
  • Durable facts: also capture a verified limiter param map or a ceiling the user kept under the user::plugins:: record's ## Learned notes (read-merge-write; never write a built-in key). Name the key you wrote.

Workflow

  1. Snapshot — snapshot_save { name: "pre-master" }.
  2. Discover plugins — list_available_fx; prefer limiter Pro-L 2 > ReaLimit, EQ Pro-Q 3 > ReaEQ (linear phase for mastering), comp Pro-C 2 > ReaComp. Check the LoreKit plugin records (built-in + user::) for settings; bootstrap any unknown plugin first.
  3. Assess the bus — analyze_track_offline { trackIndex: -1, startTime: 0, endTime: <song end>, sectionSeconds: 10 }: integrated LUFS over the whole song (not a few seconds of meter), LRA, true peak, crest, loudest/quietest sections and band balance. With a reference song, add referencePath for the loudness and tonal-balance delta. Peak should be -6 to -3 dBFS (reduce the mix fader first if hotter); note distance from target LUFS and the dynamics. Pass the target as targetLufs on every read_track_lufs / measure_tracks call, so the bridge page shows each reading against it.
  4. Corrective EQ — gentle only. Typical: steep HPF 20–30 Hz; low shelf -0.5 to -1 dB @ 80 Hz; low-mid dip -0.5 to -1 dB @ 250–350 Hz; +0.5 dB presence @ 2–4 kHz only if needed; air shelf +0.5 to +1 dB @ 10–12 kHz. The 2–5 kHz range has outsized perceptual impact (reference/perceived-loudness.md). Judge the bus spectrum on K-weighted kDb, never raw db, against a level-matched reference band by band, and read it 3+ times (each read is a ~0.5 s snapshot). If you're EQing more than ±2 dB, the mix has a problem — go back.
  5. Glue compression (optional) — only for cohesion: 1.5:1–2:1, slow attack 30–80 ms, auto/200–500 ms release, 1–2 dB GR max. More GR → fix the mix.
  6. Limiter (last in chain) — ceiling -1.0 dBTP (streaming) or -0.3 (CD); raise input until integrated LUFS hits target; keep limiter GR under ~3 dB. If the limiter pumps (guitars/bass dip on every drum hit), clip before it rather than lowering drive or limiting harder. Put a clipper (e.g. Free Clip 2) just before the limiter, with a ceiling ~1–1.5 dB under the level that arrives at it (an upstream limiter's ceiling, not 0 dBFS). The clipper only alters the peak samples, while the limiter's gain change pulls the whole mix down for its release time. Seen live: master pumping std 1.35 → 1.06 dB at +0.25 LU. Keep it to ≤1.5 dB (lesson drum-bus-clip-buries-attack). Dynamics over loudness: streaming turns everything down to about -14 LUFS, so a hotter master only loses punch there. Don't chase a loud reference's LUFS. Offer louder as an option the user picks by ear.
  7. Verify — analyze_track_offline on the master over the whole song: integrated LUFS within 0.5 of target, true peak below the ceiling, LRA and crest genre-appropriate; read_track_correlation healthy (>0.3). To compare chain versions, analyze_track_aesthetics on the same 30 s range keeps the default level match (-18 LUFS), so the louder master does not win by level; PQ moves under ~0.1 are noise (reference/aesthetics-scoring.md). While the user is working in REAPER, verify during playback instead of rendering (a render window takes focus). Use measure_tracks on the bus for LUFS + true peak over the loud section, or the stock Loudness Meter in true-peak mode. For a final choice, build 2–3 variants and switch them live with run_plan (mixer skill, step 7). Render the deliverable once, when the user asks.
  8. Report — first run the end-of-session retrospective (Memory) and write any lesson it surfaces; then snapshot_save { name: "master-v1" } and report target vs achieved LUFS, true peak, crest, the chain + settings, any compromises, and what you captured to memory (or that nothing was).

Hard Rules

<!-- Promotion target: recurring mastering 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.
  • Capture the lesson at the correction point — if the user overrides a target/ceiling or a re-measure misses, write the lesson before your next action and say you did. Never end a session that had a correction without a written lesson. (Invariant.)
  • Mastering is the final stage — the mix should already be finished.
  • If the bus clips before you start, reduce it first — don't just add a limiter.
  • Linear-phase EQ if available — avoids phase shift on the master.
  • Always A/B with snapshot_restore — mastering is subtle enough to fool you.
  • A balanced master slopes gently down from lows to highs on the analyzer.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.