moss-html

moss-html is a skill for Claude Code, Codex from brsbl/moss-skills. It costs 32 tokens per session (864 once invoked), scanned A, original, MIT.

Instructions for writing self-contained HTML blocks for interactive design artifacts, embedded previews, prototypes, and browser-behavior demonstrations. These blocks are intended for cases that native Moss content cannot represent.

In plain words
What is it for?
Use them to create interactive browser previews or demonstrations inside Moss while keeping ordinary content such as checklists and tables in Markdown.
Why use it?
They define when custom HTML is appropriate and provide the required structure and styling conventions for Moss documents.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the moss-skills plugin — 8 skills shipped together

Good fit Use them to create interactive browser previews or demonstrations inside Moss while keeping ordinary content such as checklists and tables in Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brsbl/moss-skills/moss-html
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 brsbl/moss-skills --skill moss-html
Clone the repo
git clone --depth 1 https://github.com/brsbl/moss-skills

Made for: Claude Code, Codex.

Or install moss-skills, the plugin that ships this one along with the rest of its 8 skills.

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 moss-html

README.md
[![agentmods](https://agentmods.dev/badge/skills/brsbl/moss-skills/moss-html.svg)](https://agentmods.dev/skills/brsbl/moss-skills/moss-html)
Your own site
<a href="https://agentmods.dev/skills/brsbl/moss-skills/moss-html"><img src="https://agentmods.dev/badge/skills/brsbl/moss-skills/moss-html.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 864 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 pass 7 Sept 2026
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.00032 $0.00864
Opus 5 $0.00016 $0.00432
Sonnet 5 $0.00006 $0.00173
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade A, and why

moss-html 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 8d ago.

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.

plugins/moss-skills/skills/moss-html/SKILL.md · 89 lines

How it starts

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

Moss HTML

Use moss-html only for a genuine interactive design artifact or browser behavior that native Moss nodes cannot represent. Do not rebuild native tabs, tables, callouts, checklists, charts, comments, or review workflow. Keep requirements and review instructions in native Markdown.

Complete Shell

```moss-html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="moss-html-version" content="v1">
<style>
  * { box-sizing: border-box; }
  :root {
    color-scheme: light;
    --artifact-surface: rgb(253 250 246);
    --artifact-ink: rgb(72 67 60);
    --artifact-line: rgb(215 211 201);
    --artifact-accent: rgb(57 112 77);
  }
  body {
    width: 1200px;
    min-height: 900px;
    margin: 0;
    background: var(--artifact-surface);
    color: var(--artifact-ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .artifact { min-height: 900px; padding: 32px; }
</style>
</head>
<body>
  <main class="artifact"><!-- interactive artifact --></main>
</body>
</html>
```

Use a plain moss-html fence line; dimensions belong in the document CSS, not the fence.

Runtime Contract

  • The preview runs from an isolated data URL.
  • Inline CSS and JavaScript are supported. Initialize behavior with DOMContentLoaded.
  • localStorage, sessionStorage, cookies, same-origin fetches, parent/window APIs, and Moss internals are unavailable or unreliable.
  • Note view shows a static screenshot before activating the live iframe. Make the initial state useful without JavaScript or network access.
  • Set width and height or min-height; otherwise Moss uses 1200x900.
  • Multiple jobs belong in separate focused fences.
  • A visible button, tab, checkbox, filter, menu, or form control must work and use native semantics.

Images And Dependencies

Workspace-relative asset paths do not resolve inside the HTML data URL. For a small required image, embed a self-contained data URL such as src="data:image/png;base64,..."; keep payload size reasonable. Remote images, fonts, scripts, and fetches may fail and must not be required for the first frame or core interaction.

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file 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. 8d ago First seen · 89 lines · 32 tokens per session scan A 188745f6f6c6

Subscribe to this mod's changes

moss-html is a skill published in the GitHub repository brsbl/moss-skills (11 stars, last pushed 14d ago), licensed MIT. It adds 32 tokens to every session and 864 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

ui-design

Use for frontend UI, layouts, components, responsive behavior, accessibility, WCAG, keyboard, focus.

kreek/consult · 24 tokens

composing-grid-canvases

Compose PostHog grid canvases — widget grids (including the user's home canvas) built from reusable component canvases. Use when a task asks to add, fill, move, resize, or remove a widget on a grid or home canvas, to compose a whole canvas of widgets from one ask, to build a reusable widget/component, or when a…

PostHog/ai-plugin · 136 tokens

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens