artifacts-builder

artifacts-builder is a skill for Claude Code, Codex from liyecom/liye-ai. It costs 13 tokens per session (1,009 once invoked), scanned A, original, Apache-2.0.

A tool for building complex, multi-component front-end interfaces with React, Tailwind CSS, and shadcn/ui. It is intended for interactive dashboards, data displays, forms, and responsive layouts.

In plain words
What is it for?
Use it to build dashboards, charts, tables, filters, forms, and other responsive web interfaces. It also covers component communication, state management, and visual themes.
Why use it?
It helps organize interfaces that contain several coordinated components, data flows, and interactive states. This reduces the amount of front-end structure that must be designed from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

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.

agentmods
npx agentmods add skills/liyecom/liye-ai/artifacts-builder
Any agent
npx skills add liyecom/liye-ai --skill artifacts-builder
Clone the repo
git clone --depth 1 https://github.com/liyecom/liye-ai

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/liyecom/liye-ai/artifacts-builder.svg)](https://agentmods.dev/skills/liyecom/liye-ai/artifacts-builder)
Your own site
<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>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00013 $0.01009
Opus 5 $0.00006 $0.00504
Sonnet 5 $0.00003 $0.00202
Haiku 4.5 $0.00001 $0.00101

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

Security

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.

Skills/00_Core_Utilities/development-tools/artifacts-builder/SKILL.md · 141 lines

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, Dialog
  • Table, Tabs, Form
  • Select, Input, Checkbox
  • Chart, 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

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. 6d ago First seen · 141 lines · 13 tokens per session scan A e673790d8f4e

Subscribe to this mod's changes

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.

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

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

可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.

nexu-io/html-anything · 24 tokens

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.

Owl-Listener/designer-skills · 59 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

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…

modu-ai/moai-adk · 98 tokens