lpm-memory
/lpm-memory
Shared project memory for AI coding agents: save or recall work-session logs in `~/.lpm/memory/<project>/<session>.md` so another agent CLI (Claude Code, Codex, Gemini) or a future session can continue the work by session name. Invoke with a session id (e.g. `/lpm-memory auth-refactor`) to continue that session. Use when the user asks to remember or save the session or progress, hand off work, record what was done, or recall/continue/resume/join a named work session. This is per-project memory shared between agent CLIs — distinct from any CLI's own built-in memory.
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Shared project memory for AI coding agents: save or recall work-session logs in `~/.lpm/memory/<project>/<session>.md` so another agent CLI (Claude Code, Codex, Gemini) or a future session can continue the work by session name. Invoke with a session id (e.g. `/lpm-memory auth-refactor`) to continue that session. Use when the user asks to remember or save the session or progress, hand off work, record what was done, or recall/continue/resume/join a named work session. This is per-project memory shared between agent CLIs — distinct from any CLI's own built-in memory.
Arguments
/lpm-memory [session-id]
Original author description
Shared project memory for AI coding agents: save or recall work-session logs in `~/.lpm/memory/<project>/<session>.md` so another agent CLI (Claude Code, Codex, Gemini) or a future session can continue the work by session name. Invoke with a session id (e.g. `/lpm-memory auth-refactor`) to continue that session. Use when the user asks to remember or save the session or progress, hand off work, record what was done, or recall/continue/resume/join a named work session. This is per-project memory shared between agent CLIs — distinct from any CLI's own built-in memory.
How it works
- Remember (save / hand off)
- Recall (continue / join)
SKILL.md preview
--- name: lpm-memory version: 1.6.0 argument-hint: "[session-id]" description: "Shared project memory for AI coding agents: save or recall work-session logs in `~/.lpm/memory/<project>/<session>.md` so another agent CLI (Claude Code, Codex, Gemini) or a future session can continue the work by session name. Invoke with a session id (e.g. `/lpm-memory auth-refactor`) to continue that session. Use when the user asks to remember or save the session or progress, hand off work, record what was done, or recall/continue/resume/join a named work session. This is per-project memory shared between agent CLIs — distinct from any CLI's own built-in memory." --- Project memory lives in one folder per project, shared by every agent CLI. Resolve that folder in this order: 1. `$LPM_MEMORY_DIR`, which lpm sets for every terminal it opens — always use it when set. 2. `~/.lpm/memory/<project>` where `<project>` comes from `lpm project --json`: its `parentName`, or its `name` when `parentName` is empty. 3. Without the `lpm` CLI, `~/.lpm/memory/<project>` where `<project>` is `$LPM_PROJECT_NAME`, else the main checkout's folder name (`basename "$(dirname "$(cd "$(git rev-parse --git-common-dir)" && pwd)")"`, so a Git worktree resolves to the repository it belongs to), else the working directory's folder name. A duplicate of a project shares the original's memory — same codebase, and the copy is disposable — so never derive a folder of its own from a copy's name or path. `<session>` is a kebab-case slug for one workstream (e.g. `auth-refactor`); each file is both the current handoff state and the work history. Invocation: - `/lpm-memory <session-id>` — Recall that session and continue it. Unknown id: offer close matches, or create it. - No argument — Remember work already done in this conversation; at the very start of one, pick or create the session instead. - Either way, keep the memory current from then on without being asked: append a timeline entry and refresh `## Current state` after each milestone and when the user wraps up. ## Remember (save / hand off) 1. Session slug: the user's name for it, else the one existing file that matches the work, else derive one and confirm it before writing. 2. Create the folder if missing. Seed a new file with: ```markdown # <Work title> ## Goal <one or two lines> ## Current state <where things stand, next steps, blockers> ## Timeline ``` 3. Re-read the file right before writing — another agent may have saved meanwhile. If it changed since you last read it, keep their changes: append your timeline entry after theirs and fold both realities into `## Current state`. 4. Rewrite `## Current state` to match reality now. 5. Append a new entry at the end of `## Timeline`. The timeline is strictly append-only: never edit or delete an existing entry — not even your own from earlier in the same conversation. Each entry covers only what happened since the previous save: ```markdown ### <YYYY-MM-DD HH:MM> — <agent> - Done: what shipped or changed, in outcome terms - Decided: choices made and why, including approaches tried and dropped - Learned: surprises and gotchas the next agent must know - Open: unresolved questions / blockers - Next: unfinished work / immediate next step ``` `<agent>` = your CLI name (claude, codex, ...), local time. Drop empty lines; keep it brief. 6. Compaction — the one exception to append-only: when the timeline exceeds ten entries, condense the oldest into a single digest entry `### Archived through <YYYY-MM-DD>` kept first in `## Timeline`; keep the newest five entries verbatim. Condense only — preserve every decision and gotcha that still matters, never reinterpret, and fold into the existing digest on later compactions. ## Recall (continue / join) 1. List the project memory folder's `*.md`; read the named session, or show the list (name, last modified, goal line) and ask which one. 2. `## Current state` is the source of truth; the newest timeline entries carry the freshest detail. Read those first — reach for older entries and the archive digest only when the work needs that history. 3. State the next step you inferred, confirm direction, then continue — and Remember at the next stopping point.
Files in this package (2)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named lpm-memory.
Database snapshot: 13.11.2026 · package version d28c2cc72933 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100resume-codex-session
Use when the user asks Claude to continue, resume, or take over work from a Codex session by session name or session id (UUID or UUID prefix). Examples include "continue the codex session called feature-x" or "/resume-codex-session 019dc08e". Do not use for ordinary Claude… - 100resume-claude-session
Use when the user asks Codex to continue, resume, or take over work from a Claude Code session by session name or session id (UUID or UUID prefix). Examples include "continue the claude session called feature-x" or "/resume-claude-session a3b5c9f2". Do not use for ordinary Codex… - 100continue
Resume work from a prior session by reading phase progress files in .claude/memory/ and active plans. Use this when starting a new session on in-progress work, or when the user says "continue", "pick up where I left off", "resume", or "what was I working on". - 100session-handoff
Package current session context so another agent can continue without starting cold. Use when the user says "hand this off", "continue in a new session", "save session state", or context limit is approaching. - 100agent-memory
Use this skill when the user asks to save, remember, recall, or check memories. MANDATORY: Always use at session start for status verification when user says '思い出して', '前回の作業', '続き', '再開'. Also triggers on '記憶', 'TODO確認', 'メモリ検索', '状況確認', '中断', '記録', 'remember this', 'save this',… - 90yggdrasil-memory
Durable, cross-session, cross-project memory for the user's work via Yggdrasil. Use at the START of any non-trivial task to recall prior decisions, solutions, and lessons (ygg_recall / ygg_bootstrap), and AFTER solving something reusable to save it (ygg_remember). Trigger when…