Home / Claude Code mods / Interface / paste-preview

paste-preview

paste-preview is a Claude Code mod by alan890104 that see and mark up the images you paste into Claude Code: thumbnails above the prompt and in the transcript, and an editor that opens on paste.

Updated 2026-10-08

What is paste-preview?

paste-preview is a Claude Code mod by alan890104 that see and mark up the images you paste into Claude Code: thumbnails above the prompt and in the transcript, and an editor that opens on paste. It is listed under Interface and has 37 GitHub stars.

TypeClaude code mod
Authoralan890104
Repositoryalan890104/claude-code-paste-preview
Popularity37 GitHub stars
CategoryInterface
SecurityHigh risk (52/100)
Rank#249 of 5,272 Claude Code mods; #101 in Interface
LicenseMIT
Last commit2026-10-08
Hooks5 events
Seesevery prompt
Draws onUserMessage, AbovePrompt

Is paste-preview safe to install?

paste-preview scores 52/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.sleep
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.process.spawn
$.prompt.read
$.session.id
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install paste-preview?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/alan890104/claude-code-paste-preview
    claude plugin validate ./claude-code-paste-preview/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add alan890104/claude-code-paste-preview && claude plugin install paste-preview@paste-preview

Or ask Claude to set it up

Paste this into Claude Code and it installs paste-preview for you:

Install the "paste-preview" Claude Code mod from https://github.com/alan890104/claude-code-paste-preview. Run claude plugin validate on it first and show me what it can access before you enable it.