vite-core-architecture

vite-core-architecture is a skill for Claude Code from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 135 tokens per session (2,383 once invoked), scanned A, original, MIT.

A guide to how Vite works differently during development and production. In development it serves modules directly for quick updates; for production it combines and optimizes them into build output.

In plain words
What is it for?
Use it when setting up Vite, explaining its architecture, choosing settings for a particular Vite version, or diagnosing differences between development and production.
Why use it?
It prevents confusing development behavior with the production build process and helps avoid version-specific configuration mistakes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it when setting up Vite, explaining its architecture, choosing settings for a particular Vite version, or diagnosing differences between development and production.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture
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.

Any agent
npx skills add OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill vite-core-architecture
Clone the repo
git clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer

Made for: Claude Code.

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 vite-core-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture/github.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture/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 vite-core-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-core-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00135 $0.02383
Opus 5 $0.00068 $0.01192
Sonnet 5 $0.00027 $0.00477
Haiku 4.5 $0.00014 $0.00238

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

Security

Grade A, and why

vite-core-architecture 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 12d 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.

.claude/skills/vite/vite-core/vite-core-architecture/SKILL.md · 232 lines

How it starts

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

vite-core-architecture

Quick Reference

Two-Mode Architecture

Vite operates as two completely different systems depending on context:

Aspect Dev Server (vite) Production Build (vite build)
Strategy Native ESM, no bundling Full bundle via Rolldown/Rollup
Module delivery Individual files over HTTP Optimized chunks
Transform tool (v8) Oxc Oxc
Transform tool (v5-7) esbuild esbuild
Bundler (v8) None (native ESM) Rolldown
Bundler (v5-7) None (native ESM) Rollup
Speed priority Instant startup + HMR Optimized output size
Browser target esnext baseline-widely-available

Internal Tools Evolution

Version Dev Transform Dev Pre-bundling Production Bundler CSS Minification JS Minifier
Vite 5 esbuild esbuild Rollup esbuild esbuild
Vite 6 esbuild esbuild Rollup esbuild/lightningcss esbuild
Vite 7 esbuild esbuild Rollup esbuild/lightningcss esbuild
Vite 8 Oxc Rolldown Rolldown Lightning CSS Oxc (30-90x faster than Terser)

Node.js Requirements

Vite Version Minimum Node.js
v5, v6 18+
v7+ 20.19+ or 22.12+

Browser Support Targets

Context Target Meaning
Dev server esnext Latest JavaScript/CSS features, no transpilation
Production (v8 default) baseline-widely-available Chrome 111, Edge 111, Firefox 114, Safari 16.4
Production (v7 default) baseline-widely-available Chrome 107, Edge 107, Firefox 104, Safari 16.0
Legacy browsers @vitejs/plugin-legacy Generates polyfilled fallback bundles

Critical Warnings

NEVER set envPrefix to '' -- this exposes ALL environment variables (including secrets like DB_PASSWORD) to client-side code.

Read the full file on GitHub · 232 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 232 lines · 135 tokens per session scan A f86c0defda4e

Subscribe to this mod's changes

vite-core-architecture is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (5 stars, last pushed 5mo ago), licensed MIT. It adds 135 tokens to every session and 2,383 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

massing-bim

Drive a Massing BIM/AEC project from an AI agent over MCP — read a project's status, records, CDE, KPI and model-quality checks; run standards-compliance, schedule-risk, embodied-carbon, permit- readiness and drawing-QA analyses; author the IFC model with GUID-stable recipes; and draft RFIs. Use when the user asks to…

ibuilder/massing · 90 tokens

ara3d-sdk

Use when processing AEC/BIM 3D data in .NET 8 — mesh generation and transformation, SIMD-accelerated math, IFC/STEP/PLY to glTF/GLB/VIM conversion, plugin development. Ara3D-SDK: high-performance .NET 3D geometry and BIM library suite.

znlgis/opengis-skills · 70 tokens

elements

Use when generating building information models (BIM) programmatically in C#/.NET — wall, beam, column, floor creation, geometry kernel (BREP/CSG), glTF/IFC/JSON serialization, MEP systems, spatial grids. Hypar Elements: the smallest useful BIM — a cross-platform C# library for creating building elements without…

znlgis/opengis-skills · 81 tokens

3d-skills

Use when working with 3D Gaussian Splatting (3DGS), .ply model cleanup/compression/publishing, interactive 360-degree panorama visualization and virtual tours, AEC/BIM 3D data processing, or CSG solid modeling. Index of 5 skills: SuperSplat, Photo-Sphere-Viewer, Ara3D-SDK, Elements, and OpenCSG.NET.

znlgis/opengis-skills · 86 tokens

aios-arch

A workflow for reviewing software architecture, including service boundaries, technical choices, data and model boundaries, AI workflows, reliability, and long-term complexity.

ArchSightLabs/archsight-aios · 57 tokens

aios-product

A product-management workflow for turning an approved direction into a defined software version with a product brief, priorities, acceptance measures, pilot or user-acceptance testing, and handover details.

ArchSightLabs/archsight-aios · 76 tokens