design-html

design-html is a skill for Claude Code, Codex from timurgaleev/vibestack. It costs 90 tokens per session (7,433 once invoked), scanned A, original, MIT.

A design-finalization skill that turns an approved mockup or design brief into production-quality HTML and CSS. It creates layouts whose text reflows and whose heights adapt to their content.

In plain words
What is it for?
Use it to implement a page from a mockup, design plan, or description, including the final responsive layout and styling.
Why use it?
It helps turn a visual concept into a working page without relying on fixed text placement or static screenshot dimensions. It can use context from earlier design and planning work.

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/timurgaleev/vibestack/design-html
Any agent
npx skills add timurgaleev/vibestack --skill design-html
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/vibestack

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/timurgaleev/vibestack/design-html.svg)](https://agentmods.dev/skills/timurgaleev/vibestack/design-html)
Your own site
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/design-html"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/design-html.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,433 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.00090 $0.07433
Opus 5 $0.00045 $0.03717
Sonnet 5 $0.00018 $0.01487
Haiku 4.5 $0.00009 $0.00743

Measured yesterday against content hash 2b10924e60da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-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 yesterday.

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.

skills/design-html/SKILL.md · 735 lines

How it starts

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

When to invoke

Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill.

Proactively suggest when user has approved a design or has a plan ready.

Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

Preamble

eval "$(~/.vibestack/bin/vibe-slug 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
  _LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
  echo "LEARNINGS: $_LEARN_COUNT entries loaded"
  if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
    ~/.vibestack/bin/vibe-learnings-search --limit 5 2>/dev/null || true
  fi
else
  echo "LEARNINGS: none yet"
fi

{{include lib/snippets/session-host.md}}

{{include lib/snippets/decision-brief.md}}

{{include lib/snippets/working-protocols.md}}

{{include lib/snippets/state-protocols.md}}


/design-html: Pretext-Native HTML Engine

You generate production-quality HTML where text actually works correctly. Not CSS approximations — computed layout via Pretext. Text reflows on resize, heights adjust to content, cards size themselves, chat bubbles shrinkwrap, editorial spreads flow around obstacles. If you find yourself faking a layout with fixed heights, magic numbers, or line-clamp, you have left the engine behind and the output is no longer what this skill promises.

DESIGN SETUP

# Bind $D to vibe-design (OpenAI image backend) when a key is configured.
D=~/.vibestack/bin/vibe-design
if [ -x "$D" ] && [ "$("$D" status 2>/dev/null)" = "DESIGN_AVAILABLE" ]; then
  echo "DESIGN_AVAILABLE via $D"
else
  echo "DESIGN_NOT_AVAILABLE"
fi

If DESIGN_NOT_AVAILABLE: skip visual mockup generation and fall back to text-based design review.

$D generates image variants — nothing else. There is no vision extractor here: when this skill needs to read a mockup, you read it yourself with the Read tool. Never invent a subcommand; anything other than status and variants either reports that it is unsupported or exits with a usage error.

Read the full file on GitHub · 735 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. yesterday Changed · +29 lines 2b10924e60da
  2. 5d ago First seen · 706 lines · 90 tokens per session scan A 43eeaee1800a

Subscribe to this mod's changes

design-html is a skill published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed 2d ago), licensed MIT. It adds 90 tokens to every session and 7,433 once invoked, about $0.0005 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

threejs

Build immersive 3D web experiences with Three.js - WebGL/WebGPU library for scenes, cameras, geometries, materials, lights, animations, loaders, post-processing, shaders (including node-based TSL), compute, physics, VR/XR, and advanced rendering. Use when creating 3D visualizations, games, interactive graphics, data…

ihatesea69/kiro-kit · 136 tokens

fixing-motion-performance

アニメーションパフォーマンス監査チェックリスト: レイアウトスラッシング、コンポジタプロパティ、スクロール連動モーション、ブラー効果、will-change使用。アニメーションのカクつきやCSS/JSアニメーションパフォーマンスのレビュー時に使用。トリガー: アニメーションジャンク, トランジションパフォーマンス, スクロールアニメーション, blur, will-change, FLIP, requestAnimationFrame。.

yoshimi-I/ai-engineer-teams · 116 tokens

concreto

Use when the user wants to design, analyze, audit, refine, or improve frontend interfaces. Covers websites, landing pages, dashboards, product UI, applications, components, design systems, and any visual interface. Handles UX review, visual hierarchy, information architecture, accessibility, performance, responsive…

Bigrapb/Concreto · 93 tokens

frontend-design

高品質なフロントエンドインターフェース作成ガイド。タイポグラフィ、カラー、モーション、空間構成、背景/テクスチャの選択をカバー。洗練されたビジュアルデザインが必要なWebコンポーネントやページの構築時に使用。トリガー: UIデザイン, ランディングページ, ダッシュボード, ビジュアルポリッシュ, スタイリング, 美化。.

yoshimi-I/ai-engineer-teams · 111 tokens

baseline-ui

Tailwind CSS + Reactプロジェクト向けのUI制約。アニメーション時間、タイポグラフィスケール、コンポーネントのアクセシビリティ、レイアウトのアンチパターン、デザインの一貫性を強制する。UIコンポーネントの構築・レビュー時に使用。トリガー: Tailwind, CSS, UIコンポーネント, アニメーション, タイポグラフィ, レイアウト, デザインレビュー。.

yoshimi-I/ai-engineer-teams · 117 tokens

ui-design

Create distinctive, production-grade web interfaces with high design quality using Tailwind CSS. Use for building UI components, pages, dashboards, apps, and web applications. Generates crafted, polished code that avoids generic AI aesthetics.

jaansokk/cursor_tools · 46 tokens