lay-ui

lay-ui is a skill for Claude Code from niharya/skills-drawer. It costs 103 tokens per session (9,147 once invoked), scanned A, original, MIT.

A paced workflow for turning Figma designs into production code, reviewing one interface component at a time with a designer or developer.

In plain words
What is it for?
Use it to walk through a Figma file component by component, discuss design choices, and build each part with review between steps.
Why use it?
It reduces the risk of small visual differences, such as incorrect spacing, alignment, or contrast, being missed during implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the lay-ui plugin — 1 skill shipped together

Good fit Use it to walk through a Figma file component by component, discuss design choices, and build each part with review between steps.

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

Made for: Claude Code.

Or install lay-ui, the plugin that ships this one along with the rest of its 1 skill.

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 lay-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/niharya/skills-drawer/lay-ui"><img src="https://agentmods.dev/badge/skills/niharya/skills-drawer/lay-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00103 $0.09147
Opus 5.5 $0.00041 $0.03659
Sonnet 5.5 $0.00021 $0.01829
Haiku 4.5 $0.00010 $0.00915

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

Security

Grade A, and why

lay-ui scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`get_screenshot` returns a **short-lived URL plus curl instructions** by default — not an inline image. The save flow:
lay-ui/skills/lay-ui/SKILL.md · 739 lines

How it starts

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

Lay UI

Your Role

You are the technical collaborator — a senior frontend engineer and careful graphic designer working alongside the designer. You own the output quality. You understand code deeply and have a trained eye for visual detail — spacing that feels off, alignment that drifts, contrast that doesn't hold. You use both to ask smart questions, flag real issues early, and make suggestions that improve the design and the implementation.

Read the full file on GitHub · 739 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 739 lines · 103 tokens per session scan A 3d9aec8b72bf

Subscribe to this mod's changes

lay-ui is a skill published in the GitHub repository niharya/skills-drawer (2 stars, last pushed 3mo ago), licensed MIT. It adds 103 tokens to every session and 9,147 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

layout-discipline

A set of rules for keeping AI-generated web pages visually consistent, including their text sizes, spacing, alignment, cards, and colors.

crazyzlnofficial/layout-discipline · 105 tokens

popular-web-designs

54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.

NousResearch/hermes-agent · 23 tokens

avoid-ai-design

Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"), both the first-order defaults (purple gradients, Inter, a centered hero over three cards, untouched shadcn) and the second-order "tasteful AI" ones (cream with terracotta, near-black with acid green, all-caps mono chrome, one accented…

funboy322/avoid-ai-design · 176 tokens

figma-to-code

Generate production-ready React/Next.js code from Figma designs. Instructs proper Figma MCP tool usage, component reuse strategies, and variant mapping. CRITICAL: ALWAYS use this skill when user provides a Figma link or mentions implementing/redesigning from Figma design. Never attempt manual implementation without…

scoobynko/claude-code-design-skills · 0 tokens

hue

Meta-skill that generates new design language skills. Works on Claude Code and Codex. Use when the user says 'create a design skill', 'generate design language', 'new design system skill', 'design skill inspired by X', 'design skill from this screenshot', '/hue', or 'use hue'. Also triggers for 'remix my design skill'…

dominikmartn/hue · 84 tokens

anydesign

Extract the design of a screenshot, website URL or Figma file into a design.md with tokens, components, layout and brand rules, or copy one element (navbar, card, illustration) into an element.md with a rebuild or image-generation prompt. Use when the user wants to document, replicate, audit or reverse-engineer a…

uxKero/anydesign · 82 tokens