@remnic/import-claude
v9.3.549
Published
Import conversation history from Claude.ai data exports into Remnic (issue #568)
Downloads
26
Maintainers
Readme
@remnic/import-claude
Optional importer for Claude.ai data exports. Ships as a separately installable companion to the Remnic CLI.
npm install -g @remnic/import-claude
remnic import --adapter claude --file ~/claude-export/projects.jsonWhat it imports
- Project docs (default): every
docs[].contentbecomes one memory withmetadata.kind = "project_doc". - Project prompt templates (default): every non-empty
prompt_templatebecomes one memory withmetadata.kind = "project_prompt_template". - Conversation summaries (opt-in via
--include-conversations): one memory per conversation summarizing the human-authored turns. Assistant turns are never imported verbatim.
Input shapes
The adapter accepts either:
projects.json— array of Claude projects withdocsandprompt_templateconversations.json— array of conversations withchat_messages- A combined bundle object
{ "projects": [...], "conversations": [...] }
Synthetic fixtures under fixtures/ mirror the real shapes without any
personal data.
À-la-carte contract
This package is declared as an optional peer dependency of
@remnic/cli. Installing the CLI without this package produces a
friendly install hint — never MODULE_NOT_FOUND.
