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 will add the nve command to your path and provide several helpful commands for working with Elements.
curl -fsSL https://nvidia.github.io/elements/install.sh | bash
curl -fsSL https://nvidia.github.io/elements/install.cmd -o install.cmd && install.cmd && del install.cmd
# install the CLI
npm install -g @nvidia-elements/cli
Add Skills To A 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.
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
title: Elements Design System (nve)
description: Build UI with NVIDIA Elements (NVE). Use when creating, editing, or reviewing HTML templates that use nve-* components.
---
# 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
elementsauthoringnve-* APIs.searchintegrationdoctormigrationplaygroundaboutThe playground skill is available when the CLI or MCP server 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.