---
title: "image-preview"
url: "https://claudemods.dev/zh-cn/builds/image-preview-381cb8"
source: "https://github.com/vrnrn/agent-harness/tree/main/mods/image-preview"
source_type: "github"
repo: "https://github.com/vrnrn/agent-harness/tree/main/mods/image-preview"
author: "vrnrn"
author_handle: "vrnrn"
stars: 0
category: "提示词与输入增强"
categories: ["input"]
tags: ["claude-code", "hooks", "hover", "image-preview", "macos", "plugin", "terminal"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add vrnrn/agent-harness\nclaude plugin install image-preview@vrnrn"
added: "2026-10-05T17:08:22.208Z"
updated: "2026-10-04T21:23:11Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# image-preview

在已发送提示中的 [Image #n] 引用上显示悬停预览卡片的 Claude Code mod。

## Description

将鼠标悬停在已发送提示中的 `[Image #n]` 引用上，就能查看附加图片，无需离开对话。需要 Claude Code mods API、支持图片的终端以及 macOS `sips`。使用 `claude plugin marketplace add vrnrn/agent-harness` 添加，再运行 `claude plugin install image-preview@vrnrn` 安装。

## Install

```
claude plugin marketplace add vrnrn/agent-harness
claude plugin install image-preview@vrnrn
```

## Original README

# Image preview

Hover over an `[Image #n]` reference in a sent prompt to see the attached image without leaving the conversation.

![An image hover preview in Claude Code](../../assets/mods/image-preview.png)

## Install

```bash
claude plugin marketplace add vrnrn/agent-harness
claude plugin install image-preview@vrnrn
```

Requires the Claude Code mods API, an image-capable terminal, and macOS `sips`. Image metadata must be available in the session.

See the [mod guide](../README.md) for compatibility, local loading, validation, and tests.
