frontend-skill

frontend-skill is a skill for Codex from HK-hub/AgentSkills. It costs 58 tokens per session (1,627 once invoked), scanned A, a copy of frontend-skill, MIT.

A set of design rules for building visually distinctive landing pages, websites, app screens, prototypes, demos, and game interfaces.

In plain words
What is it for?
Use it to shape a page's visual direction, structure its sections, choose typography and colors, and plan memorable interface motion.
Why use it?
It helps prevent cluttered layouts, weak visual identity, generic cards, and unfocused content. It gives the agent a clear way to plan composition, imagery, copy, and motion before building.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to shape a page's visual direction, structure its sections, choose typography and colors, and plan memorable interface motion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hk-hub/agentskills/frontend-skill
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 HK-hub/AgentSkills --skill frontend-skill
Clone the repo
git clone --depth 1 https://github.com/HK-hub/AgentSkills

Made for: 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-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/hk-hub/agentskills/frontend-skill.svg)](https://agentmods.dev/skills/hk-hub/agentskills/frontend-skill)
Your own site
<a href="https://agentmods.dev/skills/hk-hub/agentskills/frontend-skill"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/frontend-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 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.
Origin 100% copy Near-identical to another mod 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.00058 $0.01627
Opus 5 $0.00029 $0.00813
Sonnet 5 $0.00012 $0.00325
Haiku 4.5 $0.00006 $0.00163

Measured 4d ago against content hash d367b2d22825, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

100% identical to frontend-skill — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

frontend-skill/SKILL.md · 185 lines

How it starts

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

Frontend Skill

Use this skill when the quality of the work depends on art direction, hierarchy, restraint, imagery, and motion rather than component count.

Goal: ship interfaces that feel deliberate, premium, and current. Default toward award-level composition: one big idea, strong imagery, sparse copy, rigorous spacing, and a small number of memorable motions.

Working Model

Before building, write three things:

  • visual thesis: one sentence describing mood, material, and energy
  • content plan: hero, support, detail, final CTA
  • interaction thesis: 2-3 motion ideas that change the feel of the page

Each section gets one job, one dominant visual idea, and one primary takeaway or action.

Beautiful Defaults

  • Start with composition, not components.
  • Prefer a full-bleed hero or full-canvas visual anchor.
  • Make the brand or product name the loudest text.
  • Keep copy short enough to scan in seconds.
  • Use whitespace, alignment, scale, cropping, and contrast before adding chrome.
  • Limit the system: two typefaces max, one accent color by default.
  • Default to cardless layouts. Use sections, columns, dividers, lists, and media blocks instead.
  • Treat the first viewport as a poster, not a document.

Landing Pages

Default sequence:

  1. Hero: brand or product, promise, CTA, and one dominant visual
  2. Support: one concrete feature, offer, or proof point
  3. Detail: atmosphere, workflow, product depth, or story
  4. Final CTA: convert, start, visit, or contact

Hero rules:

  • One composition only.
  • Full-bleed image or dominant visual plane.
  • Canonical full-bleed rule: on branded landing pages, the hero itself must run edge-to-edge with no inherited page gutters, framed container, or shared max-width; constrain only the inner text/action column.
  • Brand first, headline second, body third, CTA fourth.
  • No hero cards, stat strips, logo clouds, pill soup, or floating dashboards by default.
  • Keep headlines to roughly 2-3 lines on desktop and readable in one glance on mobile.
  • Keep the text column narrow and anchored to a calm area of the image.
  • All text over imagery must maintain strong contrast and clear tap targets.

Read the full file on GitHub · 185 lines

Files

What ships with it

2 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. 4d ago First seen · 185 lines · 58 tokens per session scan A d367b2d22825

Subscribe to this mod's changes

frontend-skill is a skill published in the GitHub repository HK-hub/AgentSkills (6 stars, last pushed 20d ago), licensed MIT. It adds 58 tokens to every session and 1,627 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to frontend-skill, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

visual-verdict

Structured visual QA verdict for screenshot-to-reference comparisons.

Yeachan-Heo/oh-my-claudecode · 13 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

layout-skill

Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…

code-yeongyu/oh-my-openagent · 88 tokens

frontend-design

A design guide for building polished web interfaces such as pages, dashboards, forms, navigation, and reusable UI components. It covers HTML, CSS, JavaScript, and common frontend frameworks.

AnastasiyaW/codex-claude-code-config · 264 tokens

ui-design

Unify product UI design, frontend implementation, and verification. Use when asked to design, redesign, build, or fix a web, desktop, or mobile interface; a page, dashboard, form, component, design system, responsive layout, accessibility, or interface animation. Combine visual decisions with the implementation rather…

AnastasiyaW/codex-claude-code-config · 95 tokens

frontend-philosophy

Visual & UI philosophy (The 5 Pillars of Intentional UI). Understand deeply to avoid "AI slop" and create distinctive, memorable interfaces.

kdcokenny/ocx · 36 tokens