Back
40/65
Lesson 40
5 min
CSCTF: Chat Archiver
Convert AI share links to Markdown for permanent archiving
Ready to level up?
Mark complete to track your learning progress.
Convert AI share links to Markdown for permanent archiving
Mark complete to track your learning progress.
Convert AI chat share links into clean Markdown and HTML files for archiving and reference.
CSCTF (Chat Shared Conversation to File) downloads conversations from ChatGPT, Claude, Gemini, and Grok share links, converting them into clean Markdown and HTML files you can keep forever.
AI providers can remove shared conversations at any time. CSCTF preserves your best conversations locally with proper formatting, code blocks, and metadata intact.
ChatGPT, Claude, Gemini, Grok
Markdown + HTML per conversation
Keep conversations forever
Syntax highlighting intact
Interactive Conversion Pipeline
Select a source to watch CSCTF fetch, parse, and convert a conversation into clean Markdown
Pass a share link and CSCTF handles the rest.
# Convert a ChatGPT share linkcsctf "https://chatgpt.com/share/abc123"# Convert a Claude share linkcsctf "https://claude.ai/share/xyz789"# Output goes to current directory:# conversation_title.md# conversation_title.html
CSCTF converts one share link per run. To archive a list, loop over a file of URLs; each transcript gets its own stable, slug-based filename in the current directory.
# Create a file with one URL per linecat > ~/urls.txt << 'EOF'https://chatgpt.com/share/abc123https://claude.ai/share/xyz789https://gemini.google.com/share/def456EOF# Convert each link into ~/ai-archivemkdir -p ~/ai-archive && cd ~/ai-archivewhile IFS= read -r url; do csctf "$url" --quiet; done < ~/urls.txt
CSCTF fits naturally into the agent workflow.
Archive conversations, then search them with CASS
Convert archived chats into LLM-ready prompts
Extract patterns from past conversations into memory
Link archived conversations to task issues