memory_ingest
Reads compaction summaries from Claude Code transcripts and stores them as categorized, dedup'd memory chunks, capturing key sections like Primary Request and Errors without manual tagging.
Instructions
Capture Claude Code's OWN compaction summaries from disk into memory.
This is the primary write path: instead of tagging facts by hand, it reads
the transcript(s) Claude Code writes to ~/.claude/projects/<slug>/*.jsonl,
finds every compaction summary, and stores each of the summary's numbered
sections (Primary Request, Files and Code Sections, Errors and fixes, Pending
Tasks, ...) as categorized, dedup'd chunks. Safe to run repeatedly — unchanged
chunks re-map to the same id, so nothing piles up and nothing is lost across
compaction generations.
project: restrict to one project slug (the transcript folder name). Omit to scan all projects. session_path: ingest a single .jsonl transcript instead of scanning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| session_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |