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.
npx agentmods add skills/treex-x/workflowx/huashu-designnpx skills add TreeX-X/WorkFlowX --skill huashu-designgit clone --depth 1 https://github.com/TreeX-X/WorkFlowXWrote 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/skills/treex-x/workflowx/huashu-design)<a href="https://agentmods.dev/skills/treex-x/workflowx/huashu-design"><img src="https://agentmods.dev/badge/skills/treex-x/workflowx/huashu-design.svg" alt="Measured on agentmods" 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 | $0.00505 | $0.18009 |
| Opus 5 | $0.00253 | $0.09005 |
| Sonnet 5 | $0.00101 | $0.03602 |
| Haiku 4.5 | $0.00051 | $0.01801 |
Grade A, and why
huashu-design scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -o assets/<brand>-brand/logo.svg https://<brand>.com/logo.svg This is a copy
89% identical to huashu-design — 5 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.
How it starts
The opening of the file, as written. The whole thing — 815 lines — stays where its author put it; the contents beside it link to each section on GitHub.
花叔Design · Huashu-Design
你是一位用HTML工作的设计师,不是程序员。用户是你的manager,你产出深思熟虑、做工精良的设计作品。
HTML是工具,但你的媒介和产出形式会变——做幻灯片时别像网页,做动画时别像Dashboard,做App原型时别像说明书。根据任务embody对应领域的专家:动画师/UX设计师/幻灯片设计师/原型师。
使用前提
这个skill专为「用HTML做视觉产出」的场景设计,不是给任何HTML任务用的万能勺。适用场景:
- 交互原型:高保真产品mockup,用户可以点击、切换、感受流程
- 设计变体探索:并排对比多个设计方向,或用Tweaks实时调参
- 演示幻灯片:1920×1080的HTML deck,可以当PPT用
- 动画Demo:时间轴驱动的motion design,做视频素材或概念演示
- 信息图/可视化:精确排版、数据驱动、印刷级质量
不适用场景:生产级Web App、SEO网站、需要后端的动态系统——这些用frontend-design skill。
核心原则 #0 · 事实验证先于假设(优先级最高,凌驾所有其他流程)
任何涉及具体产品/技术/事件/人物的存在性、发布状态、版本号、规格参数的事实性断言,第一步必须
WebSearch验证,禁止凭训练语料做断言。
触发条件(满足任一):
- 用户提到你不熟悉或不确定的具体产品名(如"大疆 Pocket 4"、"Nano Banana Pro"、"Gemini 3 Pro"、某新版 SDK)
- 涉及 2024 年及之后的发布时间线、版本号、规格参数
- 你内心冒出"我记得好像是..."、"应该还没发布"、"大概在..."、"可能不存在"的句式
- 用户请求给某个具体产品/公司做设计物料
硬流程(开工前执行,优先于 clarifying questions):
WebSearch产品名 + 最新时间词("2026 latest"、"launch date"、"release"、"specs")- 读 1-3 条权威结果,确认:存在性 / 发布状态 / 最新版本号 / 关键规格
- 把事实写进项目的
product-facts.md(见工作流 Step 2),不靠记忆 - 搜不到或结果模糊 → 问用户,而不是自行假设
反例(2026-04-20 真实踩过的坑):
- 用户:"给大疆 Pocket 4 做发布动画"
- 我:凭记忆说"Pocket 4 还没发布,我们做概念 demo"
- 真相:Pocket 4 已在 4 天前(2026-04-16)发布,官方 Launch Film + 产品渲染图俱在
- 后果:基于错误假设做了"概念剪影"动画,违背用户期待,返工 1-2 小时
- 成本对比:WebSearch 10 秒 << 返工 2 小时
这条原则优先级高于"问 clarifying questions"——问问题的前提是你对事实已有正确理解。事实错了,问什么都是歪的。
禁止句式(看到自己要说这些时,立即停下去搜):
- ❌ "我记得 X 还没发布"
- ❌ "X 目前是 vN 版本"(未经搜索的断言)
- ❌ "X 这个产品可能不存在"
- ❌ "据我所知 X 的规格是..."
- ✅ "我
WebSearch一下 X 最新状态" - ✅ "搜到的权威来源说 X 是 ..."
与"品牌资产协议"的关系:本原则是资产协议的前提——先确认产品存在且是什么,再去找它的 logo/产品图/色值。顺序不能反。
核心哲学(优先级从高到低)
1. 从existing context出发,不要凭空画
好的hi-fi设计一定是从已有上下文长出来的。先问用户是否有design system/UI kit/codebase/Figma/截图。凭空做hi-fi是last resort,一定会产出generic的作品。如果用户说没有,先帮他去找(看项目里有没有,看有没有参考品牌)。
如果还是没有,或者用户需求表达很模糊(如"做个好看的页面"、"帮我设计"、"不知道要什么风格"、"做个XX"没有具体参考),不要凭通用直觉硬做——进入 设计方向顾问模式,从 20 种设计哲学里给 3 个差异化方向让用户选。完整流程见下方「设计方向顾问(Fallback 模式)」大节。
1.a 核心资产协议(涉及具体品牌时强制执行)
这是 v1 最核心的约束,也是稳定性的生命线。 Agent 是否走通这个协议,直接决定输出质量是 40 分还是 90 分。不要跳过任何一步。
v1.1 重构(2026-04-20):从「品牌资产协议」升级为「核心资产协议」。之前的版本过度聚焦色值和字体,漏掉了设计中最基础的 logo / 产品图 / UI 截图。花叔的原话:「除了所谓的品牌色,显然我们应该找到并且用上大疆的 logo,用上 pocket4 的产品图。如果是网站或者 app 等非实体产品的话,logo 至少该是必须的。这可能是比所谓的品牌设计的 spec 更重要的基本逻辑。否则,我们在表达什么呢?」
What ships with it
60 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.
- .env.example 280 B
- .gitignore 615 B
- assets/android_frame.jsx 4.4 KB
- assets/animations.jsx 9.8 KB
- assets/banner.svg 9.3 KB
- assets/bgm-ad.mp3 4834 KB
- assets/bgm-educational-alt.mp3 4364 KB
- assets/bgm-educational.mp3 3952 KB
- assets/bgm-tech.mp3 4705 KB
- assets/bgm-tutorial-alt.mp3 3846 KB
- assets/bgm-tutorial.mp3 5413 KB
- assets/browser_window.jsx 3.9 KB
- assets/deck_index.html 8.0 KB
- assets/deck_stage.js 11 KB runs code
- assets/design_canvas.jsx 5.1 KB
- assets/director-notes-samples/launch-film-30s-sample.md 78 KB
- assets/ios_frame.jsx 4.6 KB
- assets/macos_window.jsx 2.5 KB
- assets/narration_stage.jsx 17 KB
- assets/personal-asset-index.example.json 1.8 KB
- assets/sfx/container/card-flip.mp3 12 KB
- assets/sfx/container/card-snap.mp3 8.6 KB
- assets/sfx/container/modal-open.mp3 10 KB
- assets/sfx/container/stack-collapse.mp3 14 KB
- assets/sfx/feedback/achievement.mp3 24 KB
- assets/sfx/feedback/error-tone.mp3 12 KB
- assets/sfx/feedback/notification-pop.mp3 10 KB
- assets/sfx/feedback/success-chime.mp3 17 KB
- assets/sfx/impact/brand-stamp.mp3 17 KB
- assets/sfx/impact/drop-thud.mp3 12 KB
- assets/sfx/impact/logo-reveal-v2.mp3 24 KB
- assets/sfx/impact/logo-reveal.mp3 24 KB
- assets/sfx/keyboard/delete-key.mp3 8.6 KB
- assets/sfx/keyboard/enter.mp3 8.6 KB
- assets/sfx/keyboard/space-tap.mp3 8.6 KB
- assets/sfx/keyboard/type-fast.mp3 24 KB
- assets/sfx/keyboard/type.mp3 14 KB
- assets/sfx/magic/ai-process.mp3 20 KB
- assets/sfx/magic/sparkle.mp3 14 KB
- assets/sfx/magic/transform.mp3 17 KB
- assets/sfx/progress/complete-done.mp3 14 KB
- assets/sfx/progress/generate-start.mp3 14 KB
- assets/sfx/progress/loading-tick.mp3 8.6 KB
- assets/sfx/terminal/command-execute.mp3 8.6 KB
- assets/sfx/terminal/cursor-blink.mp3 8.6 KB
- assets/sfx/terminal/output-appear.mp3 10 KB
- assets/sfx/transition/dissolve.mp3 14 KB
- assets/sfx/transition/slide-in.mp3 10 KB
- assets/sfx/transition/swipe-horizontal.mp3 12 KB
- assets/sfx/transition/whoosh-fast.mp3 8.6 KB
- assets/sfx/transition/whoosh.mp3 10 KB
- assets/sfx/ui/click-soft.mp3 8.6 KB
- assets/sfx/ui/click.mp3 8.6 KB
- assets/sfx/ui/focus.mp3 8.6 KB
- assets/sfx/ui/hover-subtle.mp3 8.6 KB
- assets/sfx/ui/tap-finger.mp3 8.6 KB
- assets/sfx/ui/toggle-on.mp3 8.6 KB
- assets/showcases/cover/cover-build.html 5.5 KB
- assets/showcases/cover/cover-build.png 114 KB
- assets/showcases/cover/cover-pentagram.html 4.8 KB
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.
- 5d ago First seen · 815 lines · 505 tokens per session scan A 147db2e148bc
huashu-design is a skill published in the GitHub repository TreeX-X/WorkFlowX (55 stars, last pushed 5d ago), licensed MIT. It adds 505 tokens to every session and 18,009 once invoked, about $0.0025 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 89% identical to huashu-design, differing in 5 lines, and is treated as a copy.
Other skills, from other repositories
ve-terminal-mono
OpenDesign from the CLI: driving the full design workflow with the od command — scripted, composable, agent-ready. Built as a decision-grade AI literacy deck for developers, power users.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
design
Use when the user wants the visual/experiential design of a product done systematically — a design system, a screen, a landing page, or a visual identity — grounded in researched real-world prior art and free of AI slop. Establishes/extends the design system, invokes the matching local taste skill, dispatches the…
html-ppt-presenter-mode
OpenDesign live demo: from a one-line prompt to runnable design in a single session — the flow, live. Built as a decision-grade AI literacy deck for developers, prospects, community.
ai-image-generation-via-cellcog
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.
template-fidelity-system
Use this skill when Boss provides a PPT/PPTX template and expects the new deck to follow that template's layout, fonts, backgrounds, master rhythm, and page patterns rather than merely taking loose visual inspiration.