elegant-design

elegant-design is a skill for Claude Code, Codex from rand/cc-polymath. It costs 43 tokens per session (2,540 once invoked), scanned A, original, MIT.

A design skill for building polished, accessible, responsive interfaces, including developer-focused screens with chat, terminals, code displays, or streaming content. Responsive means the layout adapts to different screen sizes.

In plain words
What is it for?
Use it when creating web applications, developer tools, technical dashboards, chat or terminal interfaces, code viewers, and real-time or streaming experiences.
Why use it?
It helps turn complex developer tools into interfaces that are easier to understand and use across devices. It also provides guidance for accessibility, interaction behaviour, and revealing complexity gradually.

Skill for Claude CodeCodex

Part of the cc-polymath plugin — 26 skills, 1 command, 4 agents shipped together

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 skills/rand/cc-polymath/elegant-design
Any agent
npx skills add rand/cc-polymath --skill elegant-design
Clone the repo
git clone --depth 1 https://github.com/rand/cc-polymath

Made for: Claude Code, Codex.

Or install cc-polymath, the plugin that ships this one along with the rest of its 26 skills, 1 command, 4 agents.

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 elegant-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/rand/cc-polymath/elegant-design.svg)](https://agentmods.dev/skills/rand/cc-polymath/elegant-design)
Your own site
<a href="https://agentmods.dev/skills/rand/cc-polymath/elegant-design"><img src="https://agentmods.dev/badge/skills/rand/cc-polymath/elegant-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,540 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.00043 $0.02540
Opus 5 $0.00022 $0.01270
Sonnet 5 $0.00009 $0.00508
Haiku 4.5 $0.00004 $0.00254

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

Security

Grade A, and why

elegant-design 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 4d 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/elegant-design/SKILL.md · 303 lines

How it starts

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

Designing Elegant Interfaces

Philosophy

World-class design is intentional, accessible, and delightful. Every element serves a purpose, every interaction feels natural, and the experience adapts gracefully across contexts.

Core Principles:

  • Clarity over cleverness - Users should never wonder what to do next
  • Consistency over novelty - Patterns should repeat predictably
  • Performance over features - Fast, smooth interactions trump visual complexity
  • Accessibility always - Design for all users from the start
  • Progressive disclosure - Reveal complexity only when needed
  • Intentional friction - Make destructive actions harder, constructive actions effortless

When to Use This Skill

Use this skill when:

  • Building web applications with React/Next.js/similar frameworks
  • Creating developer tools or technical interfaces
  • Designing interfaces with chat, terminals, or code display
  • Implementing real-time or streaming features
  • Ensuring accessibility and responsive design
  • Working with shadcn/ui, daisyUI, or HeroUI design systems

Design Process Workflow

Follow this workflow for optimal results:

1. Discovery & Planning (15-30 min)

Map User Experience:

# Create flow diagrams with Graphviz
cat > user-flow.dot << 'EOF'
digraph UserFlow {
  Start -> "Observe State"
  "Observe State" -> "Orient Understanding"
  "Orient Understanding" -> "Decide Action"
  "Decide Action" -> "Act Execute"
  "Act Execute" -> "Observe State" [label="OODA loop"]
}
EOF

dot -Tpng user-flow.dot -o user-flow.png

OODA Loop Mapping: For each major user goal, optimize the cycle:

  1. Observe - What information does the user need?
  2. Orient - How do they make sense of it?
  3. Decide - What choices are available?
  4. Act - How do they execute?

Document States:

  • Entry points (how users arrive)
  • Core loops (repeated actions)
  • Success states (goals achieved)
  • Failure states (errors, recovery paths)
  • Edge cases (empty, loading, error, extreme data)

Read the full file on GitHub · 303 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. 4d ago First seen · 303 lines · 43 tokens per session scan A 428926d13c35

Subscribe to this mod's changes

elegant-design is a skill published in the GitHub repository rand/cc-polymath (140 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 2,540 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-30.

Related

Other skills, from other repositories

frontend-design

创建具有高设计品质、可交付生产的前端界面。当用户要求构建 Web 组件、页面、海报或应用(如官网、落地页、仪表盘、React/Vue 组件、HTML/CSS 布局,或对任意 Web UI 进行样式/美化)时使用本技能。产出有创意、打磨到位且避免「AI 通用审美」的代码与界面设计。.

xstongxue/best-skills · 103 tokens

antfu-design

Use this when building interfaces with UnoCSS in any framework (React, Vue, Svelte, Solid, or plain HTML), from dense devtools panels to landing pages. Read core-design-read first to set the direction, then apply the token system plus the polish and anti-slop rules.

antfu/skills · 66 tokens

taste

Use when improving the visual taste, positioning, polish, trust, and conversion clarity of a website or product UI. Runs a category-first visual audit, applies a decisive design pass, and verifies the result with screenshots rather than subjective vibes.

tryproduck/produck-skills · 49 tokens

slop-eval

Objectively evaluate a UI/web design against the pols.dev anti-slop design law: detect catalogued slop tells with cited evidence, score 8 weighted axes (color, type, components, layout, motion, execution, signature, cohesion), and emit a Slop Report with a 0–100 Slop Index and grade. Use when the user asks to…

fabricioctelles/skills · 142 tokens

modern-css

Proactively apply when creating design systems, component libraries, or any frontend application. Triggers on CSS Grid, Subgrid, Flexbox, Container Queries, :has(), @layer, @scope, CSS nesting, @property, @function, if(), oklch, color-mix, light-dark, relative color, @starting-style, scroll-driven animations, view…

ccheney/robust-skills · 181 tokens

obsidian-theme-dev

CSS/SCSS development patterns for Obsidian themes. Load when working with theme.css, SCSS variables, or CSS selectors.

davidvkimball/obsidian-dev-skills · 32 tokens