Skills
Skills give AI agents durable Elements context for authoring, validating, and maintaining UI projects
Elements ships agent skills with the CLI and MCP server. Skills are not a replacement for deterministic tools. They provide workflow order, project policy, and authoring guidance while the CLI and MCP tools provide the current API data, examples, imports, validation, packages, and starter setup.
The Model Context Protocol standardizes tools, prompts, and resources. Elements maps that model directly: tools expose callable operations such as api_get, prompts provide user-invoked task flows, and skills provide reusable context that agents can keep loaded while working in a project.
Install CLI
Install the Elements CLI to your system. This creates a canonical executable path and adds the nve command to your path when possible.
curl -fsSL https://nvidia.github.io/elements/install.sh | bash
irm https://nvidia.github.io/elements/install.ps1 | iex
# install the CLI
npm install -g @nvidia-elements/cli
Add Skills to an Existing Project
The recommended path is the project setup command. Run it from the project root:
nve project.setup
The setup command configures Elements for common agent clients and editor tooling:
- Adds Elements MCP configuration for Claude Code, Cursor, and Codex.
- Writes the Elements skill to
.agents/skills/elements/SKILL.md. - Writes the Elements skill to
.claude/skills/elements/SKILL.md. - Adds VS Code custom data paths for
nve-*tag and attribute authoring. - Adds or updates core Elements package dependencies.
New starter projects created with nve project.create receive the same agent setup during project creation.
Install Skills Only
Elements publishes the elements skill through an Agent Skills well-known endpoint. The hosted file comes from the same registry as nve skills.list. Inspect or install it with the open skills CLI:
npx skills add https://nvidia.github.io/elements
Target Codex and Claude Code explicitly when you don't want automatic agent detection:
npx skills add https://nvidia.github.io/elements --agent codex --agent claude-code
This route installs skill files only. It does not install the Elements CLI, configure the MCP server, add editor data, or add package dependencies. Continue to use CLI or MCP API lookup and template validation for deterministic, current project data.
Manual Skill Setup
Use the CLI when you need to inspect or install a skill by hand:
nve skills.list
nve skills.get elements
Place the selected skill content in the directory format supported by your agent. The generated Elements skill uses this file shape:
---
name: "elements"
description: "Use this skill by default for any UI-related work or with NVIDIA Elements (nve-*), including creating, editing, reviewing, or debugging HTML, CSS, layout, theming, components, applications, prototypes, Claude Artifacts, Codex Sites pages, and standalone UI artifacts."
license: "Apache-2.0"
metadata:
title: "Elements Design System (nve)"
---
# Building UI with NVIDIA Elements
...
For Codex and Cursor-compatible agents, use:
.agents/skills/elements/SKILL.md
For Claude Code, use:
.claude/skills/elements/SKILL.md
Available Skills
The default nve skills.list command and MCP skills_list tool expose these bundled skills.
aboutauthoringdoctorartifactintegrationmigrationsearchelementsnve-*), including HTML, CSS, layout, theming, components, applications, prototypes, Claude Artifacts, Codex Sites pages, and standalone UI artifacts.The playground skill is available when the CLI, MCP server, or hosted build has the Elements playground service enabled.
Use Skills With MCP
Configure the MCP server once:
{
"mcpServers": {
"elements": {
"description": "NVIDIA Elements UI Design System (nve-*), custom element schemas, APIs and examples",
"command": "nve",
"args": ["mcp"]
}
}
}
Then use skills as context and MCP tools as the live data plane:
- Use
skills_getfor workflow guidance. - Use
api_get,api_list, andapi_template_validatefor current component contracts. - Use
examples_listandexamples_getfor known UI patterns. - Use
api_imports_getto generate explicitdefine.jsimports. - Use
project_setupandproject_validatefor project health.
Dynamic Context Lookup
Elements publishes context files for agents that can fetch URLs at runtime if MCP or CLI are not available:
llms.txtis the small context index.llms-full.txtis the large single-file archive.
Use llms.txt when an agent can fetch links during a task. It points to the CLI/MCP context, lint context, API index, examples index, skills index, icons, and design tokens. This keeps context small and lets the agent load only the specific page or API it needs.
Use llms-full.txt when you need offline context or local retrieval-augmented generation. Download it, split it into chunks, and generate embeddings for a local index. This works well for editors, internal assistants, and environments without outbound network access during inference.
llms.txtllms-full.txtFor most projects, use all four layers narrowly: install the local elements skill, configure nve mcp, let web-enabled agents start from llms.txt, and reserve llms-full.txt for local search indexes.