Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

read-claude-web-conversation

БесплатноЗапускает вложенные скриптыНе проверен

Reads or exports the COMPLETE transcript of a Claude.ai web conversation — private /chat/... and public /share/... links — via Claude.ai's internal API in the…

daymadeот daymade★ 1 556 звёзд на GitHub

Об этом скилле

Read Claude.ai Web Conversation

Pull a Claude.ai web conversation into a full, structured transcript — every message and every tool call, not just what is currently on screen.

Verified against Claude.ai's web API as of July 2026. These are the same private JSON endpoints the Claude.ai front-end calls; they are not a documented or version-stable public API, so if a request 404s, re-derive the shape from the Network tab (see references/claude-web-api-extraction.md).

This skill vs. its siblings

Pick by the source you are holding, not by the word "conversation":

Source Use
A live claude.ai/chat/… or claude.ai/share/… URL This skill
Local Claude Code sessions (~/.claude/projects/*.jsonl) read-claude-code-history
An already-exported .txt / .json conversation file claude-export-txt-better

Why the obvious approaches fail (read this first)

Four traps, and every one of them fails silently — you get back something that looks like a complete export, and you only notice the loss if you happen to know how long the conversation really was. Assume you are being lied to by default; the fidelity gate in Step 4 exists to make the lies audible.

  1. Login wall. curl and WebFetch don't get an auth redirect — they get a Cloudflare challenge page (HTTP 403, Just a moment...). Nothing you do to the headers fixes this; the page is gated on a session that lives in the user's Chrome. Never reach for curl here, not even to "just check".
  2. Virtual scrolling. With the conversation open, get_page_text and DOM scraping still only see the handful of messages currently rendered — often just the last one. A 40-message thread comes back as 1.
  3. Default rendering collapses the tool calls. The API's default rendering turns every tool call into a "not supported on your current device" placeholder. On a research/agent conversation the tool blocks ARE the content: measured on a real one, the default rendering returned 9.4k chars against 173k with render_all_tools=true — 5%. Always request the full rendering.
  4. A /chat/-shaped renderer silently drops /share/ blocks. A share payload returns web_search hits as knowledge items, not text items. A renderer that only knows text returns the empty string for them and reports no error — the same real conversation rendered to 8k chars instead of 146k (4.8% retention) and looked completely fine.

The reliable path: run JavaScript inside the user's logged-in page and let fetch inherit the session cookie, then render locally through the fidelity gate.

Step 0 — Choose an injection channel

Three channels can execute JS inside the user's page. They differ only in plumbing, and each fails in its own way, so pick in this order and verify rather than assume.

Order Channel Use when Fails when
1 claude-in-chrome extension list_connected_browsers returns a browser Returns [] → the extension's claude.ai login ≠ the Claude Code account. This is structural — retrying, reinstalling, and switch_browser all fail. Move on immediately.
2 CDP (scripts/cdp_channel.py probe) probe says available: true — then it is the best channel there is Usually unavailable, and that is normal, not a malfunction — see below. Probe is cheap; believe its answer and move on.
3 AppleScript (macOS only) The realistic fallback when the extension can't pair See the routing trap below — check for it BEFORE blaming the user
✗ curl / WebFetch never Cloudflare 403. There is no header that fixes it.

⚠️ Expect CDP to be unavailable, and never try to force it. Since Chrome 136 (April 2025) the debugging port is ignored on the default user-data-dir — a deliberate hardening against malware that used CDP to steal cookies. You may still find a listening socket and a stale DevToolsActivePort on disk while the WebSocket handshake is never answered and /json/* returns 404.

And its availability flaps. Verified on Chrome 150, one machine, one browser session: the endpoint worked, then stopped answering entirely, then answered again — with no restart in between. So probe every time and never cache the verdict. "CDP worked five minutes ago" is not evidence that it works now, and "CDP failed once" is not evidence that this machine can't use it. The probe is cheap precisely so you can afford to re-ask.

The trap is what you'll be tempted to do next. Every fix on the web says "relaunch Chrome with --user-data-dir=/tmp/whatever". For this skill that is worse than useless: a fresh profile is signed out, and a signed-out browser cannot read a single one of the user's conversations. The session you need lives in precisely the profile Chrome is refusing to expose. So probe, take the answer,

Полный SKILL.md на GitHub

Установить read-claude-web-conversation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignorereferences/applescript_fallback_channel.mdreferences/claude-web-api-extraction.mdscripts/cdp_channel.pyscripts/download_files.jsscripts/export_conversation.jsscripts/fetch_cdp.jsscripts/render_transcript.pyscripts/runjs.applescriptscripts/selftest_channel.pyscripts/selftest_fidelity.py

FAQ

Что делает скилл read-claude-web-conversation?

Reads or exports the COMPLETE transcript of a Claude.ai web conversation — private /chat/... and public /share/... links — via Claude.ai's internal API in the user's logged-in Chrome, plus its files. Use when the user pastes a claude.ai link and asks to read, summarize, export, archive, or extract it — "读这个对话", "导出网页版对话", "拉到本地". Local sessions: read-claude-code-history; exported files: claude-export-txt-better.

Как установить скилл read-claude-web-conversation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл read-claude-web-conversation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить read-claude-web-conversation с