# Memory Search

> Semantic memory search across all agent memories and conversation history. Use BEFORE answering questions about prior work, decisions, dates, people, preferences, projects, or past conversations. Also use when asked "do you remember", "what did we discuss", "when did we", etc.

- **Type:** Skill
- **Install:** `agentstack add skill-jansenanalytics-claudex-memory-search`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [JansenAnalytics](https://agentstack.voostack.com/s/jansenanalytics)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [JansenAnalytics](https://github.com/JansenAnalytics)
- **Source:** https://github.com/JansenAnalytics/claudex/tree/main/examples/workspace/.claude/skills/memory-search

## Install

```sh
agentstack add skill-jansenanalytics-claudex-memory-search
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Memory Search — Semantic RAG

You have a vector memory search system that indexes:
- Your own memory files (CLAUDE.md, memory/*.md)
- Your Telegram conversation transcripts
- Cross-agent memories from Kite, Poe, and Argus (OpenClaw agents)

## When to Search

**ALWAYS search before answering about:**
- Prior work, decisions, or conversations
- Dates, timelines, project history
- People, preferences, or context from past sessions
- Anything the user says "remember" or "we discussed"
- Cross-agent context ("what has Argus been working on?")

## How to Search

```bash
# Basic search
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "your query here"

# Filter by source (memory files only, sessions only, cross-agent only)
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --source memory
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --source session
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --source cross-agent

# Filter by agent
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --agent kite
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --agent argus

# More results
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --limit 15

# JSON output (for parsing)
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --search "query" --json
```

## Interpreting Results

Each result shows:
- **Source**: `memory` (your files), `session` (conversation transcripts), `cross-agent` (Kite/Poe/Argus)
- **Agent**: which agent's data (claudex, kite, poe, argus)
- **Score**: hybrid of vector similarity (0.7) + text match (0.3), with recency decay
- **Snippet**: first 500 chars of the matched chunk

Higher scores = more relevant. Results above 0.3 are usually meaningful.

## Reindexing

The index updates automatically via cron (every 30 min). To force a reindex:

```bash
# Incremental (only changed files — fast)
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --index --incremental

# Full reindex (re-embeds everything — slower, costs API calls)
node --experimental-sqlite ~/.claude-agent/scripts/memory-search.cjs --index
```

## Important

- Requires `OPENAI_API_KEY` in environment
- Database: `~/.claude-agent/data/memory.sqlite`
- Cross-agent search lets you see what Kite, Poe, and Argus know without asking them

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [JansenAnalytics](https://github.com/JansenAnalytics)
- **Source:** [JansenAnalytics/claudex](https://github.com/JansenAnalytics/claudex)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jansenanalytics-claudex-memory-search
- Seller: https://agentstack.voostack.com/s/jansenanalytics
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
