mix-memory
Skill42 starsChanged 5 days agoMITView on GitHub
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".
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
- mixerSkill
- new-extensionSkill
- teachSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
No argument: summarise — lesson count per layer, which plugins are known (built-in, user, or both.
- Very specific: line 71
Only user:: records are touched — the built-in layer is read-only.
- Very specific: line 110
Read the user:: record and, if present, the built-in record of the same slug.
- Very specific: line 123
Run node <clone>/scripts/plugin-list.mjs.
≈ “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
/mix-memory
Maintain and recall the two kinds of memory the mixing skills keep in
LoreKit (scope project::reaper-mcp, via the memory.* MCP tools):
- Process lessons — tag
loop::mixing-lessons - Plugin knowledge — tag
plugin-knowledge
Each comes in two layers: the built-in one, read through the reaper tools
list_builtin_knowledge / get_builtin_knowledge (public read-only token, no
LoreKit account needed), and the user's own, through memory.*:
| Layer | Keys | Tag | Writable here |
Built-in (reaper-mcp org, curated) | plugins::<vendor>/<plugin>, mixing-lessons::<slug> | layer::built-in | only via publish |
| User (personal) | user::plugins::<vendor>/<plugin>, user::mixing-lessons::<slug> | layer::user | yes |
Never write or memory.delete a built-in key outside publish — a delete
without org archives the org row too.
The full contract — buckets, body shapes,
entrenchment guards — is knowledge/reference/memory-protocol.md; read it before
any write. If the memory.* tools are not connected, read ~/.claude/knowledge/reference/lorekit-setup.md (in a clone: knowledge/reference/lorekit-setup.md), walk the user through connecting LoreKit, and carry on once it is (stop only if they decline).
Mode detection
Parse the first argument:
| Mode | Default | Trigger phrases |
recall | yes | "what have you learned", "recall", "what do you know about {plugin}" |
consolidate | "consolidate memory", "compress memory", "tidy memory" | |
promote | "promote that lesson", "make it a rule" | |
publish | "publish to built-in", "make it a default", "share this plugin record" | |
status | "memory status", "what's stored", "list memory" |
State the detected mode in one line before acting.
recall
- Lessons:
memory.list { scope: "project::reaper-mcp", tags: ["loop::mixing-lessons"], order: "rank", limit: 5 }— plus amemory.searchon the current task's keywords. Surface those whose Applies when matches. - For a named plugin:
get_builtin_knowledge { key: "plugins::<vendor>/<plugin>" }andmemory.readofuser::plugins::<vendor>/<plugin>(find the slug via thefx::tags if you only have an FX name) and report the combined record, marking what comes from the user's layer. - No argument: summarise — lesson count per layer, which plugins are known (built-in,
user, or both; which have learned notes), anything
promotion-eligible (
seen_count >= 3or tagstatus::structural, not yetstatus::promoted).
This is what the mixer/mastering/critique skills do automatically at the start of work — use this mode to inspect memory manually.
consolidate
Show a preview of every change and get confirmation before writing.
Only user:: records are touched — the built-in layer is read-only.
- Lessons —
memory.listthe bucket (view: "summary"), find near-duplicateuser::lessons, merge each pair into the older key (rewrite its body with the sharper "Do this instead"), thenmemory.deletethe duplicate. Auser::lesson that just repeats a built-in one adds nothing beyond its recurrence count — keep it. Expiry is automatic — never archive by hand. - Plugin overlays — when
## Learned notessprawl, or kept settings have proven themselves across contexts: fold them into the sameuser::record's## Recommended settingstables and trim them from the notes (read-merge-write, full tag list, nottl_days). Param maps and gotchas stay in the notes.
promote
The self-heal step. For a lesson at seen_count >= 3 or tagged status::structural:
- Show the lesson and the one-line hard rule it would become.
- On approval, append that rule to the
## Hard Rules(or## Rules) of the skill that owns the behavior —mixerfor mix moves,masteringfor master-bus moves,critiquefor analysis/flagging lessons (.claude/skills/{skill}/SKILL.md). - Re-write the lesson with the same key, value and
ttl_days, adding the tagstatus::promoted(audit trail; it stops re-suggesting). For a built-in lesson, write that tag on auser::copy instead — or, as the maintainer,publishit.
Respect the entrenchment guards in memory-protocol.md — never promote a lesson
that would relax an existing hard rule.
publish
Maintainer only: turn a proven user:: record into a built-in default every user
of the reaper-mcp org sees.
org.list— continue only if thereaper-mcporg is listed with a writing role (member, admin or owner). A viewer, or no membership: say so and stop (the write would land in the personal store as a second copy).- Read the
user::record and, if present, the built-in record of the same slug. Merge them (plugin: the overlay's sections over the built-in ones, learned notes folded together; lesson: the sharper body). Strip anything personal per the privacy guard. Show the merged record and get approval. memory.writewithorg: "reaper-mcp", the key withoutuser::, the tags withlayer::built-inin place oflayer::user, and nottl_days(curated records are permanent).memory.readthe built-in key to confirm, thenmemory.deletetheuser::key (never the built-in key).- Plugin records only: update the built-in plugin list (
docs/PLUGINS.mdin the reaper-mcp clone). Find the clone: the current directory when it hasscripts/plugin-list.mjs, else the directory this skill is symlinked from (readlink ~/.claude/skills/mix-memory→<clone>/.claude/skills/mix-memory). Runnode <clone>/scripts/plugin-list.mjs; it rebuilds the table from the built-in layer, so it also picks up anything published earlier. Show the changed rows and tell the maintainer to commitdocs/PLUGINS.md(the bridge's one-click Update refuses while the clone has local changes). No clone found, or the script fails: say so; the daily Plugin list workflow updates the list onmainanyway.
status
Print a compact summary from list_builtin_knowledge { limit: 100 } (built-in) and
memory.list { scope: "project::reaper-mcp", tags: ["loop::mixing-lessons", "plugin-knowledge"], view: "summary", limit: 100 } (yours):
lesson count per layer (layer:: tag) and how many are promotion-eligible,
nearest lesson expiries, and known plugins grouped by category:: (with
preference, marked built-in / user / both). If the built-in tools error, say the
built-in layer is unreachable (offline) and the user's own layer works alone. Suggest consolidate
when duplicate lessons show up or a plugin record's notes sprawl.
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.

