From memex
Sets up Memex knowledge management in the current workspace: detects state (empty, existing files, old version) and runs scaffolding, migration, or health-check accordingly.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memex:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Wikilink rule:** When referencing any file in markdown you write or edit, always use `[[filename]]` wikilink format. Never plain text.
references/health-check.mdreferences/migrations.mdreferences/post-setup-message.mdreferences/scan-and-organize.mdtemplates/CLAUDE.md.tmpltemplates/_MANIFEST.md.tmpltemplates/closets.md.tmpltemplates/decisions.md.tmpltemplates/domain-index.md.tmpltemplates/glossary.md.tmpltemplates/ideas.md.tmpltemplates/memory-closets.md.tmpltemplates/scratch-index.md.tmpltemplates/session-log.md.tmpltemplates/status.md.tmplWikilink rule: When referencing any file in markdown you write or edit, always use [[filename]] wikilink format. Never plain text.
Core principle: never assume, never delete. Existing files are sacred. Moves only happen with explicit confirmation.
Run WORKSPACE_ROOT=$(pwd) && echo "$WORKSPACE_ROOT" via Bash.
| State | Detection | Action |
|---|---|---|
| Empty | No markdown files, no manifest | Quick Start (below) |
| Files, no manifest | Markdown exists, no _MANIFEST.md | See references/scan-and-organize.md |
| Compatible manifest | _MANIFEST.md exists, no <!-- memex-managed marker | Offer to add marker (opt in) or continue compatible |
| Old version | <!-- memex-managed:X.X.X --> behind current | Tell the user to run /memex:upgrade (one-command migration to current version). Init does not perform the migration itself — see references/migrations.md for what changes. |
| Current version | Current marker | See references/health-check.md |
Do not announce the detected state. Just run the appropriate flow.
status.md with active focus, in-progress items, next priorities.templates/: memory/status.md, memory/session-log.md, memory/decisions.md, memory/glossary.md, memory/_CLOSETS.md (use memory-closets.md.tmpl), scratch/ideas.md.CLAUDE.md (template at templates/CLAUDE.md.tmpl). Preserve existing content. Skip if .claude/CLAUDE.md already has them._MANIFEST.md from templates/_MANIFEST.md.tmpl. Tier 1 table, empty Tier 2/3, empty Hub Map. Write last. It's the activation marker.references/post-setup-message.md.See references/scan-and-organize.md for the full scan / analyze / propose / build flow. Closets file format is canonical at memex/skills/session-end/references/closets-format.md; per-entry summary fields follow memex/skills/session-end/references/summary-rules.md.
See references/health-check.md.
See references/migrations.md. For a one-command v1→v2 upgrade that orchestrates /memex:resummarize + /memex:reindex + lint, prefer /memex:upgrade.
_MANIFEST.md uses [[filename]]..md files for [[old-name]] and update to [[new-name]].CLAUDE.md. If another plugin already owns session-start/session-end, ask which plugin should own the lifecycle. Don't silently overwrite..claude/CLAUDE.md is platform-managed. Always target the workspace-root CLAUDE.md, never .claude/CLAUDE.md._MANIFEST.md is recoverable; a manifest pointing at files that don't exist will break session-start.notes/ folder with meeting notes + ideas + decisions mixed together should be dissolved file-by-file, not turned into a notes-index.md hub.api.md will match every "API" in prose. Pass 1 (automated) only does exact filename or hyphen-to-space matches; Pass 2 (semantic) requires user confirmation. Don't merge them.outdated, deprecated, superseded, v1 (when v2 exists). These go straight to archive, even if their topic matches an active domain.status.md with the answer.npx claudepluginhub skyfox-io/memex --plugin memexOpens a Memex session by detecting workspace state, scanning the manifest, loading tiered context, and outputting a 30-second briefing. Use at session start, after /clear, when context feels stale, or when resuming after a break.
Initializes OKF knowledge base files (index.md and log.md) for claude-mega-brain context injection. Use when setting up project documentation for the plugin.
Reconstructs working context for a memex session by loading the bias-log, walking the document trail, running the verification scoreboard, and surfacing the next doc slice. Use at session start or after interruption.