Back to list
PedroGiudice

mem-search

by PedroGiudice

1🍴 1📅 Jan 21, 2026

SKILL.md


name: mem-search description: Search through past session context and observations. Use when asking about past work, previous implementations, how something was done before, or recalling decisions. Keywords: remember, recall, last time, before, history, what did we, how did we

Memory Search - Cross-Session Context

Overview

Search through stored observations from past Claude Code sessions. Use this skill when the user asks about:

  • "What did we do last session?"
  • "How did we implement X before?"
  • "What bugs did we fix recently?"
  • "What decisions were made about Y?"
  • "Show me recent work on this project"

How to Use

Run the search command to query the context memory database:

python3 "$CLAUDE_PROJECT_DIR/.claude/memory/context_memory.py" search "<query>"

Common Queries

Recent activity:

python3 "$CLAUDE_PROJECT_DIR/.claude/memory/context_memory.py" recent

Search for specific topic:

python3 "$CLAUDE_PROJECT_DIR/.claude/memory/context_memory.py" search "authentication"

Get statistics:

python3 "$CLAUDE_PROJECT_DIR/.claude/memory/context_memory.py" stats

Get full context for current branch:

python3 "$CLAUDE_PROJECT_DIR/.claude/memory/context_memory.py" context "branch-name"

Observation Types

The memory stores these types of observations:

TypeSymbolDescription
decisionDChoices made about architecture, tools, approaches
bugfixBBug fixes and error resolutions
featureFNew features implemented
refactorRCode refactoring and cleanup
discoveryiInformation discovered during exploration
changeCGeneral code changes

Database Location

The context memory is stored at: ~/.claude/context_memory.duckdb

Response Format

When presenting search results:

  1. Group by type (decisions, bugfixes, features, etc.)
  2. Show most recent first
  3. Include timestamp and branch if relevant
  4. Summarize rather than dump raw data

Example Response

"Based on context memory, here's what happened:

Recent Decisions:

  • [2 days ago] Chose DuckDB over SQLite + Chroma for context storage
  • [3 days ago] Adopted tiered context injection strategy

Recent Bugfixes:

  • [Yesterday] Fixed authentication timeout in API routes

Recent Features:

  • [Today] Implemented context memory hooks"

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon