Load context from vault memory. Temporal queries (yesterday, last week, session history) use native JSONL timeline. Topic queries use QMD BM25 search. "recall graph" generates interactive temporal graph of sessions and files. Every recall ends with "One Thing" - the single highest-leverage next action synthesized from results. Use when user says "recall", "what did we work on", "load context about", "remember when we", "prime context", "yesterday", "what was I doing", "last week", "session history", "recall graph", "session graph".
From mindcontext-corenpx claudepluginhub tmsjngx0/mindcontext-core --plugin mindcontext-coreThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Configures VPN and dedicated connections like Direct Connect, ExpressRoute, Interconnect for secure on-premises to AWS, Azure, GCP, OCI hybrid networking.
Three modes: temporal (date-based session timeline), topic (BM25 search across QMD collections), and graph (interactive visualization of session-file relationships). Every recall ends with the One Thing - a concrete, highest-leverage next action synthesized from the results.
No custom setup needed for temporal recall - every Claude Code user has JSONL files.
/recall yesterday
/recall last week
/recall 2026-02-25
/recall QMD video
/recall authentication work
Graph mode - visualize session relationships over time:
/recall graph yesterday # what you touched today
/recall graph last week # week overview - find clusters
/recall graph this week # current week so far
/recall graph last 3 days # recent activity window
Graph options: --min-files 5 for cleaner graphs (only sessions touching 5+ files), --all-projects to scan beyond current vault.
Find the plugin's scripts directory:
PLUGIN_DIR="$(dirname "$(dirname "$(cd "$(dirname "$0")" && pwd)")")"
SCRIPTS_DIR="$PLUGIN_DIR/scripts"
If the plugin is installed via Claude Code plugin system, scripts are at:
<plugin-root>/scripts/recall-day.py, <plugin-root>/scripts/session-graph.py
Fallback: search common locations:
./scripts/ (relative to plugin root)~/.claude/skills/recall/scripts/ (standalone install)Parse the user's input after /recall and classify:
Run the recall-day script:
python3 "$SCRIPTS_DIR/recall-day.py" list DATE_EXPR
Replace DATE_EXPR with the parsed date expression. Supported:
yesterday, todayYYYY-MM-DDlast monday .. last sundaythis week, last weekN days ago, last N daysOptions:
--min-msgs N - filter noise (default: 3)--all-projects - scan all projects, not just current vaultPresent the table to the user. If they pick a session to expand:
python3 "$SCRIPTS_DIR/recall-day.py" expand SESSION_ID
This shows the conversation flow (user messages, assistant first lines, tool calls).
BM25 is keyword-based - it only finds exact word matches. The user's recall of a topic often uses different words than the session itself. Fix: expand the query into 3-4 keyword variants covering synonyms and related phrasings.
Step 3B.1: Expand query into variants. Generate 3-4 alternative phrasings that someone might use for the same topic. Example:
"disk cleanup free space", "large files storage", "delete cache bloat GB", "free up computer space"Step 3B.2: Run ALL variants across ALL collections in parallel (fast, ~0.3s each):
qmd search "VARIANT_1" -c sessions -n 5
qmd search "VARIANT_2" -c sessions -n 5
qmd search "VARIANT_3" -c sessions -n 5
qmd search "VARIANT_1" -c projects -n 5
qmd search "VARIANT_2" -c projects -n 5
qmd search "VARIANT_1" -c source -n 5
qmd search "VARIANT_2" -c source -n 5
Run all collection variants in parallel.
Step 3B.3: Deduplicate results by document path. If same doc appears in multiple searches, keep the highest score. Present top 5 unique results.
Strip "graph" prefix from query to get the date expression. Run:
python3 "$SCRIPTS_DIR/session-graph.py" DATE_EXPR
Options:
--min-files N - only show sessions touching N+ files (default: 2, use 5+ for cleaner graphs)--min-msgs N - filter noise (default: 3)--all-projects - scan all projects-o PATH - custom output path (default: /tmp/session-graph.html)--no-open - don't auto-open browserOpens interactive HTML in browser. Session nodes colored by day, file nodes colored by folder. Tell the user the node/edge counts and what to look for (clusters, shared files).
For the top 3 most relevant results across all collections, get the full document:
qmd get "qmd://collection/path/to/file.md" -l 50
Use the paths returned from Step 3B searches. The -l 50 flag limits to 50 lines.
For temporal queries: Present the session table and offer to expand any session.
For topic queries: Organize results by collection type:
Sessions (session logs + Claude memory)
Projects (work projects)
Source (personal projects)
Keep this concise - it's context loading, not a full report.
After presenting recall results, synthesize the single highest-leverage next action.
How to pick the One Thing:
Format: Bold line at the end of results:
One Thing: [specific, concrete action]
Good examples:
Bad examples (too generic):
If the recall results don't have enough signal, skip it and ask "What would you like to work on from here?" instead.
No results found for "QUERY". Try:
- Different search terms
- Broader keywords / different date range
- --min-msgs 1 to include short sessions
recall-day.py (native JSONL, no QMD needed)session-graph.py (NetworkX + pyvis)qmd search) NOT hybrid (qmd query) - 53x faster