ui-mockup

ui-mockup is a skill for Claude Code from yugasun/aiops. It costs 54 tokens per session (925 once invoked), scanned A, original, Apache-2.0.

A tool that creates static HTML and CSS pages as visual mockups for user-interface work. The files can be opened directly in a browser and show placeholder content and important screen states.

In plain words
What is it for?
Use it to sketch pages, responsive layouts, hover and error states, loading and empty views, and design decisions for a feature.
Why use it?
It gives developers and designers a concrete visual reference before the working interface is built, without requiring application logic or a build step.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aiops plugin — 23 skills shipped together

Good fit Use it to sketch pages, responsive layouts, hover and error states, loading and empty views, and design decisions for a feature.

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

Made for: Claude Code.

Or install aiops, the plugin that ships this one along with the rest of its 23 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 ui-mockup

README.md
[![agentmods](https://agentmods.dev/badge/skills/yugasun/aiops/ui-mockup/github.svg)](https://agentmods.dev/skills/yugasun/aiops/ui-mockup)
Your own site
<a href="https://agentmods.dev/skills/yugasun/aiops/ui-mockup"><img src="https://agentmods.dev/badge/skills/yugasun/aiops/ui-mockup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-mockup

Your own site · 80×15
<a href="https://agentmods.dev/skills/yugasun/aiops/ui-mockup"><img src="https://agentmods.dev/badge/skills/yugasun/aiops/ui-mockup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 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.
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.00054 $0.00925
Opus 5.5 $0.00022 $0.00370
Sonnet 5.5 $0.00011 $0.00185
Haiku 4.5 $0.00005 $0.00093

Measured 3mo ago against content hash 00b78cbac3d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-mockup 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 3mo 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.

skills/ui-mockup/SKILL.md · 135 lines

How it starts

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

UI Mockup

Generate static HTML mockups as visual reference for Builder implementation.

Output structure

.scratch/<feature>/mockups/
├── index.html              # Entry page linking to all mockups
├── <page-name>.html        # One HTML per page/state
└── design-notes.md         # Design decisions and interactions

Mockup rules

HTML

  • Self-contained: open directly in browser, no build step
  • Inline CSS via <style> or CDN frameworks (Tailwind CDN preferred)
  • Semantic HTML structure
  • Placeholder data marked with [placeholder]

CSS

  • 8px grid spacing system
  • CSS variables for colors and spacing
  • Responsive: Desktop (>1024px), Tablet (768-1024px), Mobile (<768px)
  • Use media queries for responsive breakpoints

States

Show key states as separate files or CSS classes:

  • Default
  • Hover / Active
  • Error / Validation
  • Loading / Empty
  • Success

No JavaScript logic

  • No event handlers
  • No dynamic data fetching
  • Interactions described in design-notes.md
  • CSS :hover, :active, :focus allowed for visual states

Template

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>[Page Name] — Mockup</title>
  <style>
    :root {
      --color-primary: #1a73e8;
      --color-error: #d93025;
      --color-success: #188038;
      --spacing-unit: 8px;
      --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: var(--font-family); padding: calc(var(--spacing-unit) * 3); }
    /* page-specific styles */
  </style>
</head>
<body>
  <!-- mockup content -->
</body>
</html>

index.html

Entry page with links to all mockup files:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>Mockups — [Feature Name]</title>
  <style>
    body { font-family: sans-serif; padding: 32px; max-width: 600px; }
    h1 { margin-bottom: 16px; }
    ul { list-style: none; }
    li { margin: 8px 0; }
    a { color: #1a73e8; text-decoration: none; }
    a:hover { text-decoration: underline; }
  </style>
</head>
<body>
  <h1>[Feature Name] Mockups</h1>
  <ul>
    <li><a href="page-name.html">Page Name</a> — description</li>
  </ul>
</body>
</html>

Read the full file on GitHub · 135 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. 3mo ago First seen · 135 lines · 54 tokens per session scan A 00b78cbac3d4

Subscribe to this mod's changes

ui-mockup is a skill published in the GitHub repository yugasun/aiops (4 stars, last pushed 6d ago), licensed Apache-2.0. It adds 54 tokens to every session and 925 once invoked, about $0.0002 per session on Opus 5.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

ui-mockup compared with skills from other repositories

ui-mockup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-mockupyugasun/aiopsSkill46d agoApache-2.0A54Claude Code
web-design-engineerConardLi/garden-skillsSkill16k11d agoMITA96Codex
yida-data-manage-uiopenyida/openyidaSkill234todayMITA100Claude Code, Codex
webflow-mcp:interactionswebflow/webflow-skillsSkill1376d agoMITA63Cursor
webflow-mcp:flowkit-namingwebflow/webflow-skillsSkill1376d agoMITA81Cursor
ardot-style-guidebalabalabalading/huuuuuuho-skillsSkill118yesterdayMITA123Claude Code
frontend-blueprinttech-leads-club/agent-skillsSkill7.2k3d agononeA170Claude Code, Codex