latitude-llm: Skill for Claude Code

.agents/skills/artifact-designer/SKILL.md

artifact-designer is a skill for Claude Code, Codex from latitude-dev/latitude-llm. It costs 66 tokens per session (993 once invoked), scanned A, original, MIT.

A workflow for creating, checking, previewing, and publishing self-contained HTML files. HTML artifacts are standalone web documents such as dashboards, reports, timelines, prototypes, or benchmark viewers.

In plain words
What is it for?
Use it to create new HTML artifacts or validate, preview, and publish existing HTML files.
Why use it?
It provides a consistent way to validate an HTML document and inspect it before publishing. When an existing HTML file is supplied, it works on that file directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is latitude-dev/latitude-llm's own configuration. It tells Claude Code and Codex how to work on latitude-llm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything latitude-llm configures →

About the project

Latitude is an open-source platform for monitoring AI agents by collecting execution traces, grouping failures, dispatching coding agents to make fixes, and replaying failures to verify them. Teams use it to observe agent behavior, investigate errors, and monitor whether fixes prevent regressions. The catalogue entries include skills, instructions, and an MCP server for working with Latitude.

latitude-dev/latitude-llm · 4,632 stars · on GitHub · latitude.so

Reuse

Borrowing it

Nothing to install: this file belongs to latitude-dev/latitude-llm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/latitude-dev/latitude-llm/development/.agents/skills/artifact-designer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/latitude-dev/latitude-llm

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-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/latitude-dev/latitude-llm/artifact-designer/github.svg)](https://agentmods.dev/skills/latitude-dev/latitude-llm/artifact-designer)
Your own site
<a href="https://agentmods.dev/skills/latitude-dev/latitude-llm/artifact-designer"><img src="https://agentmods.dev/badge/skills/latitude-dev/latitude-llm/artifact-designer/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-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/latitude-dev/latitude-llm/artifact-designer"><img src="https://agentmods.dev/badge/skills/latitude-dev/latitude-llm/artifact-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 16
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00066 $0.00993
Opus 5 $0.00033 $0.00496
Sonnet 5 $0.00013 $0.00199
Haiku 4.5 $0.00007 $0.00099

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

Security

Grade A, and why

artifact-designer scanned grade A with 0 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/artifact.mjs), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/artifact-designer/SKILL.md · 122 lines

How it starts

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

Artifact Designer

Use this skill for HTML artifacts and HTML publishing.

Core rule

If the user points to an existing .html or .htm file, operate on that file directly.

Do not:

  • create a new artifact
  • copy it into .artifacts/
  • wrap it in the template
  • enforce Artifact UI design classes

Use the helper's --file commands.

Existing HTML file

Validate:

node <skill-dir>/scripts/artifact.mjs validate --file path/to/file.html --strict

Preview:

node <skill-dir>/scripts/artifact.mjs preview --file path/to/file.html --open

Publish:

node <skill-dir>/scripts/artifact.mjs publish --file path/to/file.html --target temporary

Add --name <worker-name> only when the user asks for a stable Worker name.

File validation checks publish safety and platform limits. It does not check for .artifact-* classes or bundled design tokens.

New artifact

Use this path only when the user asks you to create or redesign an artifact.

If artifact tools are available, use them:

artifact_create({ title, instructions, kind, id? })
artifact_validate({ id, strict: true })
artifact_preview({ id, open: true })
artifact_publish({ id, target: "cloudflare-temporary", confirmPublic: true })

Otherwise use the helper:

node <skill-dir>/scripts/artifact.mjs create --title "Title" --instructions "..." --kind report
node <skill-dir>/scripts/artifact.mjs validate --id <id> --strict
node <skill-dir>/scripts/artifact.mjs preview --id <id> --open
node <skill-dir>/scripts/artifact.mjs publish --id <id> --target temporary

Generated artifacts live in:

.artifacts/<id>/source/index.html

Edit source/index.html; rebuild/validate before previewing or publishing.

Design rules for new artifacts

Design priority:

  1. .artifacts/DESIGN.md
  2. ~/.artifact-designer/DESIGN.md
  3. references/design-system.md and references/artifact-theme.css

Requirements for new artifacts:

  • single index.html unless Markdown is requested
  • semantic HTML inside <main class="artifact-shell">
  • use bundled .artifact-* classes before custom CSS
  • no external scripts, stylesheets, fonts, images, or APIs
  • no fetch, XMLHttpRequest, or WebSocket
  • inline only small local-interaction JavaScript
  • prefer HTML/CSS/SVG visuals
  • keep each file under 5 MiB
  • use restrained UI: whitespace, clear hierarchy, crisp borders
  • use mono text for code, IDs, metrics, timestamps, and table numbers
  • add copy/export controls for interactive decision surfaces

Read the full file on GitHub · 122 lines

Files

What ships with it

4 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. 9d ago First seen · 122 lines · 66 tokens per session scan A a1c006dc7e2d

Subscribe to this mod's changes

artifact-designer is a skill published in the GitHub repository latitude-dev/latitude-llm (4,632 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 993 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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

p5js

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

NousResearch/hermes-agent · 20 tokens

webgl-particle-galaxy

A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…

nexu-io/open-design · 126 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens

webgl-horizontal-parallax

A horizontal-scroll WebGL gallery (Three.js): frames glide sideways with lerp smoothing and each image parallaxes its texture (UV shift) by its position in the viewport.

nexu-io/open-design · 41 tokens

webgl-aurora-veil

A self-contained WebGL2 hero: layered aurora light curtains warped over a night sky scattered with stars; move the cursor to sway the veil.

nexu-io/open-design · 38 tokens

remotion-to-hyperframes

Port an existing Remotion (React) composition's source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear →…

heygen-com/hyperframes · 84 tokens