sync-html-design-system

A synchronization skill that mirrors visible changes from Remarc’s macOS interface in its HTML design-system gallery. A design system is a shared set of interface components and visual rules.

In plain words
What is it for?
Use it when adding or changing UI icons, badges, type labels, or component states, including the matching SVG assets and CSS rules.
Why use it?
It prevents the web-based reference gallery from drifting away from the desktop app’s icons, labels, and component variants.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/metedata/remarc/sync-html-design-system
Any agent
npx skills add metedata/Remarc --skill sync-html-design-system
Clone the repo
git clone --depth 1 https://github.com/metedata/Remarc

Made for: Claude Code, Codex.

Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,344 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00113 $0.01344
Opus 5 $0.00056 $0.00672
Sonnet 5 $0.00023 $0.00269
Haiku 4.5 $0.00011 $0.00134

Measured 3d ago against content hash 65cde8315016, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sync-html-design-system 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 3d 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.

.claude/skills/sync-html-design-system/SKILL.md · 124 lines

How it starts

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

Sync HTML Design System

The website/design-system-poc/ directory is the HTML mirror of Remarc's macOS UI. When the Swift app changes a visible UI element, the HTML version usually needs the matching change. This skill captures the file layout, the icon system's two-CSS-files quirk, and the sync map.

File Inventory

website/design-system-poc/
  index.html           Static gallery — every UI state has a literal example
  app.js               Renders dynamic examples from cardTypes / writingModes / editorModes arrays
  styles.css           Full stylesheet incl. .icon.<alias> rules using ./assets paths
  sf-symbol-data.css   Parallel .icon.<alias> rules using inline data: URIs (for file:// captures)
  assets/
    sf-symbols/<sf-name>.svg   Verbatim SF symbol filenames (e.g. chevron.left.forwardslash.chevron.right.svg)
    <other>.svg                Custom assets (logos, fixtures)

SF Symbol Icon — Pattern

Two changes per icon:

  1. Drop the SVG at assets/sf-symbols/<sf-symbol-name>.svg (keep the literal SF symbol filename, dots and all). If the SVG isn't already exported, run the pipeline in .worktrees/export-sf-symbol-assets/scripts/.
  2. Add a rule in both CSS files:
    • styles.css: .icon.<alias> { --symbol: url("./assets/sf-symbols/<sf-name>.svg"); }
    • sf-symbol-data.css: same rule but with the inline data:image/svg+xml,… URI

<alias> is the friendly handle used in HTML (.icon.globe, .icon.web-code). Both CSS files exist because file:// captures can't load external SVGs reliably — the inline-data version is what fixture screenshots use.

The .icon class is alpha-mask + currentColor, so the SVG renders as the text color. Gradient or multi-color assets do NOT work here.

Gradient / Color-Preserving Asset — Pattern

Use background-image instead of mask so colors are preserved:

.<asset-class> {
  width: 14px; height: 14px;
  display: inline-block;
  flex: 0 0 auto;
  background-image: url("./assets/<file>.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

Read the full file on GitHub · 124 lines

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. 3d ago First seen · 124 lines · 113 tokens per session scan A 65cde8315016

Subscribe to this mod's changes

sync-html-design-system is a skill published in the GitHub repository metedata/Remarc (66 stars, last pushed 12d ago), licensed MIT. It adds 113 tokens to every session and 1,344 once invoked, about $0.0006 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

swift-fast-mcp

Generate a complete MCP server project in Swift using the FastMCP library. Use when asked to create a Swift MCP server, build an MCP tool server, or scaffold a Model Context Protocol project in Swift.

mehmetbaykar/swift-fast-mcp · 46 tokens

peekaboo

Use Peekaboo for macOS desktop automation, screenshots, visual UI maps, native accessibility inspection, app/window/menu/dialog control, native app and browser chrome control, browser-page MCP tooling, MCP diagnostics, and Peekaboo repo validation. Use when Codex needs current macOS UI state, direct desktop control…

openclaw/Peekaboo · 82 tokens

crabbox

Use the Crabbox wrapper for OpenClaw remote validation across Linux, macOS, Windows, and WSL2, including delegated Blacksmith Testbox proof. Report the actual provider and id.

openclaw/Peekaboo · 43 tokens

release-peekaboo

Peekaboo release: notarization, npm/GitHub release, appcast, verify, closeout.

openclaw/Peekaboo · 28 tokens

scarf-template-author

Scaffold a new Scarf project OR enrich an existing one after a Scarf "Upgrade Project" — dashboard, optional configuration schema, optional cron job, AGENTS.md, and (via the scarf-miniapp-author skill) a starter mini-app — from a short conversational interview. Output is immediately usable locally and cleanly…

awizemann/scarf · 79 tokens

scarf-miniapp-author

Author a Scarf mini-app — a small sandboxed web surface (HTML/CSS/JS) that renders inside a project's cockpit and talks to the bound Hermes session + project data through the versioned window.scarf bridge. Use to build a bespoke panel (a task board, an approval queue, a chart, a data table) for a project.

awizemann/scarf · 78 tokens