/memex:search <query>from memex
Searches the Memex index within the current workspace across manifest, closets, and typed-edge graph, with built-in fuzzy/paraphrase matching. For cross-workspace search, use /memex:cross-search.
Ships in memex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Wikilink rule: When referencing files in any markdown you write, use [[filename]] format.
Cross-hub search within the current workspace. Same retrieval surface as /memex:cross-search, scoped to one workspace.
Run WORKSPACE_ROOT=$(pwd) && echo "$WORKSPACE_ROOT" via Bash.
Use $ARGUMENTS as the query. If empty, ask: "What do you want to search for across hubs in this workspace?"
If _MANIFEST.md is missing, tell the user "Memex isn't initialized in this workspace. Run /memex:init first." and stop.
Run ${CLAUDE_SKILL_DIR}/scripts/sources.py:
python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" search-local "<query>" --workspace "$WORKSPACE_ROOT"
The script greps _MANIFEST.md, every _CLOSETS.md and _CLOSETS-archive.md, and memory/.graph.md under the workspace. Output is grouped by folder.
Always run this after grep, never instead of it:
python3 "${CLAUDE_SKILL_DIR}/scripts/semantic.py" query "<query>" --workspace "$WORKSPACE_ROOT"
Show hits under a Similarity matches section placed AFTER the grep results. Dedupe against grep hits: skip any result whose stem grep already surfaced.
If results found:
_CLOSETS.md, suggest loading the corresponding _CLOSETS-archive.md for full typed-field context on that file.If no results (grep and Step 2b's similarity pass both found nothing):
No matches for "<query>" in this workspace.
Either:
- The subject isn't wikilinked into the manifest or any closets file.
Run /memex:resummarize or /memex:reindex to refresh closets.
- The subject lives only inside content files. Open the relevant hub's
files directly (closets surface what's *in* the index, not raw content).
- The similarity pass (Step 2b) also found nothing — the subject likely
isn't indexed; run /memex:reindex.
After results, append a one-line nudge based on what was found:
<hub-a> and <hub-b>."_CLOSETS-archive.md → "Recent activity is archived. Load the archive for full context."memory/_CLOSETS.md only → "Subject lives in Tier 1 (status / decisions / glossary / contacts)."/memex:search won't see it. The fix is /memex:resummarize or /memex:reindex, not deeper grep.sentence-transformers is already present (e.g. a local dev machine); nothing to install, nothing to configure./memex:reindex to refresh closets./memex:cross-search.programs/ group together; hits in programs/subhub/ are a separate group. That's intentional — sub-hubs surface as independently as top-level hubs.memory/.semantic-cache/ only exists when sentence-transformers is present and the embedding engine ran — lexical mode writes nothing. Safe to delete any time; it rebuilds on the next semantic.py query. If the workspace is a git repo, consider adding it to .gitignore..graph.md hits are typed edges, not text matches. A hit in memory/.graph.md means a frontmatter field (people, supersedes, blocks, etc.) named the query term. Follow the edge to the named file(s) rather than treating the hit itself as the answer.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memex, workspace-search, knowledge-base, semantic-search, cross-hub
npx claudepluginhub skyfox-io/memex --plugin memex17 skills in this plugin
/add-domainAdds a new domain folder with a hub index and wires it into `_MANIFEST.md` -- for a new topic area, or splitting an existing domain into its own folder.
/archiveMoves a file from active (Tier 2) to archived (Tier 3) so Memex stops loading it automatically -- for a wrapped project, a stale reference, or a superseded file. The file stays on disk; only its manifest tier and hub status change.
/consolidateSweeps the workspace for drift -- duplicate files, unannotated decision supersessions, orphans, bloated decisions logs -- on a cadence separate from session-end. Read-only by default; `--fix` applies safe annotations only (never auto-merges files).
/cross-searchTrigger when the user's question spans multiple Memex workspaces and they don't know which one holds the answer, or they ask "have I written about X anywhere?". Not for questions the current workspace can answer -- use `/memex:search` instead. Reads only manifests and closets, never inside individual files.
/ideaQuick-capture an idea to the scratch inbox. Use when the user explicitly asks to capture: "capture this", "add to ideas", "don't let me forget", "log this idea", `/memex:idea`. Not for every "we should eventually..." aside -- most asides aren't capture-intent. Not for decisions (decisions.md) or state claims (closets `claims:` field).
/initSets up Memex in the current workspace. Detects state -- fresh repo, existing repo with loose markdown, a foreign manifest, or an outdated version marker -- and runs the right combination of scaffold, scan-and-organize, migrate, or health-check.
Other plugins' skills for the same job