Capture VS Code's AI chat (Codex / Claude Code) as a beautiful PNG or clean markdown — one keystroke, ready to paste into Slack or email.
- Install from VS Code Marketplace.
- While using Codex or Claude Code in VS Code, press
Ctrl+Alt+P(Mac:Cmd+Alt+P). - The image lands on your clipboard and saves to
~/Pictures/Promptshot/. Paste it anywhere.
For markdown instead, run Promptshot: Capture as Markdown from the command palette.
| Command | Keybinding |
|---|---|
| Promptshot: Capture Last Exchange | Ctrl+Alt+P / Cmd+Alt+P |
| Promptshot: Capture as Markdown | Ctrl+Alt+Shift+P / Cmd+Alt+Shift+P |
| Promptshot: Pick Session… | — |
| Promptshot: Choose Theme… | — |
| Promptshot: Open Last Capture | — |
Pick Session… lets you choose an older session (not just the most recent) and pick image or markdown output.
| Setting | Default | What it does |
|---|---|---|
promptshot.theme |
mac-light |
mac-light or mac-dark |
promptshot.source |
auto |
auto, codex, or claude-code — pin a source if auto picks the wrong one |
promptshot.outputDir |
~/Pictures/Promptshot |
Where PNGs are saved |
promptshot.width |
720 |
Image width in pixels |
Advanced settings
| Setting | Default | What it does |
|---|---|---|
promptshot.maxHeight |
4000 |
Truncates very long messages |
promptshot.includeTools |
false |
Include tool_use messages |
promptshot.includeSystem |
false |
Include system messages |
Capturing the wrong session?
Promptshot picks whichever AI session was most recently active. If you have multiple Codex / Claude Code sessions running, set promptshot.source to lock to one.
MIT
