Skip to content
Development
Command

/memory-search

Search across all memory files by keyword.

From plugin
claude-memory-engine
13418 skills18 commands9 hooks

Command definition

memory-search.md

/memory-search -- Search Memory Files

Search across all memory files by keyword.

Usage

`/memory-search {keyword}`

Steps

1. **Identify search scope**: Scan these directories for `.md` files:

  • `~/.claude/projects/{current-project-id}/memory/`
  • `~/.claude/sessions/diary/`
  • `~/.claude/skills/learned/`
  • `~/.claude/sessions/` (session summaries)

2. **Search**: Use Grep to find the keyword across all `.md` files in those directories

3. **Report results**:

Memory Search: "{keyword}"

Found {N} matches in {M} files:

{filename}:{line_number} — {matching line preview}
{filename}:{line_number} — {matching line preview}
...

4. If no results: suggest related keywords or broader search terms

Notes

  • Case-insensitive search
  • Show max 20 results, sorted by most recently modified file first
  • Truncate long lines to 120 characters
  • If the keyword is in Chinese, also search for related terms
@helloruru
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Stars on GitHub

Momentum

stars in total
134
Star history of HelloRuru/claude-memory-engine on GitHub, a chart by star-history.com

Other commands on claude-memory-engine.

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