Help us improve
Share bugs, ideas, or general feedback.
From cortex
Searches and retrieves memories from Cortex persistent memory using WRRF retrieval. Use for past decisions, patterns, bugs, or architecture context.
npx claudepluginhub cdeust/cortex --plugin cortexHow this skill is triggered — by the user, by Claude, or both
Slash command
/cortex:cortex-recallThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
recall, remember, search, find, what did we, do you remember, what was, have we seen, look up, retrieve, past decision, previous fix, history, what do we know, search memory, find memory, related memories
Implements 3-layer memory search workflow to recall past work, decisions, errors, and project history token-efficiently via layered functions.
Searches and surfaces relevant memories from past sessions to inform current work with decisions, patterns, and learnings. Supports hybrid, vector, and text search modes with namespace filtering.
Recall facts from past sessions via memoir. STORE PATH: ALWAYS compute first via `STORE=$(bash "$CLAUDE_PLUGIN_ROOT/scripts/derive-store-path.sh")` (or `$MEMOIR_STORE`). Pass `-s "$STORE"` on every call — never rely on memoir's connected default (frequently stale). PROCEDURE (single-shot default): ONE `summarize --depth 3 -n default` → pick at most 5–7 keys → batch `get`. Only escalate to drill (batched `--keys`) if the depth-3 response shows `total_memories > 1000` AND the query is broad. Never call `summarize --depth 1` separately — `--depth 3` already returns count + full key listing. EXCLUDE `metrics.*` unless args contain `--include-metrics`. NEVER shell out to `memoir recall` (legacy LLM-bundled, slow, requires OPENAI_API_KEY). First reply line MUST be a mode marker `[mode=get|fast|drill|flat|blame|diff]`. DEFAULT ON: invoke for any question or task that may depend on past preferences, decisions, conventions, or knowledge — questions touching prior state, meta/overview asks, design/implementation prompts where output may reflect prior style, SessionStart hints, or any moment you'd otherwise silently apply remembered facts. SKIP only for mechanical single-symbol lookups, throwaway scratch work, or explicit user opt-out. Defer to memoir-onboard for repo-structure questions (it owns `codebase:onboard`). Cost of an unused recall is low; cost of missing a remembered preference is high.
Share bugs, ideas, or general feedback.
recall, remember, search, find, what did we, do you remember, what was, have we seen, look up, retrieve, past decision, previous fix, history, what do we know, search memory, find memory, related memories
Retrieve relevant memories using Cortex's 6-signal WRRF (Weighted Reciprocal Rank Fusion) retrieval engine. The system automatically classifies your query intent and adjusts retrieval weights — semantic queries emphasize vector similarity, temporal queries emphasize recency, causal queries traverse the knowledge graph.
Use this skill when: You need context about past work, decisions, patterns, or fixes. Also use proactively when starting work on a topic that likely has stored context.
Write a natural language query. The intent classifier handles routing:
cortex:recall({
"query": "<natural language question or topic>",
"limit": 10
})
Optional filters:
"domain": Filter to specific project domain"tags": Filter by tags (e.g. ["bug-fix", "authentication"])"min_heat": Only hot/active memories (0.0-1.0)"time_range": Temporal filter (e.g. "last_7_days", "last_30_days")"store_type": "episodic" (specific events) or "semantic" (consolidated knowledge)When exploring a large topic area, use fractal hierarchical recall:
cortex:recall_hierarchical({
"query": "<broad topic>",
"levels": 3
})
This returns memories organized in L0 (broad clusters) > L1 (sub-topics) > L2 (specific memories). Use cortex:drill_down to navigate deeper into any cluster.
After finding relevant memories, explore connections:
cortex:navigate_memory({
"memory_id": <id>,
"depth": 2
})
This uses Successor Representation (co-access graph) to find memories frequently accessed together — surfacing implicit connections the user may not have queried for.
For understanding cause-and-effect relationships:
cortex:get_causal_chain({
"entity": "<entity name>",
"direction": "both"
})
This traverses the knowledge graph to show how entities relate through causal, temporal, and semantic relationships.
cortex:rate_memory on results that were useful/not-useful to improve future retrieval