/mindwright:recallfrom mindwright
Explicit retrieval against the memory store. Useful when the automatic turn-start / mid-turn retrieval missed something, or for debugging what would be injected.
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:recall <query> (the argument becomes the retrieval query).
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/mindwright.mjs" recall --session-id '${CLAUDE_SESSION_ID}' --plugin-data "${CLAUDE_PLUGIN_DATA}" <<'MINDWRIGHT_ARGS'
{"query": "...", "scope": "all", "k": 8, "bypass_session_dedup": true}
MINDWRIGHT_ARGS
JSON args (stdin):
query: the text to retrieve against.scope: optional TIER filter — short / long / all (default all). The memory-row scope (user / project / role:<role>) is filtered implicitly via the calling session's role-set.k: optional top-K (default 8).roles: optional array overriding the role-scope filter. Pass [] to suppress all role-scoped rows, or ["planner","consolidator"] to see those roles' heuristics regardless of the calling session's own assignment.exclude_ids: optional array of fact ids to drop from the result set.bypass_session_dedup: true — pass this on every explicit /mindwright:recall invocation. It tells mindwright to ignore the automatic per-session dedup set so a second call shows the same hits as the first. Without it the second call shows fewer results (the first call's hits get filtered out), which is hostile to the debugging use case.Returns { results: [{id, content, kind, tier, category, scope, rerank_score, rrf_score}] }. Empty array means nothing crossed the rerank floor (0.75).
Why the bypass flag exists: the automatic PreToolUse / PostToolUse retrieval keeps meta:injected_fact_ids:<sessionId> (FIFO-trimmed at 200) so it doesn't re-inject the same fact twice in one session. Explicit debugging calls don't want that filter — they want the truth of what matches the query right now. bypass_session_dedup: true skips both the read and the post-emit append for the debug path only.
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.