artifact-preview

artifact-preview is a skill for Claude Code, Codex from ChuckSRQ/awesome-hermes-skills. It costs 46 tokens per session (2,735 once invoked), scanned D, original, MIT.

A live preview workflow for viewing generated web pages, dashboards, and other visual results in a browser. It supports automatic reloading, saved versions, screenshots, and inline editing.

In plain words
What is it for?
Use it to preview self-contained HTML, CSS, and JavaScript while building a UI or dashboard. It is intended for human visual review, not for extracting page data.
Why use it?
It makes visual changes easy to inspect and keeps earlier versions available when you need to compare or restore work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to preview self-contained HTML, CSS, and JavaScript while building a UI or dashboard. It is intended for human visual review, not for extracting page data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chucksrq/awesome-hermes-skills/artifact-preview
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChuckSRQ/awesome-hermes-skills --skill artifact-preview
Clone the repo
git clone --depth 1 https://github.com/ChuckSRQ/awesome-hermes-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for artifact-preview

README.md
[![agentmods](https://agentmods.dev/badge/skills/chucksrq/awesome-hermes-skills/artifact-preview/github.svg)](https://agentmods.dev/skills/chucksrq/awesome-hermes-skills/artifact-preview)
Your own site
<a href="https://agentmods.dev/skills/chucksrq/awesome-hermes-skills/artifact-preview"><img src="https://agentmods.dev/badge/skills/chucksrq/awesome-hermes-skills/artifact-preview/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for artifact-preview

Your own site · 80×15
<a href="https://agentmods.dev/skills/chucksrq/awesome-hermes-skills/artifact-preview"><img src="https://agentmods.dev/badge/skills/chucksrq/awesome-hermes-skills/artifact-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.02735
Opus 5 $0.00023 $0.01367
Sonnet 5 $0.00009 $0.00547
Haiku 4.5 $0.00005 $0.00274

Measured 12d ago against content hash 203bed2f07df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade D, and why

artifact-preview scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (install.sh, launcher.py, open-chrome.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

**⚠️ Pitfall — tilde in curl `@` syntax:** `curl --data-binary @~/path` fails because `~` doesn't expand through curl's `@` filename operator. Always `cd` to the directory first, or copy to a temp file with absolute path

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/ChuckSRQ/awesome-hermes-skills/v4.3/artifact-preview/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/ChuckSRQ/awesome-hermes-skills/v4.3/artifact-preview/install.sh | bash
artifact-preview/SKILL.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🪽 Artifact Preview v4.3 — Live Preview + Smart History 🏆

One-line install. Instant visual feedback. Every version safely saved. Zero "where did my work go?" 🔥

What This Is

This skill shows the human what you built — a UI, a dashboard, a page, a result. Visually. Instantly.

It is not for agents to read content from. The Chrome window is for human eyes only. Extract data directly from the source if needed.

⚠️ INCOMPATIBLE with chrome-devtools. Never use both simultaneously.

🚀 One-Line Install

curl -fsSL https://raw.githubusercontent.com/ChuckSRQ/awesome-hermes-skills/v4.3/artifact-preview/install.sh | bash

Server starts automatically. You're ready to go. ✨

How to Use

Step 1 — Generate complete, polished, self-contained HTML/CSS/JS (see Design Standards below).

Step 2 — Save + trigger reload:

cd ~/artifact-preview

cat > artifact.html << 'ENDOFHTML'
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Clear Title Here</title>
</head>
<body>
    <!-- your complete content -->
</body>
</html>
ENDOFHTML

# Saves + archives + live reload — instant! ⚡
curl -X POST http://localhost:8765/update \
  -H "Content-Type: text/html; charset=utf-8" \
  --data-binary @artifact.html -s -o /dev/null

Step 3 — Open the preview:

bash ~/artifact-preview/open-chrome.sh   # auto mode = magic 🪄

Pro tip: Always include <title> and <h1> — history labels depend on them.

⚠️ Static asset trap — images and subdirectories: If your artifact HTML references subdirectories or image files (e.g. <img src="slides/slide-01.jpg">), those files MUST be inside ~/artifact-preview/ — the server only serves from its own directory. Files elsewhere on the filesystem are invisible even if they exist. Always copy assets to ~/artifact-preview/ before POSTing.

⚠️ Pitfall — tilde in curl @ syntax: curl --data-binary @~/path fails because ~ doesn't expand through curl's @ filename operator. Always cd to the directory first, or copy to a temp file with absolute path first:

cp ~/artifact-preview/history/myfile.html /tmp/myfile.html
curl -X POST http://localhost:8765/update \
  -H "Content-Type: text/html; charset=utf-8" \
  --data-binary @/tmp/myfile.html -s -o /dev/null

Read the full file on GitHub · 268 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 268 lines · 46 tokens per session scan D 203bed2f07df

Subscribe to this mod's changes

artifact-preview is a skill published in the GitHub repository ChuckSRQ/awesome-hermes-skills (76 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 2,735 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens