design

A transformer that turns a complete HTML design reference or static mockup into a working Vibes app while preserving its layout and appearance.

In plain words
What is it for?
Converting a design.html file, mockup, or static prototype into a React-based Vibes app with reactive TinyBase data.
Why use it?
It connects an existing visual prototype to the app's code and data system without requiring the design to be recreated from scratch.

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

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,694 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.00046 $0.02694
Opus 5 $0.00023 $0.01347
Sonnet 5 $0.00009 $0.00539
Haiku 4.5 $0.00005 $0.00269

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

Security

Grade A, and why

design 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/SKILL.md · 314 lines

How it starts

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

Plan mode: If you are planning work, this entire skill is ONE plan step: "Invoke /vibes:design". Do not decompose the steps below into separate plan tasks.

Display this ASCII art immediately when starting:

░▒▓███████▓▒░░▒▓████████▓▒░░▒▓███████▓▒░▒▓█▓▒░░▒▓██████▓▒░░▒▓███████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░      ░▒▓█▓▒░      ░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░      ░▒▓█▓▒░      ░▒▓█▓▒░▒▓█▓▒░      ░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓██████▓▒░  ░▒▓██████▓▒░░▒▓█▓▒░▒▓█▓▒▒▓███▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░             ░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░             ░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓███████▓▒░░▒▓████████▓▒░▒▓███████▓▒░░▒▓█▓▒░░▒▓██████▓▒░░▒▓█▓▒░░▒▓█▓▒░

Design Reference Transformer

Transform a complete design reference HTML file into a working Vibes app with TinyBase reactive data.


Core Principle

Preserve and adapt, don't interpret and recreate.

The design reference is source code to transform, not inspiration to interpret. When given a complete HTML file with styles, your job is to make minimal surgical changes to connect it to React/TinyBase—not to recreate it from your understanding of its aesthetic.


When to Use This Skill

Use this skill when:

  • User provides a design.html, mockup, or static prototype file
  • User says "match this design exactly" or "use this as a reference"
  • User wants their existing HTML converted to a Vibes app
  • A previous implementation didn't match the design reference

The Transformation is Mechanical

The conversion from design HTML to React/TinyBase is deterministic, not creative:

Transformation Rule Example
Attributes classclassName class="btn"className="btn"
Attributes forhtmlFor for="email"htmlFor="email"
Attributes kebab-case → camelCase stroke-widthstrokeWidth
Self-closing Add explicit close <input><input />
Comments HTML → JSX <!-- x -->{/* x */}
Inline styles String → Object style="color: red"style={{ color: 'red' }}
Event handlers Lowercase → camelCase onclickonClick

Read the full file on GitHub · 314 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 First seen · 314 lines · 46 tokens per session scan A 46391d673f00

Subscribe to this mod's changes

design is a skill published in the GitHub repository popmechanic/VibesOS (133 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 2,694 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-30.

Related

Other skills, from other repositories

self-communicate

Write and diagram engineer-facing prose well — the third partner skill in the govern / operate / communicate trio. It governs the prose the fleet AND its operator produce: the fleet's docs (a control's description, a mechanism entry, a design doc, a runbook, a handoff, a README, a tutorial, an ADR, an API reference)…

davisjam/model-based-agentic-software-engineering · 286 tokens

databricks-python-sdk

Databricks development guidance including Python SDK, Databricks Connect, CLI, and REST API. Use when working with databricks-sdk, databricks-connect, or Databricks APIs.

databricks-solutions/ai-dev-kit · 46 tokens

plan-prd-feature

⭐显式触发的【增量需求规划器】(MVP 已交付后做功能迭代用)。触发后【第一动作必须 call EnterPlanMode 工具】(不许先做任何其他动作)。plan 内:规范体检 → 锁基线(status/gates/prd 历史)→ codegraph 四路侦察(explore 读现状 + impact 算传递闭包半径 + files 对账目录 + affected 算测试面,前置新鲜度保险)→ 需求逐点三态判定(已实现/无冲突/有冲突)→ 冲突逐条硬门控裁决 → 输出三件套(逻辑图+原型双联+带落盘路由的差异表)→ 逐点循环至通顺 → 主人验收后 ExitPlanMode →…

weiyi88/cc-code · 250 tokens

next2taro

将 Next.js (App Router + Tailwind + shadcn/ui) 的 UI 页面/组件转换为 Taro 小程序 (View/Text + SCSS + PNG)。当用户说"next2taro"、"转换页面"、"Next转Taro"、"页面迁移" 时触发。.

weiyi88/cc-code · 71 tokens

whole-qa

❌ 错:whole-qa 自己测、自己修 → 测的人知道修的人怎么想,修的人知道测的人怎么测 → 互相糊弄 ✅ 对:whole-qa 只做 清点 / 分发 / 汇总 / 循环控制.

weiyi88/cc-code · 121 tokens

cf_online

将 Next.js 项目部署到 Cloudflare Pages(Edge Runtime)。当用户说"cfonline"、"上线cloudflare"、"部署cloudflare"、"CF部署" 时触发。.

weiyi88/cc-code · 45 tokens