Artifact Visual Preview Agent Skill

Renders workspace artifacts into text, page screenshots, thumbnails, and multi-page collages for rapid visual quality inspection before…

Context cost
5.6k tokensestimated from the bundle, loaded when it triggers
Bundle
28 of 30 fileshanded out here; the rest is at its source
Licence
Proprietary — internal use only.the author’s own terms
Last change
—v2.1
Servers it uses
Noneruns standalone

What it does

Render workspace artifacts (pdf/pptx/docx/xlsx/html/png/jpg/txt/zip) into text + page screenshots + thumbnail + multi-page collages, saved under ./.preview/{hash}/. Use Read on the resulting jpg/png files to visually inspect your own deliverables before delivering them; it catches what a structural checker cannot — text truncation, colour clashes, clipped chart titles, layout drift, blank slides, CJK rendered as boxes. Triggered by: "看看产物长什么样", "视觉自检", "preview pptx", "render artifact", "screenshot pdf", "渲染产物", "我的报告画出来好看吗", "图表是否完整".

What this skill changes about the agent has not been set out here as a list. Its SKILL.md, shown below, says it in the author’s own words.

productivity

The skill itself

A skill is instructions the model reads, so you can see what you are getting: below is the start of its SKILL.md. The front matter loads with every session, the body loads when the skill triggers, and the whole file comes with the install.

SKILL.md10.3 kB · preview
--- name: artifact-preview license: Proprietary — internal use only. compatibility: >- Linux, macOS or Windows. Needs Python 3.10+ and Pillow; PyMuPDF for pdf, python-pptx for pptx text, python-docx for docx, openpyxl for xlsx. Screenshots of pptx need a LibreOffice install. Missing pieces degrade to text with a warning, never a crash. On Windows invoke the entry point as bin/preview.cmd (or `python bin/preview`): the extension-less POSIX script cannot be executed directly there. metadata: version: "2.1" hub: artifact-preview ---
25# Artifact Preview
26
27把产物渲染成文本加截图,交付前用 Read 打开图片肉眼检查。
28注意:HTML 产物不需要自检
29
30它和 verifier-hub 是一对:verifier 回答「文件结构和数值对不对」,
31artifact-preview 回答「文件看起来对不对」。
32
33## 什么时候用
34
35在 verifier rubric check-file-format 通过之后、正式交付之前,
36对可渲染的产物跑一次。典型 PPT 或 PDF 大约 5 秒,并且按内容 hash 缓存,
37同一个没改过的文件重复调用几乎不花时间。
38
39| 类型 | 会得到什么 | 视觉检查价值 |
40|------|-----------|------------|
41| .pptx / .ppt | 文本 + 每页截图 + 拼图 | 高:版式、配色、图表是否放得下、文字是否溢出 |
42| .pdf | 文本 + 每页截图 + 拼图 | 高:版式、图片位置、中文是否正常显示 |
43| .docx | 文本(含表格),**不出图** | 低:只能看内容,看不到排版 |
This is a preview of SKILL.md. Download or install the skill to get the whole thing.
In the file
SKILL.md765 words
Files28
LicenceProprietary — internal use only.
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈280
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
5,320
on trigger
The instruction body and 27 supporting files, read only when the skill fires.
2.8%
of a 200k window
Ten skills this size would take about 28% of the window before you open a file.
050k100k150k200k context window

5.6k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Heavy. Teams tend to install this one per project rather than globally, and load it only when the job comes up.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

The procedure it runs

The procedure has not been set out here step by step. It is in the body of its SKILL.md: the start of it is shown above, and the whole file comes with the install.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

Its SKILL.md does not declare which tools it asks the agent for, so what it touches is whatever the instructions themselves ask for — read them before you install it.

What it asks for
Writes filesnot declared
Network accessnot declared

This SKILL.md carries no allowed-tools line, so neither is declared. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

The download carries 28 of the 30 files in its source folder; the list here names 28 files, 127.8 kB on disk. Mostly text — the instructions the model reads — with 25 scripts in it that your client would run only if the instructions tell it to. The other 2 are not in the download — listed after these, with why.

  • SKILL.md10.3 kB
  • README.md7.8 kB
  • requirements.txt4.3 kB
  • lib/__init__.py1.7 kB
  • lib/_common.py13.4 kB
  • lib/_types.py3.6 kB
  • lib/cache.py3.4 kB
  • lib/cli.py10.4 kB
  • lib/collage.py4.7 kB
  • lib/dispatch.py8.5 kB
  • lib/docx.py1.1 kB
  • lib/html.py2.1 kB
  • lib/image.py1.4 kB
  • lib/manifest.py2.8 kB
  • lib/pdf.py2.3 kB
  • lib/pptx.py2.6 kB
  • lib/text.py1.4 kB
  • lib/xlsx.py1.2 kB
  • lib/zip_.py1.4 kB
  • lib/render/__init__.py2.4 kB
  • lib/render/collage.py11.2 kB
  • lib/render/constants.py1.4 kB
  • lib/render/docx.py2.3 kB
  • lib/render/html.py12.7 kB
  • lib/render/pdf.py3.5 kB
  • lib/render/pptx.py5.7 kB
  • lib/render/types.py1.3 kB
  • lib/render/xlsx.py2.9 kB

Not in the download

Not carried is a type a skill download does not hold. Marked read: its SKILL.md or scripts name the file, so without it the skill works only in part. Take them from its source.

  • bin/previewread · not carried
  • bin/preview.cmdread · not carried
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 25 scripts beside the text, so the download is 28 files — not the whole of its source: 2 files are left out, and the skill reads 2 of them. They are listed under the files, with why. The licence the author declares covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Artifact Visual Preview · 5.6k tokens when loaded · macOS, Linux mkdir -p .claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/artifact-visual-preview/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/artifact-visual-preview" ] && { [ ! -e .claude/skills/artifact-visual-preview ] || { mv .claude/skills/artifact-visual-preview "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/artifact-visual-preview" .claude/skills/ && echo "Installed .claude/skills/artifact-visual-preview"
On Windows, or any OS with Node 20+
npx mcprush@latest skill add ahang1598/artifact-visual-preview

Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither. Writes to .claude/skills/artifact-visual-preview/ in the current project. For every project instead, run mkdir -p ~/.claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/artifact-visual-preview/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/artifact-visual-preview" ] && { [ ! -e ~/.claude/skills/artifact-visual-preview ] || { mv ~/.claude/skills/artifact-visual-preview "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/artifact-visual-preview" ~/.claude/skills/ && echo "Installed ~/.claude/skills/artifact-visual-preview" (macOS, Linux) — or add --global to the npx line. The curl line replaces .claude/skills/artifact-visual-preview/ only after the download succeeds, so files left there by another skill of the same name, or by an older release, do not mix in. A copy already there is moved aside, not deleted, and the line prints where. It appears as artifact-preview in Gemini CLI, Codex, Copilot and Grok (its own name); Claude Code lists it by the folder name, artifact-visual-preview. Not in this download: 2 files of its source, 2 of them read by its SKILL.md or scripts (the full list, and why). Take them from its source.

Which clients pick it up on their own

A skill is a folder of text. Most of these read a skills folder and pick it up without being told; the rest take the same folder another way — an upload in the app, a parameter on an API call — and then choose it by its description just the same.

Claude Code.claude/skills/
Claude DesktopCustomize › Skills
ChatGPTSkills › Create › Upload
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok Build.grok/skills/
Microsoft CopilotSkills › Upload a skill
PerplexityComputer › Skills › Upload a skill
DeepSeek Harness.dsh/skills/
Zed.agents/skills/
Devin Desktop.devin/skills/
Windsurf (legacy).windsurf/skills/
OpenAI Agents SDKInstructions or sandbox Skills
HTTP / APIa request parameter
This release
Version2.1
Publishedno release date on file
PriceFree
Referenceahang1598/artifact-visual-preview

Versions

v2.1 is what is on the shelf; no release here carries a date. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v2.1
  • No earlier releases have been published to the marketplace.
Pinning

The install command always fetches the release that is current the day you run it — v2.1 today — and cannot ask for an earlier one. The copy on your disk does not change until you run it again.

Reviews

—no reviews yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Sign in to review it

A review is tied to an account so it can be answered, edited and taken down by the person who wrote it.

Sign in
Who can post

Anybody with an account, one review each. It carries the version that was current when you wrote it, and the publisher may reply once.

Publisher
Servers0
Claim this skill