frontend-design

frontend-design is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 54 tokens per session (266 once invoked), scanned A, original, MIT.

A guide for building frontend interfaces—the visible parts of websites and web apps—with planned choices for layout, colors, typography, and visual style.

In plain words
What is it for?
Use it for landing pages, websites, UI designs, interactive pages, HTML pages, web-app mockups, and frontend prototypes.
Why use it?
It helps avoid starting with generic-looking UI or making design choices without a clear system. It also separates interface building from reviewing an existing design or writing backend code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for landing pages, websites, UI designs, interactive pages, HTML pages, web-app mockups, and frontend prototypes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xg-gh-25/swarmai/s_frontend-design
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 xg-gh-25/SwarmAI --skill s_frontend-design
Clone the repo
git clone --depth 1 https://github.com/xg-gh-25/SwarmAI

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_frontend-design/github.svg)](https://agentmods.dev/skills/xg-gh-25/swarmai/s_frontend-design)
Your own site
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_frontend-design"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_frontend-design/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 frontend-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_frontend-design"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 266 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.00266
Opus 5.5 $0.00022 $0.00106
Sonnet 5.5 $0.00011 $0.00053
Haiku 4.5 $0.00005 $0.00027

Measured yesterday against content hash b7ccaf309e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-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 yesterday.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/core.py, scripts/design_system.py, scripts/search.py, …), 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.

backend/skills/s_frontend-design/SKILL.md · 23 lines

What it actually says

Frontend Design

This skill loads full instructions on activation. Read INSTRUCTIONS.md before proceeding.

TRIGGER: "build a landing page", "create a website", "design a UI", "frontend prototype", "interactive page", "HTML page", "web app mockup" DO NOT USE: for backend APIs (just code directly) or for reviewing existing UI (use web-design-review)

MANDATORY: Generate Design System Before Coding

Before writing ANY frontend code, run the design system generator to get industry-specific style, color, typography, and anti-pattern recommendations:

"$SWARM_BACKEND_BIN" py scripts/search.py "<product description>" --design-system -p "ProjectName" -f markdown

This is NOT optional. The database has 161 industry-specific reasoning rules that prevent generic AI aesthetics. Skip this step only if the user explicitly provides a complete design system (colors, fonts, style).

Files

What ships with it

55 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. yesterday Changed · -1 lines · -9 tokens per session b7ccaf309e83
  2. 2mo ago First seen · 24 lines · 63 tokens per session scan A cd6ab0ef251c

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository xg-gh-25/SwarmAI (56 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 266 once invoked, about $0.0002 per session on Opus 5.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

mobile-design

Guidance for designing and building mobile app interfaces on iOS and Android, including React Native and Flutter projects. Covers touch interaction, on-device performance, platform conventions, navigation, and offline behavior, and emphasizes reasoning about constraints over copying fixed values. Use it when creating…

phuonghx/aim-cli · 70 tokens

frontend-design

A reasoning framework for web UI design decisions — components, layout, color, type, effects, and motion. Use it when composing interfaces, picking palettes or fonts, structuring page layouts, or pushing a design past generic defaults. It teaches the principles and trade-offs behind each choice rather than prescribing…

phuonghx/aim-cli · 88 tokens

game-art

Reference for game art direction and production pipelines, covering visual style selection, 2D and 3D asset workflows, color theory, animation, resolution and scale rules, file organization, and common mistakes to avoid. Use it when picking an art style for a project, setting up an asset pipeline, defining a palette…

phuonghx/aim-cli · 93 tokens

tailwind-patterns

Captures the way Tailwind CSS v4 is meant to be used, where configuration lives in CSS through the @theme directive, the Rust-based engine compiles utilities, and tokens surface as CSS custom properties. Useful when setting up or migrating a v4 project, defining a design-token system, reaching for container queries…

phuonghx/aim-cli · 105 tokens

web-design-guidelines

Audits front-end UI code against an external, regularly updated set of web interface guidelines covering accessibility, usability, and interaction quality, then reports each issue in a compact file-and-line format. Fits when reviewing existing UI for best-practice compliance, checking accessibility, or auditing UX…

phuonghx/aim-cli · 91 tokens

taste-skill

A taste filter for marketing-style web work (landing pages, portfolios, and redesigns) that fights generic, machine-generated "design" output. The agent reads the brief first, commits to a deliberate direction, and ships interfaces that look authored rather than templated. It reaches for genuine design systems when…

phuonghx/aim-cli · 100 tokens