opencode-kit: Skill for OpenCode

.opencode/skills/frontend-design/SKILL.md

frontend-design is a skill for OpenCode from felipeslo/opencode-kit. It costs 37 tokens per session (3,324 once invoked), scanned A, a copy of frontend-design, MIT.

Guidance for making decisions about web interface layouts, components, colors, fonts, effects, and motion. It focuses on design reasoning and includes a user-experience and accessibility audit script.

In plain words
What is it for?
Designing web pages and components, choosing visual styles and typography, planning animations, and checking an interface for user-experience and accessibility issues.
Why use it?
It helps developers make interfaces easier to understand and use instead of choosing visual details without a clear reason.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is felipeslo/opencode-kit's own configuration. It tells OpenCode how to work on opencode-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything opencode-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to felipeslo/opencode-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/felipeslo/opencode-kit/main/.opencode/skills/frontend-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/felipeslo/opencode-kit

Made for: OpenCode.

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/felipeslo/opencode-kit/frontend-design/github.svg)](https://agentmods.dev/skills/felipeslo/opencode-kit/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/felipeslo/opencode-kit/frontend-design"><img src="https://agentmods.dev/badge/skills/felipeslo/opencode-kit/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/felipeslo/opencode-kit/frontend-design"><img src="https://agentmods.dev/badge/skills/felipeslo/opencode-kit/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,324 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 94% 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.00037 $0.03324
Opus 5.5 $0.00015 $0.01330
Sonnet 5.5 $0.00007 $0.00665
Haiku 4.5 $0.00004 $0.00332

Measured 1mo ago against content hash 1f418c233d31, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/accessibility_checker.py, scripts/ux_audit.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.

Origin

This is a copy

94% identical to frontend-design — 57 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.

.opencode/skills/frontend-design/SKILL.md · 452 lines

How it starts

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

Frontend Design System

Philosophy: Every pixel has purpose. Restraint is luxury. User psychology drives decisions. Core Principle: THINK, don't memorize. ASK, don't assume.


🎯 Selective Reading Rule (MANDATORY)

Read REQUIRED files always, OPTIONAL only when needed:

File Status When to Read
ux-psychology.md 🔴 REQUIRED Always read first!
color-system.md ⚪ Optional Color/palette decisions
typography-system.md ⚪ Optional Font selection/pairing
visual-effects.md ⚪ Optional Glassmorphism, shadows, gradients
animation-guide.md ⚪ Optional Animation needed
motion-graphics.md ⚪ Optional Lottie, GSAP, 3D
decision-trees.md ⚪ Optional Context templates

🔴 ux-psychology.md = ALWAYS READ. Others = only if relevant.


🔧 Runtime Scripts

Execute these for audits (don't read, just run):

Script Purpose Usage
scripts/ux_audit.py UX Psychology & Accessibility Audit python scripts/ux_audit.py <project_path>

⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)

STOP! If the user's request is open-ended, DO NOT default to your favorites.

When User Prompt is Vague, ASK:

Color not specified? Ask:

"What color palette do you prefer? (blue/green/orange/neutral/other?)"

Style not specified? Ask:

"What style are you going for? (minimal/bold/retro/futuristic/organic?)"

Layout not specified? Ask:

"Do you have a layout preference? (single column/grid/asymmetric/full-width?)"

⛔ DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):

AI Default Tendency Why It's Bad Think Instead
Bento Grids (Modern Cliché) Used in every AI design Why does this content NEED a grid?
Hero Split (Left/Right) Predictable & Boring How about Massive Typography or Vertical Narrative?
Mesh/Aurora Gradients The "new" lazy background What's a radical color pairing?
Glassmorphism AI's idea of "premium" How about solid, high-contrast flat?
Deep Cyan / Fintech Blue Safe harbor from purple ban Why not Red, Black, or Neon Green?
"Orchestrate / Empower" AI-generated copywriting How would a human say this?
Dark background + neon glow Overused, "AI look" What does the BRAND actually need?
Rounded everything Generic/Safe Where can I use sharp, brutalist edges?

Read the full file on GitHub · 452 lines

Files

What ships with it

9 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. 1mo ago First seen · 452 lines · 37 tokens per session scan A 1f418c233d31

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository felipeslo/opencode-kit (2 stars, last pushed 7mo ago), licensed MIT. It adds 37 tokens to every session and 3,324 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to frontend-design, differing in 57 lines, and is treated as a copy.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

open-design-setup

Prepare or repair a project's prototyping environment so open-design can build prototypes with the project's own component library and render them through the project's toolchain. Use when the library target is needed and docs/design/prototyping.md is missing, stale, or failing; excludes HTML-only design work and…

compozy/compozy · 67 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens