Skip to content
Development
Command

/memory

Use when: user asks to remember something, after solving a non-obvious problem, or to capture key session findings

From plugin
claude-mem-lite
688 skills8 commands7 hooks1 MCP
> /plugin marketplace add sdsrss/claude-mem-lite
> /plugin install claude-mem-lite@sdsrss

Command definition

memory.md
name: memory
description: "Use when: user asks to remember something, after solving a non-obvious problem, or to capture key session findings"

Memory Save

Save important content to your long-term memory database.

Commands

  • `/claude-mem-lite:memory <content>` — Save the given content directly to memory
  • `/claude-mem-lite:memory` (no args) — Auto-summarize recent session highlights and save key findings

Instructions

When the user invokes `/claude-mem-lite:memory`, determine the intent:

With explicit content

If the user provides content after the command:

1. Analyze the content to determine appropriate type (decision, bugfix, feature, refactor, discovery, change) 2. Generate a concise title from the content 3. Call `mem_save` with:

  • `content`: the provided text
  • `title`: auto-generated title
  • `type`: inferred type (default: "discovery")
  • `importance`: 2 (notable — user explicitly requested save)

With instructions/prompt

If the user provides instructions like "save the database schema we discussed" or "remember the fix for the auth bug":

1. Review recent conversation context 2. Extract the relevant information per the user's instruction 3. Call `mem_save` with extracted content, appropriate title and type, importance=2

No arguments (auto-save)

If no content is provided:

1. Review the current session's recent key findings 2. Identify: decisions made, bugs fixed, patterns discovered, important code changes 3. For each significant finding (max 5), call `mem_save` with:

  • Clear title and structured content
  • Appropriate type and importance level (1=routine, 2=notable)

4. Skip trivial or already-saved items 5. Report what was saved in a concise summary

Always set importance=2 for explicit saves (user chose to save), importance=1 for auto-saves of routine items, importance=2 for auto-saves of notable discoveries.

Read more
@sdsrss
Ships withclaude-mem-lite

claude-mem-lite is a persistent memory (also called long-term memory or cross-session context) system for Claude Code — Anthropic's CLI coding agent.

Stars on GitHub

Momentum

stars in total
68
Star history of sdsrss/claude-mem-lite on GitHub, a chart by star-history.com

Other commands on claude-mem-lite.

adopt

adopt

Command

Use when: user asks to put the claude-mem-lite steering block into the current project's CLAUDE.md (for example to share it with…

@sdsrss@sdsrssInstall Command
bug

bug

Command

Use when: logging a known bug + repro steps you can't fix right now. Writes a searchable observation (findable via mem_search +…

@sdsrss@sdsrssInstall Command
lesson

lesson

Command

Use when: capturing a non-obvious lesson/gotcha/workaround after a tricky fix or surprising behavior. Writes a searchable…

@sdsrss@sdsrssInstall Command
mem

mem

Command

Use when: querying past work, managing memories, or checking project history

@sdsrss@sdsrssInstall Command
unadopt

unadopt

Command

Use when: user wants to remove the claude-mem-lite steering block from the current project (or from every project Claude Code…

@sdsrss@sdsrssInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command