Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jiushiwon/wg-skillsnpx agentmods add commands/jiushiwon/wg-skills/brandWrote 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.
[](https://agentmods.dev/commands/jiushiwon/wg-skills/brand)<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/brand"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/brand/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.
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/brand"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/brand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01358 |
| Opus 5 | $0.00000 | $0.00679 |
| Sonnet 5 | $0.00000 | $0.00272 |
| Haiku 4.5 | $0.00000 | $0.00136 |
Grade A, and why
brand 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
brand — 品牌风格套用
将指定品牌的视觉语言(调色 + 字体 + 组件风格)套用到目标项目。
用法
brand <name> [path] [--component button|card|nav|all] [--preview]
品牌选择
引用 references/brands/index.md,支持 58 个品牌。
参数
| 参数 | 说明 | 默认 |
|---|---|---|
<name> |
必填,品牌名 | — |
[path] |
目标路径 | cwd |
--component |
套用到哪些组件 | all |
--preview |
只预览不修改 | 否 |
支持的品牌(10 个详细卡)
stripe / linear / vercel / apple / supabase / mintlify / revolut / lovable / cursor / claude
其他 48 个品牌用通用规则(见 brands/index.md)。
流程
1. 加载品牌
读取 references/brands/<name>.md,获取:
- 风格 DNA
- 配色(OKLCH / HEX)
- 字体配对
- 关键组件
- 适用/不适用场景
- 反 AI Slop 关键
2. 检测目标
node scripts/detect-stack.mjs [path]
识别技术栈,决定如何应用。
3. 派生 Token
按品牌规格生成 Token:
- 调色板(主/副/辅/背景/文字/边框/状态)
- 字体(家族/字号阶/字重/行高)
- 圆角(按品牌调性)
- 阴影(按品牌调性)
- 动效(按品牌调性)
4. 应用组件(按 --component)
button(按钮)
/* 例:Stripe 风格 */
.button-primary {
background: var(--color-primary); /* 紫蓝 */
color: var(--color-primary-foreground);
border-radius: var(--radius-md);
padding: 0 var(--space-4);
height: 40px;
font-weight: 500;
transition: background-color 150ms var(--ease-out-quart);
}
.button-primary:hover {
background: var(--color-primary-hover);
}
.button-primary:active {
transform: scale(0.98);
}
card(卡片)
/* 例:Linear 风格(紧凑几何) */
.card {
background: var(--color-surface-elevated);
border: 1px solid var(--color-border);
border-radius: var(--radius-md); /* 8px,克制 */
padding: var(--space-4);
transition: border-color 150ms;
}
.card:hover {
border-color: var(--color-border-strong);
}
nav(导航)
按品牌风格调整(顶栏 vs 侧栏、紧凑 vs 宽松、阴影 vs 边框)。
5. 预览 / 应用
--preview:在临时文件渲染,不写实际项目
不加:直接修改 src/styles/tokens.css 等
输出:brand-report.md
# Brand Apply Report — <name>
> 品牌:Stripe
> 目标:/path/to/project
> 技术栈:React Next.js 14
> 时间:2024-XX-XX
---
## 品牌画像
### 风格 DNA
- 暖色 Committed
- 排版戏剧性
- 细节狂魔
- 非典型落地页
### 调色板
- 主色:#ff6e40 橙红
- 副色:#635bff 紫蓝
- 强调:#d4a574 金黄
- 背景:#fffbf5 暖白
### 字体
- 标题:Cabinet Grotesk(替代 Sohne)
- 正文:Cabinet Grotesk
- 等宽:JetBrains Mono(替代 Berkeley Mono)
## 套用范围
- [x] 全局 Token(颜色/字体/间距/圆角/阴影/动效)
- [x] 基础组件(Button、Input、Card)
- [x] 导航(Header、Footer)
- [ ] 业务组件(保留业务逻辑)
## 修改清单
| # | 文件 | 修改 |
|---|------|------|
| 1 | src/styles/tokens.css | 完整替换为 Stripe 调色 |
| 2 | tailwind.config.ts | 更新 colors 映射 |
| 3 | components/Button.tsx | 调整圆角到 8px |
| ... |
## 风险评估
- 调色板变更:中等(需验证所有页面)
- 字体变更:低(提供回退)
- 圆角变更:低(统一阶梯)
- 阴影变更:低
## 回滚
```bash
git checkout HEAD -- src/styles/tokens.css tailwind.config.ts components/Button.tsx
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.
- 10d ago First seen · 188 lines · 0 tokens per session scan A 0975199961c5
brand is a command published in the GitHub repository jiushiwon/wg-skills (98 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,358 tokens. 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.
Other commands, from other repositories
profile
Save, load, inspect, update, reset, or delete diagram-design client profiles.
ui-flow-review
Review menus, HUD, navigation, and player flow from a UX perspective.
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
responsive-design-specialist
Use when a layout breaks between sizes. Arbitrary breakpoints, type that does not scale, images that blow out the grid, or a desktop design retrofitted onto mobile.
team-ui
Orchestrate UI/UX design team.
p3-ux-wireframes
Creates wireframes (ASCII art) for the most important screens with interaction descriptions.