vscode-claude-code-patchlisted
Install: claude install-skill warodan/vscode-claude-code-patch
# Claude Code chat patch (VS Code, Windows; Remote-SSH Linux server)
The Claude Code extension has no extension point for its chat UI, so this skill inserts code into
the installed extension's two bundles: `webview/index.js` (the chat window) and `extension.js`
(the extension host). Each patched file keeps its pristine copy beside it (`<file>.orig`), and a
SessionStart hook re-applies the patch after every extension update, which wipes it. It runs on
Windows and, for a VS Code Remote-SSH window, on the Linux server:
[references/remote-ssh.md](references/remote-ssh.md).
| part | what the user sees | patches |
| --- | --- | --- |
| `chat-media` (base) | a card under an absolute path in an answer, by kind: image - preview, Open, Default app, Show in folder; `.psd`/`.psb` - Photoshop (only where Photoshop is installed), Show in folder; folder - Open folder; pdf, Office, archives and similar - Show in folder; any other file - Open, Show in folder; Open on a `.html`/`.htm` file shows the page in VS Code's Integrated Browser. A click on the preview opens a viewer (wheel zooms at the cursor, drag pans, double-click fits, Esc or a click beside the image closes). Markdown links and images to drive paths open or show the same card. A link `vscode://anthropic.claude-code/open?prompt=...` is clickable too: it opens a new Claude Code chat tab with that prompt typed in, not sent. A quote in an answer gets the code block's copy button: it copies the quote's text, lines and paragraphs kept