/mindwright:restorefrom mindwright
Inverse of /mindwright:forget — flip a soft-archived long-term fact back to active so it returns to retrieval and the markdown mirrors. Use when a typo'd fact_id sent the wrong row down.
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.
Usage: /mindwright:restore <fact_id>.
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/mindwright.mjs" restore --session-id '${CLAUDE_SESSION_ID}' --plugin-data "${CLAUDE_PLUGIN_DATA}" <<'MINDWRIGHT_ARGS'
{"fact_id": 123}
MINDWRIGHT_ARGS
JSON args (stdin):
fact_id: the id of the long-term row to restore.The handler flips active=1 on the row and regenerates the markdown mirrors. Soft-archive never deletes anything, so the row + embedding + entity links are all intact — the restore is just the inverse flip.
The response includes content_preview (first 200 chars of the restored row). Echo it back to the user so they can confirm they restored the right row.
If /mindwright:forget was followed by a /mindwright:dream cycle, the consolidator may have promoted a near-duplicate fact in the meantime. Re-run /mindwright:recall after restoring to surface any contradictions.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 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.npx claudepluginhub joys-dawn/toolwright --plugin mindwright