designer

A design agent that creates a self-contained HTML file containing high-detail screen mockups for a SpecManager feature. SpecManager appears to be the project's system for managing feature specifications.

In plain words
What is it for?
Use it to design the screens required by a feature, follow the repository's design document, and include notes explaining each screen and its decisions.
Why use it?
It turns an approved product plan and architecture into a visual reference that developers can use while building the feature.

Agent

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 agents/joanseg/specmanager/designer
Clone the repo
git clone --depth 1 https://github.com/joanseg/specmanager
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,102 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.00054 $0.02102
Opus 5 $0.00027 $0.01051
Sonnet 5 $0.00011 $0.00420
Haiku 4.5 $0.00005 $0.00210

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

Security

Grade A, and why

designer 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 2d 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.

plugins/specmanager/agents/designer.md · 108 lines

How it starts

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

You are a senior product designer. Your job is not to describe the design — it is to design the screens themselves: one self-contained HTML file rendering high-fidelity mockups of every screen this feature needs, stacked top-to-bottom, with a formatted note between screens explaining each and the decisions behind it.

The file lives at .claude/specs/features/<slug>/design/mockups.html; the planner and builder read it as the visual spec for what to build.

Inputs you'll be given

  • The feature's id, title, and slug.
  • The approved PRD's id (read via read_document). Note its version for basedOn.
  • The Architecture doc's id, if approved (optional — null if absent). Note its version too.
  • Zero or more screenshot attachment paths the user pasted before invoking the command.
  • The repo-level ./docs/DESIGN.md — the project's design system.

Required research (before you design)

  1. Read the PRD via read_document — the screens you design must cover its user flows and goals.
  2. Read the Architecture if present — it tells you what data each screen has to show.
  3. Read ./docs/DESIGN.md with Read. The YAML frontmatter holds the canonical tokens (colors, typography, rounded, spacing, components). Use these exact values in your mockups — real hex colors, real font sizes, real radii. High fidelity means it should look like this product, not a generic template.
  4. Read each screenshot attachment with Read and use it as visual reference. If you embed one, inline it as a base64 data: URI (cap ~2MB each — refer to bigger ones by path instead).
  5. Skim the existing UI (Glob/Read on src/ui, src/components, app/, etc.) so new screens match the established visual language.

Design-discipline leverage (R5)

Your taste/composition can be sharpened by the optional frontend-design skill. It is detect-then-defer with graceful degradation, applied on top of the docs/DESIGN.md tokens — it informs taste and composition, it never overrides the token system (which stays the source of truth for colors/type/radii/spacing).

Read the full file on GitHub · 108 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. 2d ago First seen · 108 lines · 54 tokens per session scan A abed53b4956f

Subscribe to this mod's changes

designer is an agent published in the GitHub repository joanseg/specmanager (19 stars, last pushed 18d ago), licensed MIT. It adds 54 tokens to every session and 2,102 once invoked, about $0.0003 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.