Help us improve
Share bugs, ideas, or general feedback.
From memex
Retrieves session memory across four modes: temporal (date browsing), keyword (FTS lookup), deep (cross-session synthesis), and load (specific file). Useful for recalling past work, decisions, and patterns.
npx claudepluginhub linxule/memex-plugin --plugin memexHow this skill is triggered — by the user, by Claude, or both
Slash command
/memex:recall [yesterday|today|last week|TOPIC|QUESTION][yesterday|today|last week|TOPIC|QUESTION]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Project:** !`basename $(git remote get-url origin 2>/dev/null | sed 's/\.git$//' | xargs basename 2>/dev/null) 2>/dev/null || basename $(pwd)`
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
Project: !basename $(git remote get-url origin 2>/dev/null | sed 's/\.git$//' | xargs basename 2>/dev/null) 2>/dev/null || basename $(pwd)
Vault: !sqlite3 $(memex path 2>/dev/null)/_index.sqlite "SELECT (SELECT COUNT(*) FROM fts_content) || ' documents indexed'" 2>/dev/null || echo "(index unavailable)"
Before doing anything, classify the user's question into one of four modes:
Triggers: "yesterday", "last week", "today", "what did I do on Monday", "show me recent work", "last 3 days", "this week's sessions", any date reference without topic keywords.
Action: Go to → Temporal Recall
Triggers: "why did we...", "find the memo about...", "what was the decision on...", "remind me about the retry pattern", any question with specific technical terms or project names.
Action: Go to → Keyword Recall
Triggers: "what patterns do we use across...", "how has our approach to X evolved...", "compare how we handle X in different projects", questions spanning multiple sessions or projects, complex why/how questions needing synthesis.
Action: Go to → Deep Recall
Triggers: "load the X topic", "pull up project Y", "show me the memo about Z", explicit topic or memo names, "what does the X topic say".
Action: Go to → Load Recall
If mixed (date + topic, e.g., "what auth work did I do last week"): Start with TEMPORAL to narrow the date range, then scan the results for the topic.
Run the temporal scanner to browse sessions and memos by date:
memex timeline "<date-expression>"
With project filter:
memex timeline "<date-expression>" --project=<name>
Filter by type:
memex timeline "<date-expression>" --type=memo
yesterday, today, 3 days ago, last 5 days, this week, last week, last monday, 7d, 2w, march 15, 2026-03-15
Before searching, proactively generate keyword variants to compensate for FTS's literal matching. This is not optional — always expand.
Process:
Example expansions:
| User Question | Variant 1 (exact) | Variant 2 (synonyms) | Variant 3 (related) |
|---|---|---|---|
| "Why did we choose JWT?" | JWT OR authentication | OAuth OR token OR auth | session OR credential OR stateless |
| "Remind me about the retry pattern" | retry OR pattern | backoff OR resilience | fault OR tolerance OR circuit |
| "What was the API rate limiting decision?" | rate OR limiting OR API | throttle OR quota | 429 OR backpressure OR queue |
Run all variants simultaneously:
memex search "JWT OR authentication"
memex search "OAuth OR token OR auth"
Modes:
--mode=fts): Fastest. Best for exact terms, names, acronyms, error codes--mode=vector): Best for conceptual questions when exact wording is unknownFilters:
memex search "query" --type=memo # Filter by type
memex search "query" --project=myapp # Filter by project
memex search "query" --limit=5 # Limit results
memex search "query" --scope=observations # Search extracted learnings/decisions
memex search "query" --since=7d # Recent only
memex search "query" --before="last week" # Before cutoff
memex search "query" --between "2026-03-01" "2026-03-15" # Date range
Query syntax: term1 OR term2 (either), "exact phrase" (literal), term1 term2 (both/AND)
If the same document appears in multiple searches, keep the highest-scoring instance. Present the top 5-8 unique results.
If the question is about how thinking on a topic evolved, check whether a trail exists:
grep -rl '^type: trail' $(memex path 2>/dev/null)/topics/ 2>/dev/null | xargs -I{} basename {} .md
If a relevant trail exists, read it directly — it captures the narrative arc better than memo search results. Present its phase structure as the answer.
"JWT" → "auth OR token OR JWT"--mode=vectorFor complex questions that require synthesizing across many sessions or projects.
Before searching, check if a relevant topic already exists. Compiled topics are higher quality than search-assembled answers.
CONCEPT="trust-calibration" # set to the main subject of the question
ls "$(memex path)/topics/" | grep -i "$CONCEPT" 2>/dev/null
If ls finds nothing, try a type-filtered search:
memex search "$CONCEPT" --type=concept --limit=3 2>/dev/null
If a matching topic exists, use it as a prior — not a gate:
updated: or last_extended: datememex ask "<question>"
For thorough (semantic + keyword) retrieval:
memex ask "<question>" --depth=thorough
Also run an observation-specific search to surface atomic claims:
memex search "<keywords>" --scope=observations --limit=10
Observations are structured claims extracted from memos — they provide precision that document-level search misses.
After receiving results:
content field of each result directly.observations for atomic facts that answer the question.query_info.gaps.topics/trail-<concept>.md with type: trail. Save encyclopedic syntheses to topics/<concept>.md with type: concept.Direct retrieval of a specific topic, memo, or project context.
Determine what to load:
topics/<name>.mdprojects/<project>/_project.md + recent memosprojects/*/memos/ for matching filenameVAULT=$(memex path)
# For topics (fuzzy match)
ls "$VAULT/topics/" | grep -i "<query>" 2>/dev/null
# For projects
ls "$VAULT/projects/" | grep -i "<query>" 2>/dev/null
# For memos (search by filename)
find "$VAULT/projects" -path "*/memos/*" -name "*<query>*" 2>/dev/null | head -5
Read the matched file(s) with the Read tool.
_project.md overview + list of recent memosEvery recall ends with ONE specific next action. Not "what would you like to do?" — a concrete recommendation.
After presenting results (any mode), synthesize the single highest-leverage next step based on:
Momentum — What's almost done? What was actively being worked on? → "Continue the auth middleware rewrite in alcor — the token refresh handler is the last piece"
Blockers — What's stuck or waiting on a decision? → "The rate limiter is blocked on the Redis config decision from last week — resolve that first"
Recency — What was just active and could benefit from a follow-up? → "You were working on the MCP server yesterday — pick up where you left off with tool registration"
Rules: