mockup-server

mockup-server is a skill for Claude Code from solofounder-ai/solofounder. It costs 30 tokens per session (589 once invoked), scanned A, original, MIT.

A browser-based server for displaying visual work such as wireframes, mockups, diagrams, design comparisons, and design-system examples. Users can view the material locally and vote on alternatives.

In plain words
What is it for?
Use it to preview interface designs, show architecture diagrams, compare multiple design versions, or present visual component options.
Why use it?
It makes spatial or visual choices easier to understand and compare than text alone.

Skill for Claude Code

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

Part of the solofounder plugin — 10 skills, 1 hook shipped together

Good fit Use it to preview interface designs, show architecture diagrams, compare multiple design versions, or present visual component options.

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

Made for: Claude Code.

Or install solofounder, the plugin that ships this one along with the rest of its 10 skills, 1 hook.

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 mockup-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/solofounder-ai/solofounder/mockup-server/github.svg)](https://agentmods.dev/skills/solofounder-ai/solofounder/mockup-server)
Your own site
<a href="https://agentmods.dev/skills/solofounder-ai/solofounder/mockup-server"><img src="https://agentmods.dev/badge/skills/solofounder-ai/solofounder/mockup-server/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 mockup-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/solofounder-ai/solofounder/mockup-server"><img src="https://agentmods.dev/badge/skills/solofounder-ai/solofounder/mockup-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 589 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.00030 $0.00589
Opus 5 $0.00015 $0.00295
Sonnet 5 $0.00006 $0.00118
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

mockup-server 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 10d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/helper.js, scripts/server.cjs, scripts/start-server.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

capabilities/mockup-server/SKILL.md · 74 lines

How it starts

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

Mockup Server

Overview

Browser-based visual companion for showing mockups, diagrams, design variants, and interactive options. Agents write HTML files, the server serves them on localhost, users view and vote in their browser.

Core principle: Decide per-question, not per-session. The test: would the user understand this better by seeing it than reading it?

When to Use

Use the browser when the content itself is visual:

  • UI mockups, wireframes, layout comparisons
  • Architecture diagrams, data flow visualizations
  • Side-by-side design variant comparison
  • Design system showcases (color palettes, typography, components)
  • Any content where spatial relationships matter

Use the terminal when the content is text:

  • Requirements questions, conceptual choices
  • Tradeoff lists, comparison tables
  • Technical decisions, API design
  • Clarifying questions

Quick Reference

Start server:

capabilities/mockup-server/scripts/start-server.sh --project-dir /path/to/project

Write content: Use the Write tool to create HTML files in screen_dir. Write content fragments (no <html> wrapper needed — server adds the frame template automatically).

Read user interactions: Check state_dir/events for click/vote/feedback events as JSONL.

Stop server:

capabilities/mockup-server/scripts/stop-server.sh $SESSION_DIR

Multi-Variant Comparison

When multiple agents produce design variants, use the variant- filename prefix:

content/
  variant-a-minimal.html
  variant-b-bold.html
  variant-c-rounded.html

The server auto-generates a comparison view. Users can vote on variants and provide per-variant feedback.

Event types:

{"type":"vote","variant":"variant-a-minimal","timestamp":...}
{"type":"feedback","variant":"variant-b-bold","text":"like the colors","timestamp":...}
{"type":"merge","from":["variant-a","variant-b"],"note":"A's layout + B's colors","timestamp":...}

When presenting curated design references from solofounder:live-research, use the design research gallery pattern. This shows references as visual cards with images, multi-select for picking favorites, AI combination suggestions, and a refinement flow.

Read the full file on GitHub · 74 lines

Files

What ships with it

7 files 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. 10d ago First seen · 74 lines · 30 tokens per session scan A fbcae842d821

Subscribe to this mod's changes

mockup-server is a skill published in the GitHub repository solofounder-ai/solofounder (3 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 589 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

fidelity-gate

Build a UI against a frozen visual reference without drift - an inventory extracted before any code, a relics list, and a gate that MEASURES computed styles on a fixture carrying the reference's own data. Use when a mockup, design spec or screenshot is the contract.

jjanczur/tyran · 56 tokens

design

Create a doc-as-code design package from a PRD or SPEC. Conditionally generates C4 diagrams (Context/Container/Component), sequence diagrams, ER diagram + Data Dictionary, OpenAPI 3.0, AsyncAPI 3.0, ADRs, domain glossary, state diagrams, and deployment view as Mermaid-rendered Markdown files. Use when PM mentions…

cryndoc/polisade-orchestrator · 162 tokens

figma-fetch

Extract frame/component structure and all visible text from a Figma design URL. Use whenever a prompt or a fetched issue contains a figma.com/design or figma.com/file link.

theam/claude-dev-kit · 40 tokens

blueprint-standards

Defines structural design artifact formats — information architecture, user flows, content model, brand direction, and AI interaction model. Use when creating or reviewing structural design documents that precede prototype generation.

shinpr/claude-code-discover · 43 tokens

mui-styling

Material-UI (MUI) styling standards: sx-prop priority, theme tokens, spacing scale, responsive design, and accessibility. TRIGGER when: styling MUI components, defining theme tokens, or building responsive layouts. SKIP: component logic and hooks (use react-patterns); cross-stack UX/design decisions (use…

komluk/scaffolding · 76 tokens

mobile-design

Evaluation criteria for grading rendered mobile UI screens. Use when reviewing, critiquing, or self-checking a mobile UI screenshot — especially after any UI edit in an agentic loop — to decide pass/fail and produce concrete fixes. Targets Compose Multiplatform (Android + iOS), Material 3. The mobile counterpart to…

ShipWithAI/shipwithai-plugins · 85 tokens