@mthines/reaper-mcp 0.106.0 → 0.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -45
- package/bridge-ui/mcp_bridge.html +4 -4
- package/claude/knowledge/reference/memory-protocol.md +65 -0
- package/claude/skills/critique/SKILL.md +1 -0
- package/claude/skills/editing/SKILL.md +3 -2
- package/claude/skills/make-plugin/SKILL.md +1 -1
- package/claude/skills/mastering/SKILL.md +1 -1
- package/claude/skills/mix-memory/SKILL.md +23 -1
- package/claude/skills/mixer/SKILL.md +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ How the mix skills recall and persist what they know.
|
|
|
6
6
|
|------|-------|
|
|
7
7
|
| **Reference knowledge** — genres, workflows, reference material | `~/.claude/knowledge/` (symlink to the repo's `knowledge/`, versioned in git) |
|
|
8
8
|
| **Plugin knowledge + process lessons** | **LoreKit**, scope `project::reaper-mcp`, via the `memory.*` MCP tools — in two layers, below |
|
|
9
|
+
| **User preferences** — how this person likes to work with music and REAPER | **LoreKit**, same scope, a short list read at the start of every task — see [User preferences](#user-preferences) |
|
|
9
10
|
|
|
10
11
|
## The two layers
|
|
11
12
|
|
|
@@ -46,6 +47,62 @@ they just can't write anything.
|
|
|
46
47
|
continue on the built-in layer plus general mixing knowledge — nothing is written.
|
|
47
48
|
If the built-in tools error (offline), continue on the user layer alone.
|
|
48
49
|
|
|
50
|
+
## User preferences
|
|
51
|
+
|
|
52
|
+
A **very small** list of standing facts about how this person works with music and
|
|
53
|
+
REAPER — the things they would otherwise repeat every session. Not lessons (those
|
|
54
|
+
are corrections to *your* process, tag `loop::mixing-lessons`) and not plugin
|
|
55
|
+
knowledge: a preference is the user's taste or habit, stated or confirmed by them.
|
|
56
|
+
|
|
57
|
+
Examples: "Metalcore, 4-string and 7-string guitars, tight low end", "Mix at
|
|
58
|
+
-18 LUFS-I into the bus, master separately", "Always snapshot before a mix pass",
|
|
59
|
+
"Explain in plain language, no jargon", "Samples live in /Volumes/…" (only when the
|
|
60
|
+
path holds nothing personal).
|
|
61
|
+
|
|
62
|
+
| | |
|
|
63
|
+
|---|---|
|
|
64
|
+
| Scope / key | `project::reaper-mcp` / `user::preferences::<slug>` |
|
|
65
|
+
| Tags | `user-preference`, `layer::user`, optionally `area::<mixing\|mastering\|editing\|plugins\|workflow\|style>` |
|
|
66
|
+
| Layer | **User only.** There is no built-in layer: a preference is personal |
|
|
67
|
+
| Body | Pure markdown, one statement, at most 3 lines: the preference, then `**Why:**` when the user gave a reason |
|
|
68
|
+
| Cap | **8 read per task, ~30 preferences stored.** Keep each short; merge near-duplicates instead of adding. Over the cap, `/mix-memory prefs` proposes what to merge or drop |
|
|
69
|
+
| TTL | None |
|
|
70
|
+
|
|
71
|
+
**Reading.** Every skill reads the list at the start of a task (the call above) and
|
|
72
|
+
treats each entry as the user's **stated intent**: it outranks a lesson and a
|
|
73
|
+
built-in default, and loses only to what the user says *in this task*. Say what you
|
|
74
|
+
applied in one line ("Preferences: tight low end, -18 LUFS-I into the bus") so a
|
|
75
|
+
wrong one gets corrected. Not connected: say so once and carry on with none.
|
|
76
|
+
|
|
77
|
+
**Writing.** Only on the user's own words, never inferred from one accepted
|
|
78
|
+
change:
|
|
79
|
+
|
|
80
|
+
- they say "always / never / I prefer / I like / remember that…" about their work
|
|
81
|
+
→ write it now and say so (key + the sentence);
|
|
82
|
+
- `/mix-memory prefs add <sentence>` writes one on request.
|
|
83
|
+
|
|
84
|
+
Before writing, `memory.search` the tag for a near-duplicate and update that key
|
|
85
|
+
instead (`expected_version` from the read). The privacy guard applies: no names of
|
|
86
|
+
clients, songs or people, no secrets.
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
memory.write {
|
|
90
|
+
scope: "project::reaper-mcp",
|
|
91
|
+
key: "user::preferences::<slug>",
|
|
92
|
+
value: "Tight low end: high-pass guitars at 80 Hz, keep kick and bass as the only low-end sources.\n**Why:** metalcore, muddy below 100 Hz.",
|
|
93
|
+
tags: ["user-preference", "layer::user", "area::mixing"],
|
|
94
|
+
kind: "signal",
|
|
95
|
+
host: "mixing",
|
|
96
|
+
trigger: "manual",
|
|
97
|
+
source_agent: "<mixer | mastering | critique | editing | make-plugin | mix-memory>"
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
A preference the user withdraws is archived with `memory.delete` on its **`user::`
|
|
102
|
+
key** (rule 2 above applies).
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
49
106
|
## Privacy guard
|
|
50
107
|
|
|
51
108
|
Only write audio knowledge — plugins and mixing. Never secrets, license keys,
|
|
@@ -83,6 +140,14 @@ analysis**. Read-only means they don't change the *mix*, not that they don't lea
|
|
|
83
140
|
|
|
84
141
|
## Read step (start of every task)
|
|
85
142
|
|
|
143
|
+
**Preferences first** — one call, read before anything else (see
|
|
144
|
+
[User preferences](#user-preferences)):
|
|
145
|
+
|
|
146
|
+
```text
|
|
147
|
+
memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
|
|
86
151
|
Lessons are capped — at most 5 per layer per read, so memory never crowds out the session.
|
|
87
152
|
|
|
88
153
|
```text
|
|
@@ -45,6 +45,7 @@ mix skill — `/critique` included).
|
|
|
45
45
|
|
|
46
46
|
**Recall (before analyzing)** — learned memory is in LoreKit, scope
|
|
47
47
|
`project::reaper-mcp` (if `memory.*` isn't connected, say so and carry on):
|
|
48
|
+
- Preferences first: `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }`; what the user likes is not a flaw to flag, so name what you applied in one line. A newly stated "always/never/I prefer" is written as `user::preferences::<slug>` (protocol: *User preferences*).
|
|
48
49
|
- the `loop::mixing-lessons` bucket (capped at 5 + one keyword search) — past
|
|
49
50
|
process lessons help you weight what to flag.
|
|
50
51
|
- the plugin records for **every** plugin you comment on, looked up before you judge it
|
|
@@ -68,12 +68,13 @@ decide what to do. Explain mode is never on otherwise.
|
|
|
68
68
|
4. **Validate, then write.** Check pitch range, track and item before the first
|
|
69
69
|
write. A MIDI write that fails halfway is undone by the server; a bad import
|
|
70
70
|
can still leave an item you did not want, so list items after.
|
|
71
|
-
5. **
|
|
71
|
+
5. **Preferences first**: `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }`; apply them as the user's stated intent and name what you applied in one line. A newly stated "always/never/I prefer" is written as `user::preferences::<slug>` (protocol: *User preferences*).
|
|
72
|
+
6. **Check the instrument before writing MIDI.** A sampled instrument has note
|
|
72
73
|
ranges and keyswitch zones (Odin x Ari Lite: notes below 36 are keyswitches,
|
|
73
74
|
so music written there is silent or switches articulation). Read the plugin's
|
|
74
75
|
record (`get_builtin_knowledge`, `memory.read` of `user::plugins::…`) before
|
|
75
76
|
writing a part, and probe one note if it is unverified.
|
|
76
|
-
|
|
77
|
+
7. **Plugin gate — no plugin is touched before its memory is read.** Before the
|
|
77
78
|
first call that adds, sets, loads a preset for, writes MIDI to, or reads parameters
|
|
78
79
|
of a plugin (`add_fx`, `setup_fx_chain`, `set_fx_parameter`,
|
|
79
80
|
`set_multiple_fx_parameters`, `set_fx_preset`, `load_fx_chain`, MIDI for an
|
|
@@ -65,7 +65,7 @@ made.
|
|
|
65
65
|
|
|
66
66
|
### Step 0: Load what earlier runs learned
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Preferences first: `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }`; apply them as the user's stated intent and name what you applied in one line. A newly stated "always/never/I prefer" is written as `user::preferences::<slug>` (protocol: *User preferences*). Then read the LoreKit lessons (`memory.list` in `project::reaper-mcp`, tag `loop::make-plugin-lessons`,
|
|
69
69
|
at most 5). They are considerations, not rules. Continue without them if LoreKit is not
|
|
70
70
|
connected, and say so in the report.
|
|
71
71
|
|
|
@@ -48,7 +48,7 @@ a platform. Full target table: `reference/metering.md`.
|
|
|
48
48
|
Per `reference/memory-protocol.md` — plugin knowledge and lessons in LoreKit
|
|
49
49
|
(scope `project::reaper-mcp`), in two layers: the read-only **built-in** layer and
|
|
50
50
|
the user's own `user::` layer on top. Reads combine both; writes go to `user::` keys only.
|
|
51
|
-
- **Before:** read the `loop::mixing-lessons` bucket (capped at 5 + one search on
|
|
51
|
+
- **Before:** preferences first: `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }`; apply them as the user's stated intent and name what you applied in one line. A newly stated "always/never/I prefer" is written as `user::preferences::<slug>` (protocol: *User preferences*). Then read the `loop::mixing-lessons` bucket (capped at 5 + one search on
|
|
52
52
|
"mastering limiter loudness …") and, for your limiter/EQ/comp plugins, both
|
|
53
53
|
`get_builtin_knowledge { key: "plugins::{vendor}/{plugin}" }` and `memory.read`
|
|
54
54
|
of `user::plugins::{vendor}/{plugin}` — past
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: mix-memory
|
|
3
3
|
description: Recall and maintain the mixing skills' memory in LoreKit (scope project::reaper-mcp) — plugin knowledge records and self-healing process lessons, as a read-only built-in layer plus the user's own layer on top. Modes — recall (load what's relevant before work), consolidate (merge duplicate user lessons, fold proven plugin notes into recommended settings), promote (turn a recurring lesson into a hard rule), publish (maintainer only — move a user record into the built-in layer), status (what's stored, per layer). Triggers on "what have you learned", "recall mixing memory", "consolidate memory", "promote that lesson", "publish to built-in", "/mix-memory".
|
|
4
4
|
disable-model-invocation: false
|
|
5
|
-
argument-hint: '[recall|consolidate|promote|publish|status] [plugin-slug|lesson-slug]'
|
|
5
|
+
argument-hint: '[recall|consolidate|promote|publish|status|prefs] [plugin-slug|lesson-slug]'
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# /mix-memory
|
|
@@ -40,6 +40,7 @@ Parse the first argument:
|
|
|
40
40
|
| `promote` | | "promote that lesson", "make it a rule" |
|
|
41
41
|
| `publish` | | "publish to built-in", "make it a default", "share this plugin record" |
|
|
42
42
|
| `status` | | "memory status", "what's stored", "list memory" |
|
|
43
|
+
| `prefs` | | "my preferences", "remember that I always…", "forget that preference", "/mix-memory prefs" |
|
|
43
44
|
|
|
44
45
|
State the detected mode in one line before acting.
|
|
45
46
|
|
|
@@ -129,6 +130,27 @@ of the `reaper-mcp` org sees.
|
|
|
129
130
|
|
|
130
131
|
---
|
|
131
132
|
|
|
133
|
+
## prefs
|
|
134
|
+
|
|
135
|
+
The user's standing preferences for music and REAPER (tag `user-preference`, keys
|
|
136
|
+
`user::preferences::<slug>`; contract: *User preferences* in the protocol). A short
|
|
137
|
+
list the skills read at the start of every task.
|
|
138
|
+
|
|
139
|
+
- `prefs` (no argument): `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], limit: 100 }`,
|
|
140
|
+
shown as a short table (slug, the sentence, area). Over 8 entries, say only the 8
|
|
141
|
+
top-ranked are read per task and propose merging or dropping the rest; over ~30,
|
|
142
|
+
insist.
|
|
143
|
+
- `prefs add <sentence>`: search the tag for a near-duplicate and update that key
|
|
144
|
+
instead; else write a new `user::preferences::<slug>` (body: the sentence, then
|
|
145
|
+
`**Why:**` if given; tags `user-preference`, `layer::user`, `area::<area>`). Apply
|
|
146
|
+
the privacy guard (no client, song or person names, no secrets) and say what you
|
|
147
|
+
stored.
|
|
148
|
+
- `prefs remove <slug>`: `memory.delete` the `user::preferences::<slug>` key (a
|
|
149
|
+
`user::` key only), after showing it.
|
|
150
|
+
- `prefs edit <slug> <sentence>`: read, then `memory.write` with `expected_version`.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
132
154
|
## status
|
|
133
155
|
|
|
134
156
|
Print a compact summary from `list_builtin_knowledge { limit: 100 }` (built-in) and
|
|
@@ -71,7 +71,7 @@ the user layer with `memory.*`; the user's record wins. **Every write goes to a
|
|
|
71
71
|
`reference/memory-protocol.md` (read it before any write — it has the exact calls,
|
|
72
72
|
record shapes, layer merge and plugin lookup):
|
|
73
73
|
|
|
74
|
-
- **Start of task:** read the `loop::mixing-lessons` bucket (capped at 5, plus one
|
|
74
|
+
- **Start of task:** preferences first: `memory.list { scope: "project::reaper-mcp", tags: ["user-preference"], order: "rank", limit: 8 }`; apply them as the user's stated intent and name what you applied in one line. A newly stated "always/never/I prefer" is written as `user::preferences::<slug>` (protocol: *User preferences*). Then read the `loop::mixing-lessons` bucket (capped at 5, plus one
|
|
75
75
|
search on the task's keywords) and treat matching lessons as soft constraints.
|
|
76
76
|
For each plugin you'll touch, read both `get_builtin_knowledge
|
|
77
77
|
{ key: "plugins::{vendor}/{plugin}" }` and `memory.read` of
|
package/package.json
CHANGED