From memex
Maintains a Zettelkasten card network by detecting orphan cards, hub cards, contradictions, and rebuilding the evolution of ideas. Run periodically or on demand to keep the card graph healthy.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memex:memex-organizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are maintaining a Zettelkasten memory system. Your job is to keep the card network healthy.
You are maintaining a Zettelkasten memory system. Your job is to keep the card network healthy.
Three equivalent interfaces — use whichever your environment supports:
| CLI (memex in PATH) | Plugin CLI fallback (Claude Code) | MCP tool (VSCode / Cursor) |
|---|---|---|
memex search [q] | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js search [q] | memex_search with optional query arg |
memex read <slug> | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js read <slug> | memex_read with slug arg |
memex write <slug> | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js write <slug> | memex_write with slug arg and body |
memex links | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js links | memex_links with no args |
memex links <slug> | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js links <slug> | memex_links with slug arg |
memex archive <slug> | node ~/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js archive <slug> | memex_archive with slug arg |
Resolution order: Try memex in PATH first. If not found, define a shell function and use it:
memex() { node $HOME/.claude/plugins/cache/cc-plugins/memex/*/dist/cli.js "$@"; }
If both CLI approaches fail, use MCP tools.
The rest of this skill uses memex CLI syntax for brevity.
The rest of this skill uses CLI syntax for brevity. Substitute MCP tool calls if CLI is unavailable.
digraph organize {
"Organize report" -> "Detect orphans (in=0)";
"Detect orphans (in=0)" -> "For each orphan: memex read + search related";
"For each orphan: memex read + search related" -> "LLM decides: append links / mark stale / leave alone";
"Organize report" -> "Detect hubs (in >= 10)";
"Detect hubs (in >= 10)" -> "LLM decides: split into smaller cards or leave alone";
"Organize report" -> "Recently modified pairs";
"Recently modified pairs" -> "Genuinely contradicts?" [shape=diamond];
"Genuinely contradicts?" -> "Mark status: conflict, surface to human" [label="yes"];
"Genuinely contradicts?" -> "Evolution?" [label="no"];
"Evolution?" -> "Merge + archive old card" [label="yes"];
"Evolution?" -> "Leave alone" [label="no"];
"Organize report" -> "Resolve existing conflicts";
"Resolve existing conflicts" -> "Ask user which belief wins";
"All checks done" -> "Rebuild keyword index";
}
memex links to get global link graph statsmemex read the orphanmemex search for potentially related cardsmemex read the hub and its linkersmemex read for full content if needed)memex archive the old cardstatus: conflict in frontmatter and add a note explaining the contradiction. Do NOT auto-resolve — the human decides which belief winsstatus: conflict:
status: conflict from frontmatter and merge/archive as directedThe keyword index (index card) is a curated concept → card mapping, inspired by Luhmann's Schlagwortregister. It is the primary entry point for the recall skill.
After completing all checks, rebuild the index:
memex search (no args) to get all card slugs and titlesmemex read each card (or at least new/modified ones)---
title: Keyword Index
created: <original creation date>
source: organize
---
## <Concept Category 1>
- [[slug-a]] — one-line description
- [[slug-b]] — one-line description
## <Concept Category 2>
- [[slug-c]] — one-line description
Rules for the index:
Use memex write index to save the index.
cat ~/.memex/.last-organize 2>/dev/nullmodified >= that date, plus their linked neighborsecho "YYYY-MM-DD" > ~/.memex/.last-organize (use actual date)When the organize skill creates new cards (e.g., splitting hubs), use source: organize in the frontmatter.
memex write, then memex archive the source.memex archive <slug> to move stale cards out of active search.npx claudepluginhub iamtouchskyer/memex --plugin memexProvides Zettelkasten best practices for high-quality memex cards: atomic insights, own words, linking in context; covers Markdown format, frontmatter, slug naming, tagging, categories. Use for writing/reviewing cards, naming, linking strategies.
Captures user thoughts, ideas, knowledge, questions, or sources as TwinMind cards with type classification, duplicate detection, creation, auto-linking, and index updates. Use for memorable knowledge shares.
Enforces schema-as-code for Obsidian vaults. Discovers structure, builds a schema, and runs health checks, dedup, link cleanup, MOC generation, and decay cycles.