/memex:link-workspace [source-name]from memex
Registers a Memex workspace in the global source registry so it can be searched from other workspaces via cross-search. Validates workspace manifest before linking.
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 any file in markdown, always use [[filename]] wikilink format.
Register the current workspace in ~/.memex/sources.md. Registry conventions, script-path resolution, and privacy semantics live in memex/skills/cross-search/references/registry.md. CLI surface: ${CLAUDE_SKILL_DIR}/scripts/sources.py.
WORKSPACE_ROOT=$(pwd). Read _MANIFEST.md. If absent, tell the user "No manifest found. Run /memex:init first." and stop.
Use $ARGUMENTS if provided. Otherwise propose a slug-ified default from the workspace folder name and ask to confirm. Names should be short, slug-style, and meaningful across workspaces (e.g., nonprofit-foundation, personal, dashflow).
python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" add <source-name> <WORKSPACE_ROOT>
If the script reports the name is taken: tell the user "A source named '' is already registered (run python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" list to see all). Pick a different name or /memex:unlink-workspace <name> first."
Linked: <source-name> → <WORKSPACE_ROOT>
Searchable: yes (default)
Searchable from other workspaces via:
/memex:cross-search <query>
Opt out:
python3 "${CLAUDE_SKILL_DIR}/scripts/sources.py" set-searchable <source-name> false
_MANIFEST.md missing only warns, doesn't block at the script layer. This skill validates first so the user gets a clearer message. Don't skip Step 0.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 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).
npx claudepluginhub skyfox-io/memex --plugin memexOther plugins' skills for the same job