elements: Instructions file for Codex

AGENTS.md

elements AGENTS.md is an instructions file for Codex, OpenCode from NVIDIA/elements. It costs 3,061 tokens per session, scanned C, original, Apache-2.0.

A repository instruction guide for coding agents working on NVIDIA’s Elements project, a monorepo that contains several related packages in one codebase. It explains which instructions take priority, how the project is organised, and how to work with it.

In plain words
What is it for?
Following repository policies, understanding the Elements codebase, checking environment requirements, and running common development commands.
Why use it?
It reduces mistakes caused by conflicting instructions or missing setup knowledge. Agents can follow the project’s required rules and commands in the right order.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is NVIDIA/elements's own configuration. It tells Codex and OpenCode how to work on elements itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything elements configures →

About the project

NVIDIA Elements is a design system and agent-oriented toolkit for building operational interfaces for AI/ML, robotics, and autonomous-vehicle software. Its CLI and MCP tools provide component APIs, design tokens, examples, imports, validation, and setup guidance across several web frameworks.

NVIDIA/elements · 102 stars · on GitHub · nvidia.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to NVIDIA/elements. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NVIDIA/elements/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/elements

Made for: Codex, OpenCode.

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 elements AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nvidia/elements/agents-md/github.svg)](https://agentmods.dev/instructions/nvidia/elements/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nvidia/elements/agents-md"><img src="https://agentmods.dev/badge/instructions/nvidia/elements/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for elements AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nvidia/elements/agents-md"><img src="https://agentmods.dev/badge/instructions/nvidia/elements/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,061 This file is loaded in full into every session.
When invoked 3,061 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.03061 $0.03061
Opus 5.5 $0.01224 $0.01224
Sonnet 5.5 $0.00612 $0.00612
Haiku 4.5 $0.00306 $0.00306

Measured 23d ago against content hash 1a5bf791ce5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

elements AGENTS.md scanned grade C with 2 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 23d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl https://mise.run | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://mise.run | sh
AGENTS.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

This file provides guidance to AI Agents when working with code in this repository.

Instruction Precedence for Agents

When instructions conflict, follow this order (highest to lowest):

  1. Runtime or platform constraints from the agent host
  2. Repository agent rules in AGENTS.md
  3. Task-specific skill instructions in .claude/skills/*/SKILL.md
  4. Documents explicitly required by a selected skill (for example, docs in projects/site/src/docs/internal/guidelines/)
  5. General project documentation such as README.md

Notes:

  • README.md is primarily for orientation and setup; it does not override agent policy.
  • If a skill says you MUST review a referenced guideline, treat that guideline as required for that task.
  • If two same-level sources conflict, prefer the more specific and recently maintained source, and note the assumption in your response.

Repository Overview

Elements is a design language for AI/ML factories built as a monorepo containing framework agnostic Web Components (Lit), themes, styles, testing utilities, and starter templates. The repository uses pnpm workspaces with Wireit for build orchestration and Semantic Release for automated versioning/publishing.

Environment Requirements

  • mise: Toolchain manager for local development and CI (mise.toml)
  • Node.js: Version managed via mise and validated against .nvmrc and package.json engines
  • pnpm: Version managed via mise and validated against package.json
  • Go: Version managed via mise for the Go starter
  • Git LFS: Required for visual test screenshots and videos (.gitattributes defines tracked files)
  • Playwright: Browser-based testing uses Chromium (installed via prepare script)
  • Vale: Prose linter for documentation and JSDoc (managed via mise)

Common Commands

Repository Setup

# Install required tools and run CI
curl https://mise.run | sh
# If mise is not on PATH yet, use ~/.local/bin/mise for the setup commands.
mise trust
mise run setup

Read the full file on GitHub · 287 lines

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. 23d ago Changed · +2 lines · +27 tokens per session 1a5bf791ce5e
  2. 1mo ago Changed · -32 tokens per session 5483bce0589a
  3. 1mo ago First seen · 285 lines · 3,066 tokens per session scan C 0aa4db324b02

Subscribe to this mod's changes

elements AGENTS.md is an instructions file published in the GitHub repository NVIDIA/elements (102 stars, last pushed today), licensed Apache-2.0. It adds 3,061 tokens to every session, about $0.0122 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

create-trimble-app typescript.instructions.md

Instructions for julianoczkowski/create-trimble-app, covering typescript patterns for modus components, event type casting, common event types, component ref types and modal ref pattern.

julianoczkowski/create-trimble-app · 583 tokens

create-trimble-app components.instructions.md

Instructions for julianoczkowski/create-trimble-app, covering modus wrapper component patterns, event handling pattern, state management, props pattern and modal implementation.

julianoczkowski/create-trimble-app · 442 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens