wot-ui-unocss-preset-guide

wot-ui-unocss-preset-guide is a skill for Claude Code, Codex from wot-ui/open-wot. It costs 50 tokens per session (1,570 once invoked), scanned A, a copy of wot-ui-unocss-preset-guide, MIT.

A setup and troubleshooting guide for @wot-ui/unocss-preset, a package that adds Wot UI styling utilities to UnoCSS, a tool that generates CSS from class names.

In plain words
What is it for?
Installing the packages, configuring prefix, preflight, and design tokens, using utility classes, and troubleshooting a uni-app or Vue project.
Why use it?
It helps developers configure the preset correctly and diagnose problems such as missing styles, absent autocomplete, or differences between local and CI builds.

Skill for Claude CodeCodex

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

Good fit Installing the packages, configuring prefix, preflight, and design tokens, using utility classes, and troubleshooting a uni-app or Vue project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wot-ui/open-wot/wot-ui-unocss-preset-guide
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 wot-ui/open-wot --skill wot-ui-unocss-preset-guide
Clone the repo
git clone --depth 1 https://github.com/wot-ui/open-wot

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 wot-ui-unocss-preset-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide/github.svg)](https://agentmods.dev/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide)
Your own site
<a href="https://agentmods.dev/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide"><img src="https://agentmods.dev/badge/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide/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 wot-ui-unocss-preset-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide"><img src="https://agentmods.dev/badge/skills/wot-ui/open-wot/wot-ui-unocss-preset-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,570 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
  • Socket pass 14 Apr 2026
  • Snyk pass 14 Apr 2026
How audits are shown
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.00050 $0.01570
Opus 5 $0.00025 $0.00785
Sonnet 5 $0.00010 $0.00314
Haiku 4.5 $0.00005 $0.00157

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

Security

Grade A, and why

wot-ui-unocss-preset-guide 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.

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 wot-ui-unocss-preset-guide — 0 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.

skills/wot-ui-unocss-preset-guide/SKILL.md · 154 lines

How it starts

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

Wot UnoCSS Preset 使用指南

适用场景

当用户询问以下内容时,优先使用本 Skill:

  • 如何安装 @wot-ui/unocss-preset
  • 如何在 unocss.config.ts 配置 presetWot
  • prefixpreflightbaseTokens 怎么用
  • 为什么类名不生效、自动补全不出现、CI 与本地结果不一致

目标是给出可直接复制的最佳实践,帮助用户快速完成接入并稳定运行。

最小安装步骤

pnpm add -D unocss
pnpm add @wot-ui/unocss-preset

推荐配置(完整示例)

import { presetWot } from '@wot-ui/unocss-preset'
import { defineConfig } from 'unocss'

export default defineConfig({
  presets: [
    presetWot({
      prefix: 'wot',
      preflight: true,
      baseTokens: false,
    }),
  ],
})

配置项说明

  • prefix:工具类前缀,默认 wot。示例:wot-text-primarywot-m-main
  • preflight:是否注入 wot-ui CSS 变量,默认 true
  • baseTokens:是否开放基础色板和原始 token 类名,默认 false

常用类名示例

  • 颜色:wot-text-primarywot-bg-danger-surfacewot-border-border-main
  • 间距:wot-m-mainwot-gap-tightwot-gap-x-loose
  • 内边距:wot-p-mainwot-px-tightwot-pb-loose
  • 圆角:wot-rounded-mdwot-rounded-full
  • 字重:wot-font-mediumwot-font-semibold
  • 排版:wot-text-body-mainwot-text-title-large
  • 透明度:wot-opacity-disabled
  • 描边:wot-border-stroke-main

上手示例(可复制)

1) 一个“卡片”示例(uni-app / Vue)

<template>
  <view class="wot-bg-filled-oppo wot-rounded-2xl wot-p-super-loose wot-border-border-main wot-border-stroke-main">
    <text class="wot-text-title-large wot-text-text-main wot-font-semibold">
      Wot UnoCSS Preset
    </text>

    <view class="wot-mt-tight">
      <text class="wot-text-body-main wot-text-text-secondary">
        wot-text-body-main + wot-text-text-secondary
      </text>
    </view>

    <view class="wot-mt-loose wot-bg-primary wot-rounded-full wot-px-main wot-py-extra-tight">
      <text class="wot-text-label-large wot-text-text-white wot-font-semibold">
        wot-bg-primary
      </text>
    </view>
  </view>
</template>

2) 间距/布局示例(常见组合)

  • 外边距:wot-mt-tightwot-mt-mainwot-mt-super-loose
  • 内边距:wot-p-loosewot-px-mainwot-py-extra-tight
  • 横向/纵向组合:wot-mx-mainwot-my-loose
  • gap:wot-gap-tightwot-gap-x-mainwot-gap-y-loose

Read the full file on GitHub · 154 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 · 154 lines · 50 tokens per session scan A cc97db48da12

Subscribe to this mod's changes

wot-ui-unocss-preset-guide is a skill published in the GitHub repository wot-ui/open-wot (34 stars, last pushed 14d ago), licensed MIT. It adds 50 tokens to every session and 1,570 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 wot-ui-unocss-preset-guide, differing in 0 lines, and is treated as a copy.

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

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens