Install
openclaw skills install x-grok-to-obsidianExport Grok conversations from X (x.com) via browser-network capture and convert them into Obsidian-ready Markdown files. Use when a user wants to back up Grok chat history, preserve User vs Grok turns, and generate Markdown notes with YAML frontmatter (URL, created) from captured JSON.
openclaw skills install x-grok-to-obsidianExport Grok conversations in two stages.
Run the browser script in Chrome DevTools Console on https://x.com/i/grok while logged in.
Use script: scripts/export_grok_items_capture.js
Behavior:
GrokConversationItemsByRestId responses (fetch + XHR)Quick settings (edit at top of script before run):
INDEX_PASSES (default 3)CAPTURE_PASSES (default 3)MAX_CHATS (null = all, or number for test)Output:
grok-network-capture-<timestamp>.json downloaded by browserRun Python converter locally:
python3 scripts/convert_grok_capture_to_md.py \
--input /path/to/grok-network-capture-*.json \
--out /path/to/output-folder
Converter defaults:
URL, created# <title> (no blank line before header)## User / ## Grok (no numbering)---Useful flags:
--include-reasoning include thinking_trace blocks--separator "---" customize turn separator--overwrite overwrite same-title files instead of creating Title 2.md