vite-advanced

vite-advanced is a skill for Claude Code from yonatangross/orchestkit. It costs 52 tokens per session (1,684 once invoked), scanned C, original, MIT.

A set of advanced patterns for configuring Vite 8, a tool that builds and serves modern web applications. It covers custom build pipelines, plugins, server-side rendering, library builds, and builds for multiple environments.

In plain words
What is it for?
It is for configuring advanced Vite builds, writing plugins, splitting output, setting up server-side rendering, and migrating from Vite 7 to Vite 8.
Why use it?
It helps developers adapt Vite's newer Rolldown-based build system instead of relying on outdated configuration patterns.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; mentions Claude Code.

Part of the ork plugin — 106 skills, 35 commands, 36 agents, 32 hooks shipped together

Good fit It is for configuring advanced Vite builds, writing plugins, splitting output, setting up server-side rendering, and migrating from Vite 7 to Vite 8.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/vite-advanced
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 yonatangross/orchestkit --skill vite-advanced
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 106 skills, 35 commands, 36 agents, 32 hooks.

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-advanced

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/vite-advanced.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/vite-advanced)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/vite-advanced"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/vite-advanced.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,684 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00052 $0.01684
Opus 5 $0.00026 $0.00842
Sonnet 5 $0.00010 $0.00337
Haiku 4.5 $0.00005 $0.00168

Measured yesterday against content hash 98ba1dd33e1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

vite-advanced scanned grade C with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/custom-plugin.ts, scripts/library-config.ts, scripts/multi-environment-config.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules/.vite && vite --force
plugins/ork/skills/vite-advanced/SKILL.md · 151 lines

How it starts

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

Vite Advanced Patterns

A wrapper around Vite 8 (Rolldown-powered), not a copy of its documentation. Vite's own docs are the source of truth for config keys, API surface, and migration mechanics. This skill carries the house delta plus four enforceable rules.

Vite 8 replaces the esbuild+Rollup pipeline with Rolldown (Rust-based unified bundler) and is the default for new projects. advancedChunks supersedes manualChunks; build.rollupOptions becomes build.rolldownOptions.

Upstream coverage (do not restate)

Fetch these from Vite rather than expecting them here. Rows marked with a rule keep a narrower, enforceable house subset in that rule file: read the rule for the house position, fetch the doc for the full API.

Topic Fetch from
Vite 7 to 8 migration: rolldownOptions, transformWithOxc, moduleType: 'js', removed hooks and output formats, browser target bumps https://vite.dev/guide/migration
Rolldown adoption path, rolldown-vite, Oxc, advancedChunks group syntax (house subset stays in rules/vite-advanced-chunks.md) https://vite.dev/guide/rolldown
Build options: target, minify, sourcemap, cssCodeSplit, cssMinify, assetsInlineLimit, chunkSizeWarningLimit https://vite.dev/config/build-options
Dependency pre-bundling and optimizeDeps include/exclude/force https://vite.dev/guide/dep-pre-bundling
SSR: client and server entry points, middleware-mode dev server, production server wiring, streaming https://vite.dev/guide/ssr
Environment API config and per-environment build output (house subset stays in rules/vite-environments.md) https://vite.dev/guide/api-environment
Environment API for plugins: this.environment, perEnvironmentPlugin, applyToEnvironment https://vite.dev/guide/api-environment-plugins
Environment API for frameworks: createBuilder, buildApp, ModuleRunner https://vite.dev/guide/api-environment-frameworks
Plugin hook reference, virtual modules, enforce/apply, handleHotUpdate (house subset stays in rules/vite-plugin-hooks.md) https://vite.dev/guide/api-plugin
Env variables and modes, .env files, the VITE_ prefix https://vite.dev/guide/env-and-mode
Deploying a static site and verifying with vite preview https://vite.dev/guide/static-deploy

Read the full file on GitHub · 151 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. yesterday Changed 98ba1dd33e1e
  2. 3d ago First seen · 151 lines · 52 tokens per session scan C d21c16a5e1eb

Subscribe to this mod's changes

vite-advanced is a skill published in the GitHub repository yonatangross/orchestkit (231 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,684 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

webpack-docs

Skill "webpack-docs" from pledgeandgrow/pledge-skills, covering webpack skill, quick reference, core concepts, webpack versions and environment requirements.

pledgeandgrow/pledge-skills · 30 tokens

vite-docs

Use this skill whenever the user asks about Vite, build tools, dev servers, HMR, production builds, or frontend tooling. Covers Vite 8.x with Rolldown and Oxc, including plugins, SSR, Environment API, library mode, deployment, and configuration. Use it for code generation, architecture decisions, debugging, migration…

pledgeandgrow/pledge-skills · 117 tokens

react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. 57 rules across 8 categories for writing, reviewing, and refactoring React code.

wpank/ai · 37 tokens

contentful-nextjs

Add and configure Contentful in an existing Next.js project. Covers installing the JavaScript SDK, configuring environment variables, creating production and preview-aware clients, fetching content in App Router or Pages Router, and wiring Draft Mode preview flows. Use when users ask to integrate Contentful with…

contentful/skills · 196 tokens

use

Reach Anthropic's first-party playground capability in one step: verify the upstream playground plugin is installed, invoke its skill for interactive single-file HTML explorers (controls beside a live preview, output is a prompt you paste back), or emit the exact install commands when it is absent. Use when: 'make me…

melodic-software/claude-code-plugins · 183 tokens

contentful-custom-app-enhancement

Improve, debug, and extend an existing Contentful App Framework custom app in a customer's own repository. Use when users provide a bug report, feature request, support note, customer feedback, or direct change request for an existing custom app, including app configuration, sidebar, field editor, dialog, page, home…

contentful/skills · 167 tokens