/memex:cross-search <query>from memex
Searches across multiple Memex workspaces' manifests and closets to find where a topic appears. Useful when you don't know which workspace holds the answer.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Wikilink rule: When referencing any file in markdown, always use [[filename]] wikilink format.
Grep across every searchable workspace in ~/.memex/sources.md, grouped by source. Reads only _MANIFEST.md, every _CLOSETS.md, and every _CLOSETS-archive.md. Fast and deterministic.
Registry conventions, script-path resolution, and privacy semantics: see references/registry.md. CLI surface: ${CLAUDE_SKILL_DIR}/scripts/sources.py.
Use $ARGUMENTS as the query. If empty, ask: "What do you want to search for across linked workspaces?"
python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" list. If none searchable, tell the user: "No linked workspaces yet. Run /memex:link-workspace from a workspace to register it."
python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" search "<query>"
The script greps each searchable source's _MANIFEST.md, _CLOSETS.md, and _CLOSETS-archive.md for matches. Results are grouped by source.
If results found:
cd to its path) and start a session."If no results:
No matches for "<query>" across <N> linked sources.
Either:
- The subject hasn't been wikilinked into any manifest or closets file.
/memex:resummarize in the relevant workspace would surface it.
- The subject lives only inside files (not in manifests/closets). Open
the workspace directly to search inside files.
memex/skills/session-end/references/closets-format.md.searchable: false is total. A source opted out is skipped silently. No partial visibility.(path missing: ...) for that source and continues. Fix with unlink + re-link.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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).
/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.
/link-workspaceRegisters this Memex workspace in the global source registry so it's searchable from your other workspaces via `/memex:cross-search`.
Other plugins' skills for the same job