/mindwright:update-memoryfrom mindwright
Replace the content of an existing long-term fact, preserving the supersede chain.
Ships in mindwright. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/mindwright.mjs" update_memory --session-id '${CLAUDE_SESSION_ID}' --plugin-data "${CLAUDE_PLUGIN_DATA}" <<'MINDWRIGHT_ARGS'
{"fact_id": 123, "new_content": "..."}
MINDWRIGHT_ARGS
JSON args (stdin):
fact_id: the id of the existing fact.new_content: the replacement text.The original row is marked inactive and a new row is created with supersedes pointing back at it. The supersede chain itself is the audit trail; markdown mirrors regenerate automatically.
The response includes old_content_preview (first 200 chars of the replaced row). Echo it to the user so they can verify they updated the right row before moving on — silent replacement of the wrong fact is hard to detect later.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub joys-dawn/toolwright --plugin mindwright14 skills in this plugin
/assign-roleAttach a role tag to a session (yours or a peer's). Role-scoped procedural memories are filtered by role at retrieval time, so this controls which heuristics get injected. Assigning `consolidator` to a peer auto-spawns the dream cycle./dreamConsolidate the oldest ~70% of short-term observations into long-term facts. Reads the active long-term summary, drains a batch of exchanges, distills facts in your own context, and writes them back via deterministic CLI helpers./forgetSoft-archive a long-term fact so it stops surfacing in retrieval and the markdown mirrors. Reversible at the SQL level; the auto path treats it as gone./helpList all mindwright skills and their one-line descriptions./recallExplicit retrieval against the memory store. Useful when the automatic turn-start / mid-turn retrieval missed something, or for debugging what would be injected./resetDestructive — drop the mindwright database and all markdown mirrors. Requires explicit confirmation. Useful when the schema is corrupt or you want a clean re-bootstrap.