index_terminal_sessions
Index local Claude Code terminal sessions into Memex for searchable memory. Captures new or changed sessions incrementally.
Instructions
Index the user's local Claude Code / terminal sessions into Memex now.
Runs the same incremental scan as memex ingest-claude-code: reads
~/.claude/projects/**/*.jsonl and ingests new or changed sessions
(source claude_code) so they become searchable. Unchanged sessions are
skipped, so this is cheap. The CURRENT session is captured up to what
Claude Code has flushed to its transcript on disk.
USE when the user asks to index / capture / save their terminal or Claude
Code work into their memory ("indexá esta charla", "index my sessions",
"guardá esta conversación en memex"). To also send it to the user's other
devices, follow with sync_now.
Returns:
JSON with status and, on success, indexed (new sessions),
unchanged, messages, chunks, errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |