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 $0.00051 $0.04574
Sonnet 5 $0.00021 $0.01829
Haiku 4.5 $0.00010 $0.00915

Measured 8d ago against content hash 3d9aec8b72bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 2mo ago), licensed MIT. It adds 103 tokens to every session and 9,147 once invoked, about $0.0005 per session on Opus 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

dashmotion

Create dark-themed, animated technical diagrams as self-contained HTML+SVG files — flowcharts whose connectors visibly flow, and architecture diagrams where requests travel as light dots through the system (Diagrid/Temporal landing-page style). Use this skill whenever the user asks for a flowchart, workflow, pipeline…

csthink/dashmotion · 187 tokens

avoid-ai-design

Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"). Use this skill when asked to "de-slop a UI", "make a design look less AI-generated", "audit a component or page for AI design tells", or "fix Claude/Codex-generated frontend that looks generic". Covers HTML/CSS and React/Tailwind/shadcn.…

funboy322/avoid-ai-design · 90 tokens

anti-slop-design

Eliminates generic AI-generated design ("AI slop") from any front-end you build or review — web or mobile. Use whenever generating, reviewing, refactoring, or critiquing a website, landing page, dashboard, web app, iOS or Android app, React Native or Flutter screen, component, design system, or micro-interaction — and…

Ferousco-dev/anti-slop-design · 138 tokens

frontend-design

Use when building UI components, making design decisions for frontend work, reviewing UI implementation quality, or planning interaction patterns.

opensesh/DESIGN-OPS · 26 tokens