Agent skill

Static Web Artifacts Builder

by Mathews-Tom in Mathews-Tom/armory

Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics.

Apache-2.0Auto-check passedFrontend & Design

Install Static Web Artifacts Builder

skills CLI
$ npx skills add Mathews-Tom/armory --skill static-web-artifacts-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mathews-Tom/armory static-web-artifacts-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/static-web-artifacts-builder .claude/skills/static-web-artifacts-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
static-web-artifacts-builder
GitHub stars
327
Token cost
~1.8k tokens
SKILL.md length
672 words
Files
5 (incl. scripts)
Skills in repo
80
Repo updated
First seen
Licence
Apache-2.0

At a glance

Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics.

  • Works in 4 steps: Initialize Project → Develop Your Artifact → Validate and Finalize → …
  • : interactive HTML
  • SKILL.md covers Design & Style Guidelines, Quick Start, When to Use This Skill vs… and Error Handling, plus 1 more section
  • Runs Shell scripts from its folder; calls bash

What it does

Static Web Artifacts Builder is an agent skill from Mathews-Tom/armory. Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics. Pure HTML5+CSS3+inline SVG, zero toolchain. Triggers on: "interactive HTML", "open in browser", "HTML artifact", "visual dashboard", "HTML infographic". NOT for PNG/SVG output, use concept-to-image.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `evals/cases.yaml`, `scripts/bundle-artifact.sh` and `scripts/init-artifact.sh`).

It sits in Frontend & Design, covering HTML artifacts and Infographics. The repository describes itself as: Curated, production-grade skills for AI coding agents. Battle-tested workflows for developers who use AI seriously. The licence is Apache-2.0.

When your agent uses it

  • : interactive HTML
  • Open in browser
  • Visual dashboard
  • HTML infographic

Example prompts

  • “interactive HTML”
  • “open in browser”
  • “HTML artifact”
  • “/static-web-artifacts-builder”

Requirements

  • A Bash shell

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Initialize Project
  2. Develop Your Artifact
  3. Validate and Finalize
  4. Share Artifact with User

What it can do on your machine

Read from SKILL.md and the folder at commit 4594fb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Static Web Artifacts Builder loads about 1.8k tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 672 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Mathews-Tom/armory at commit 4594fb7, republished under its Apache-2.0 licence (© Mathews-Tom). 672 words, ~1,822 tokens.

Download SKILL.mdSave it as .claude/skills/static-web-artifacts-builder/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
static-web-artifacts-builder
description
Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics. Pure HTML5+CSS3+inline SVG, zero toolchain. Triggers on: "interactive HTML", "open in browser", "HTML artifact", "visual dashboard", "HTML infographic". NOT for PNG/SVG output, use concept-to-image.
metadata.version
1.1.1
metadata.category
visualization
metadata.tags
html, interactive, dashboard, svg
metadata.difficulty
intermediate

Static Web Artifacts Builder

To build high-density static infographic artifacts, follow these steps:

  1. Initialize the project scaffold using scripts/init-artifact.sh
  2. Develop your artifact by editing the generated HTML file(s)
  3. Validate and finalize using scripts/bundle-artifact.sh
  4. Display artifact to user

Stack: Vanilla HTML5 + CSS3 (Grid/Flexbox) + inline SVG — zero runtime dependencies

Design & Style Guidelines

VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.

Infographic-Specific Constraints
  • Density: Content-to-whitespace ratio ≥ 70:30. Maximize signal per pixel.
  • Geometry: Layered/nested containers, shaped regions (clip-path, border-radius variations), gradient fills, subtle box-shadows — not flat uniform boxes.
  • Iconography: Inline SVG icons for every major concept. No naked text labels.
  • Color: Purposeful palette (3-4 hues + neutrals), encoding meaning (category, flow direction, severity). Define as CSS custom properties.
  • Flows: Directional connectors with SVG arrowheads, curved paths, labeled edges. Architecture diagrams = layered tiers with bidirectional data flows, not flat node graphs.
  • Layout math: CSS Grid with explicit grid-template-columns/grid-template-rows fractional allocations. No auto-spacing defaults. Every margin/padding intentional.

Quick Start

Step 1: Initialize Project

Run the initialization script to create a new static project:

bash
bash scripts/init-artifact.sh <project-name>
cd <project-name>

This creates a minimal scaffold with:

  • ✅ Template HTML with CSS custom properties (theming)
  • ✅ CSS Grid + Flexbox layout utilities (inline <style>)
  • ✅ Print-ready viewport meta configuration
  • ✅ No node_modules, no package.json, no build toolchain
Step 2: Develop Your Artifact

Edit the generated index.html directly. Each HTML file = one page = one clear message.

Key patterns:

  • Use CSS Grid grid-template-areas for named region layouts
  • Use fr units for proportional spatial allocation
  • Embed SVG icons inline (not as external references)
  • Use CSS custom properties (--color-primary, --color-accent, etc.) for palette cohesion
  • Use clip-path, border-radius, gradients, and box-shadow for visual depth
Step 3: Validate and Finalize
bash
bash scripts/bundle-artifact.sh

This validates the artifact is fully self-contained:

  • Checks for zero external resource references (no CDN links, no external stylesheets/scripts)
  • Verifies inline SVG presence
  • Reports file size
  • Copies validated output to bundle.html
Step 4: Share Artifact with User

Share the validated HTML file in conversation with the user so they can view it as an artifact.


When to Use This Skill vs Other Visual Skills

TaskUse This SkillUse Instead
Rich infographic with multiple sections, high data densityYes—
Self-contained dashboard with interactive tabs or togglesYes—
Static architecture/topology diagram, editable afterward in Figma/IllustratorNoarchitecture-diagram — produces real vector SVG, not this skill's interactive HTML
Simple concept illustration or icon-style imageNoconcept-to-image
Slide deck or multi-page presentationNohtml-presentation
Single-page visual where CSS Grid layout control is criticalYes—
Artifact must be screenshot-ready via PlaywrightYes (with caveat — see Limitations)—

Show full SKILL.md (247 more words)Show less

Error Handling

ErrorCauseResolution
CDN link detected by bundle-artifact.shExternal stylesheet or script reference in HTMLInline all CSS and JS — no external URLs allowed in output
Content overflow / clipping in browserViewport too small or fixed heights with overflow:hiddenUse min-height instead of height; test at 1440px wide; use overflow: auto on scroll regions
Playwright screenshot cuts off contentPage height exceeds screenshot viewportSet page.setViewportSize to match content dimensions; use fullPage: true
bundle-artifact.sh reports missing inline SVGSVG loaded via <img src> or external refReplace with inline <svg> block directly in HTML
File size too large to share as artifactEmbedded base64 images or verbose SVGOptimize SVG paths; avoid embedding raster images

Limitations

  • Browser required for screenshots: Rendering and Playwright-based screenshot capture require a browser runtime. The HTML file itself has no server-side dependency, but visual validation needs a browser.
  • No server-side rendering: Output is purely client-side. Dynamic data, API calls, or server-computed content are not supported.
  • No persistent state: The artifact has no backend. User interactions (form inputs, toggles) reset on page reload and cannot be saved.
  • File size guidance: Aim for under 500KB. Artifacts above 1MB may not render as inline conversation artifacts in some Claude interfaces.
  • Font availability: System fonts only (or inline base64-encoded web fonts). Do not reference Google Fonts or other external font CDNs.
  • Print fidelity: CSS print media queries are supported but browser print rendering varies. Test @media print explicitly if print output is a requirement.

© Mathews-Tom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in skills/static-web-artifacts-builder of Mathews-Tom/armory.

  • SKILL.md
  • LICENSE.txt
  • evals/cases.yaml
  • scripts/bundle-artifact.sh
  • scripts/init-artifact.sh

Open the folder on GitHubat commit 4594fb7

Compare with similar skills

Static Web Artifacts Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Static Web Artifacts Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Static Web Artifacts Builder this skillMathews-Tom/armory327—~1.8kAutomated safety check: PassApache-2.0
Self-Contained HTML PagesSourceWeft/SourceWeft158—~817Automated safety check: PassCustom licence
Visual ExplainerNeverSight/learn-skills.dev2161 repos~5.5kAutomated safety check: PassMIT
Math ExplainerGordenSun/mathVideoMaker2891 repos~2.4kAutomated safety check: PassNone
HTML DesignNimaChu/html-design101—~2.7kAutomated safety check: PassNone
Tufte Reportglebis/claude-skills388—~2.4kAutomated safety check: PassMIT

Similar skills

  • Self-Contained HTML Pages

    SourceWeft/SourceWeft

    Builds and revises polished offline HTML reports, landing pages, infographics and interactive visualizations as a single file, with viewport QA before delivery.

    158 GitHub stars~817 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Visual Explainer

    NeverSight/learn-skills.dev

    Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data.

    216 GitHub starsUsed in 1 repo~5.5k tokens
    Frontend & DesignAuto-check passed
  • Math Explainer

    GordenSun/mathVideoMaker

    Generate math explanation videos (animated with Manim) and interactive web pages from a user's request.

    289 GitHub starsUsed in 1 repo~2.4k tokens
    Media & CreativeAuto-check passed
  • HTML Design

    NimaChu/html-design

    Create, redesign, repair, validate, preview, and package lightweight standalone HTML deliverables.

    101 GitHub stars~2.7k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Tufte Report

    glebis/claude-skills

    Create Tufte-inspired data reports and infographic dashboards as standalone HTML files.

    388 GitHub stars~2.4k tokensUpdated 11 days ago
    Media & CreativeAuto-check passed
  • Sdf Art

    shaun8149/sdf-js

    Generate sdf-js code from a natural-language scene description.

    421 GitHub stars~9.7k tokensUpdated 18 days ago
    Frontend & DesignAuto-check passed

More from Mathews-Tom/armory

All 80 skills in this repo
  • Architecture Reviewer

    Mathews-Tom/armory

    Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports.

    327 GitHub stars~4.6k tokensUpdated yesterday
    Auto-check passed
  • Concept To Image

    Mathews-Tom/armory

    Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.

    327 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Watch

    Mathews-Tom/armory

    A skill your agent uses when analyzing an existing video URL or local recording: "watch this video", "analyze youtube video", "summarize this video", "youtube transcript", "find this moment", "what…

    327 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Code Refiner

    Mathews-Tom/armory

    Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.

    327 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Concept To Video

    Mathews-Tom/armory

    Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition.

    327 GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed
  • Decision Map

    Mathews-Tom/armory

    Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked…

    327 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed

Questions about Static Web Artifacts Builder

What does Static Web Artifacts Builder do?

Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics. Static Web Artifacts Builder is an agent skill from Mathews-Tom/armory. Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics.

When should I use Static Web Artifacts Builder?

Static Web Artifacts Builder fits situations like: : interactive HTML; open in browser; visual dashboard; HTML infographic.

How do I install Static Web Artifacts Builder in Claude Code?

Run `npx skills add Mathews-Tom/armory --skill static-web-artifacts-builder -a claude-code`. Or copy the skill folder (skills/static-web-artifacts-builder in Mathews-Tom/armory) into .claude/skills/static-web-artifacts-builder in your project. Claude Code loads it when a task matches its description.

How do I install Static Web Artifacts Builder in Codex?

Run `npx skills add Mathews-Tom/armory --skill static-web-artifacts-builder -a codex`. Or copy the skill folder (skills/static-web-artifacts-builder in Mathews-Tom/armory) into .agents/skills/static-web-artifacts-builder in your project. Codex loads it when a task matches its description.

Can I use Static Web Artifacts Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mathews-Tom/armory --skill static-web-artifacts-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/static-web-artifacts-builder, .gemini/skills/static-web-artifacts-builder, .github/skills/static-web-artifacts-builder and .opencode/skills/static-web-artifacts-builder in your project.

What does Static Web Artifacts Builder need to run?

Going by SKILL.md and its folder, Static Web Artifacts Builder needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Static Web Artifacts Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Static Web Artifacts Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Static Web Artifacts Builder use?

Static Web Artifacts Builder is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Static Web Artifacts Builder use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Static Web Artifacts Builder?

Skills that share tags, products or a category with Static Web Artifacts Builder: Self-Contained HTML Pages (SourceWeft/SourceWeft, 158 stars), Visual Explainer (NeverSight/learn-skills.dev, 216 stars), Math Explainer (GordenSun/mathVideoMaker, 289 stars) and HTML Design (NimaChu/html-design, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Static Web Artifacts Builder?

Mathews-Tom (a GitHub user) maintains it in Mathews-Tom/armory, which has 327 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 6, 2026.

Source: Mathews-Tom/armory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.