# Mem

> Search local memory index (local-first). Use for /mem queries in Telegram.

- Skill: `dvcrn/mem` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dvcrn/mem`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/mem/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/dvcrn/mem

---


# Memory Search (/mem)

## Overview

Run local-first memory search using the cached index.

## Usage

1) Update the index if needed:
```bash
scripts/index-memory.py
```

2) Search the index with the user query:
```bash
scripts/search-memory.py "<query>" --top 5
```

## Output

Return the top hits with their paths and headers. Summarize briefly if needed.

