Skip to content
UsecaseBoard
← All use cases
substackDocuments

Extract and reorganize Claude Project knowledge

At a glance

A tutorial uses Claude Code to extract knowledge documents from an account export and organize them by topic. This workflow is listed under Documents, Coding.

Agents / tools
Claude

SourceBuilding a tool for these workflows? See weekly rates.

What they did

1) With Claude Code installed and existing Claude Projects, export account data from Claude's Privacy settings, download and unzip it, then open a terminal in the export folder containing projects.json. 2) Start Claude Code and ask it to write a Python script that extracts each project's docs, sanitizes filenames, identifies file types, preserves metadata and groups the files by project. Run the resulting extraction script. 3) Ask Claude Code to analyze the extracted files, identify duplicates and propose a topic-based hierarchy and README. Review and refine the proposed structure before asking it to carry out the reorganization.

Worth knowing

The article presents a tutorial and example output; it does not establish that every export has the same structure. The export can contain personal information.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

No prompt excerpt was provided by the source.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →