memex-search

Index local Claude and Codex history and retrieve results in JSONL format.

91|8|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/nicosuave/memex --skill memex-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memex-search
Source: https://github.com/nicosuave/memex/tree/main/skills/memex-search
Command: npx skills add https://github.com/nicosuave/memex --skill memex-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you rapidly index local Claude and Codex history and retrieve results in a structured, LL M-friendly format, eliminating manual searching through logs and transcripts.

Core Features & Use Cases

  • Indexing: Build or update the index (incremental) with memex index and fully rebuild with memex reindex.
  • Flexible Search: Exact term, semantic, and hybrid search modes for precise results.
  • Contextual Retrieval: Fetch full transcripts via memex show <doc_id> or entire sessions via memex session <session_id>.
  • LLM-friendly Output: JSONL by default and options like --json-array for easy ingestion into RAG pipelines.

Quick Start

  1. Initialize or update the index: memex index
  2. Run a search: memex search "your query" --limit 20
  3. Inspect a hit's full context: memex show <doc_id>