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/liyecom/liye-ai/artifacts-buildernpx skills add liyecom/liye-ai --skill artifacts-buildergit clone --depth 1 https://github.com/liyecom/liye-aiWrote 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/liyecom/liye-ai/artifacts-builder)<a href="https://agentmods.dev/skills/liyecom/liye-ai/artifacts-builder"><img src="https://agentmods.dev/badge/skills/liyecom/liye-ai/artifacts-builder.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.1 | $0.00013 | $0.01009 |
| Opus 5 | $0.00006 | $0.00504 |
| Sonnet 5 | $0.00003 | $0.00202 |
| Haiku 4.5 | $0.00001 | $0.00101 |
Grade A, and why
artifacts-builder 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 6d 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.
What it actually says
Artifacts Builder
来源: ComposioHQ/awesome-claude-skills 适配: LiYe OS 三层架构
创建复杂多组件 HTML artifacts,使用现代前端技术栈 (React, Tailwind CSS, shadcn/ui)。
When to Use This Skill
当需要构建复杂前端界面时:
- 创建交互式仪表盘
- 构建数据展示界面
- 开发多组件 React 应用
- 实现复杂的 UI 布局
- 使用 shadcn/ui 组件库
Core Capabilities
1. React 组件开发
// 组件结构
const Dashboard = () => {
const [data, setData] = useState([]);
return (
<div className="grid grid-cols-3 gap-4">
<Card>
<CardHeader>
<CardTitle>销售概览</CardTitle>
</CardHeader>
<CardContent>
<Chart data={data} />
</CardContent>
</Card>
</div>
);
};
2. Tailwind CSS 样式
- 原子化 CSS 类
- 响应式设计 (sm, md, lg, xl)
- 暗色模式支持
- 自定义主题
3. shadcn/ui 组件库
常用组件:
Button,Card,DialogTable,Tabs,FormSelect,Input,CheckboxChart,Progress,Badge
4. 多组件协调
- 状态管理
- 组件通信
- 数据流设计
- 性能优化
5. 响应式设计
- 移动优先
- 断点设计
- 弹性布局
- 自适应组件
Usage Examples
示例 1: 销售仪表盘
用户: 帮我创建一个 Amazon 销售数据仪表盘
Claude: [使用 artifacts-builder 构建包含图表、表格、筛选器的仪表盘]
示例 2: 数据输入表单
用户: 创建一个关键词研究的数据录入界面
Claude: [使用 artifacts-builder 构建表单,包含验证和提交逻辑]
示例 3: 交互式报告
用户: 把这份报告做成一个可交互的网页
Claude: [使用 artifacts-builder 创建带导航、筛选、图表的交互报告]
Dependencies
- React 18+
- Tailwind CSS 3+
- shadcn/ui 组件库
- Lucide React (图标)
LiYe OS Integration
业务域引用
此技能被以下业务域引用:
- 06_Technical_Development: 前端开发(主域)
- 02_Operation_Intelligence: 运营仪表盘
- 07_Data_Science: 数据可视化界面
三层架构位置
- 物理层 (本文件): Skills/00_Core_Utilities/development-tools/artifacts-builder/
- 逻辑层索引: Skills/{domain}/index.yaml
- L3 指令层: .claude/skills/{domain}/artifacts-builder/
Created: 2025-12-28 | Adapted for LiYe OS
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.
- 6d ago First seen · 141 lines · 13 tokens per session scan A e673790d8f4e
artifacts-builder is a skill published in the GitHub repository liyecom/liye-ai (33 stars, last pushed 26d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,009 once invoked, about $0.0001 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.
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…
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…
prototype-web
可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.
animation-principles
Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.
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…
moai-ref-ui-polish
UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…