link-memory
Link Memory provides CLI-based memory management for agents working in local codebases, enabling explicit save, recall, review, update, archive, and forget operations without requiring an MCP server. Use this skill when users request memory operations like "remember this," "recall what we discussed," or "explain my stored context" during development work.
git clone --depth 1 https://github.com/gowtham0992/link /tmp/link-memory && cp -r /tmp/link-memory/skills/link-memory ~/.claude/skills/link-memorySKILL.md
# Link Memory Use explicit memory operations. In a source checkout, replace `lnk` with `python3 link.py`. Do not silently save durable memory; only remember when the user asks or approves a proposal. 1. Prime before work: ```bash lnk brief "<current task>" [link-root] ``` 2. Recall specific memory: ```bash lnk recall "<topic>" [link-root] ``` 3. Save an explicit memory: ```bash lnk remember "<user-approved memory>" [link-root] --type note --scope user ``` Use `--project <slug>` for project-scoped memory, `--visibility private|project|team` for sharing intent, `--review-after YYYY-MM-DD` for stale-risk memories, and `--expires-at YYYY-MM-DD` for temporary context. 4. Review and explain before trusting uncertain memory: ```bash lnk memory-inbox [link-root] lnk explain-memory <name-or-title> [link-root] lnk review-memory <name-or-title> [link-root] ``` 5. Change lifecycle safely: ```bash lnk update-memory <name-or-title> "<new text>" [link-root] lnk archive-memory <name-or-title> [link-root] --reason "<why>" lnk restore-memory <name-or-title> [link-root] lnk forget-memory <name-or-title> [link-root] --confirm ``` When duplicate or conflict warnings appear, prefer updating, reviewing, or archiving existing memory over creating another page.
Use when a user wants to verify Link readiness, troubleshoot a local wiki, inspect interrupted writes, repair generated indexes, or back up Link without setting up MCP.
Use when a user asks to ingest raw files into Link, refresh stale source pages, propose memories from sources, or validate source-backed wiki updates through the CLI without MCP.
Use when a user asks an agent to search, answer from, summarize, brief from, or navigate Link context through the CLI without loading the whole wiki or configuring MCP.