memshelf_import
Discovers conversations in claude.ai exports, extracts clean transcripts, and shelves each segment for memory retention.
Instructions
Retro-shelve a whole exported dialog without pulling it through context.
Two methods. discover lists the conversations in a claude.ai
conversations.json or Claude Code session JSONL, matched by content
markers (not title), returning metadata only. extract cleans one
conversation — dropping tool_use/tool_result blocks — to a working file and
returns its path plus the noise ratio. The raw transcript stays a file on
disk: it never enters context or a shelf. Then read the cleaned file, segment
it, and shelve each segment (mode=import).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |