anybox: Skill for Codex

.agents/skills/fanfande-frontend-style/SKILL.md

fanfande-frontend-style is a skill for Codex from fanfan-de/anybox. It costs 101 tokens per session (3,310 once invoked), scanned A, original, MIT.

A visual and interaction guide for building Fanfande Studio desktop interfaces with React, Electron, and Vite. It covers areas such as sidebars, workspaces, settings, dialogs, forms, and lists.

In plain words
What is it for?
Use it when designing, building, reviewing, or refactoring Fanfande Studio’s desktop user interface and its different interaction states.
Why use it?
It helps keep the interface consistent, readable, keyboard-friendly, and usable in both light and dark themes.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is fanfan-de/anybox's own configuration. It tells Codex how to work on anybox 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 anybox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fanfan-de/anybox. 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/fanfan-de/anybox/master/.agents/skills/fanfande-frontend-style/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

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 fanfande-frontend-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/fanfande-frontend-style/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/fanfande-frontend-style)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/fanfande-frontend-style"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/fanfande-frontend-style/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 fanfande-frontend-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanfan-de/anybox/fanfande-frontend-style"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/fanfande-frontend-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,310 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.00101 $0.03310
Opus 5 $0.00051 $0.01655
Sonnet 5 $0.00020 $0.00662
Haiku 4.5 $0.00010 $0.00331

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

Security

Grade A, and why

fanfande-frontend-style 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 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/style-preview/script.js), 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.

.agents/skills/fanfande-frontend-style/SKILL.md · 121 lines

How it starts

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

Fanfande Frontend Style

核心方向

为 Fanfande Studio 构建安静、成熟、克制、偏桌面生产力工具的前端界面。优先考虑信息层级、稳定布局、紧凑但不拥挤的密度、可预测交互、长期使用不疲劳的视觉系统,以及符合 Electron 桌面应用的鼠标和键盘效率。

把 Obsidian-like 的“低装饰、面板化、克制强调色、原生偏好窗口感”抽象为全局产品气质,而不是局限于设置页。任何页面都应先服务工作流和内容密度,再考虑装饰表达。

工作流程

  1. 在写 UI 前先检查目标应用已有 token、基础样式、相邻组件和交互模式。Fanfande Studio 当前优先使用 src/renderer/src/styles/tokens.cssprimitives.cssshell.csssidebar.cssworkbench.csssettings.css 等本地样式。
  2. 优先消费已有 CSS 变量,不要在已有等价 token 时硬编码颜色、圆角、阴影或动效。常见 token 家族包括 --surface-*--text-*--border-*--brand-*--semantic-*--seg-*--mix-*
  3. 判断当前任务属于哪些 UI 类别,只读取对应 reference。不要一次加载所有 reference。
  4. 修改时保持局部一致:复用已有组件结构、class 命名、状态命名和测试约束。只有在现有模式明显无法承载新需求时再新增抽象。
  5. 完成前检查亮色/暗色主题、hover、focus-visible、active、selected、disabled、loading、empty、error、窄视口、长中文/英文文本、键盘路径、窗口拖拽区域和 Electron -webkit-app-region

Reference 选择

  • 总体原则和视觉气质:读取 references/principles.md
  • token、颜色、间距、圆角、阴影、动效:读取 references/tokens.md
  • app shell、标题栏、侧栏、主工作区、响应式:读取 references/layout.md
  • sidebar、tabs、breadcrumb、command palette、top menu:读取 references/navigation.md
  • panel、section、card、popover、modal、drawer、tooltip:读取 references/surfaces.md
  • 标题、正文、说明、代码、空状态文案:读取 references/typography.md
  • button、input、select、toggle、checkbox、radio、slider、segmented control:读取 references/controls.md
  • context menu、dropdown、select menu、command menu、action menu:读取 references/menus.md
  • list、table、tree、grid、detail pane、timeline、log viewer:读取 references/data-display.md
  • 表单布局、校验、保存状态、危险操作:读取 references/forms.md
  • toast、banner、loading、skeleton、progress、empty、error recovery:读取 references/feedback.md
  • hover、focus、keyboard、drag/drop、resize、shortcut、selection:读取 references/interactions.md
  • default、hover、focus、active、selected、disabled、readonly、error、warning、success 等状态:读取 references/states.md
  • 常见页面原型和组合方式:读取 references/pages.md
  • 明确不要做的视觉和交互反模式:读取 references/avoid.md

真实预览

当需要判断文字规范是否符合预期视觉时,打开 assets/style-preview/index.html。这是一个自包含的静态样板间,覆盖 app shell、sidebar、workbench pane、settings rows、buttons、inputs、select、toggle、table、empty state、banner、toast、dropdown menu、dialog 和 theme toggle。

Read the full file on GitHub · 121 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. 13d ago First seen · 121 lines · 101 tokens per session scan A f700dcf72dcf

Subscribe to this mod's changes

fanfande-frontend-style is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 3,310 once invoked, about $0.0005 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

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

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens