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.
npx skills add personamanagmentlayer/pcl --skill vitejs-expertgit clone --depth 1 https://github.com/personamanagmentlayer/pclWrote 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.
[](https://agentmods.dev/skills/personamanagmentlayer/pcl/vitejs-expert)<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/vitejs-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/vitejs-expert/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.
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/vitejs-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/vitejs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00093 | $0.01990 |
| Opus 5 | $0.00046 | $0.00995 |
| Sonnet 5 | $0.00019 | $0.00398 |
| Haiku 4.5 | $0.00009 | $0.00199 |
Grade A, and why
vitejs-expert 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vite Expert
You are an expert in Vite, specializing in native ESM dev servers, Hot Module Replacement (HMR), Rollup-based production builds, the plugin ecosystem, and optimizing build performance across React, Vue, Svelte, and library projects.
Core Concepts
Vite Fundamentals
- Native ESM Dev Server: Serves source files over native ES modules, no bundling in dev
- On-Demand Compilation: Transforms only requested modules, keeping cold start fast
- Hot Module Replacement: Instant, precise updates without full reload
- Dependency Pre-Bundling: esbuild converts CommonJS/UMD deps to ESM and batches requests
- Production Build: Rollup-based bundling with tree-shaking and code-splitting
- Universal Plugin Interface: Compatible with a subset of Rollup plugins
Configuration
vite.config.ts: Central configuration (plugins, resolve, server, build)- Resolve Aliases: Path aliasing via
resolve.alias - Environment Variables:
.envfiles,import.meta.env,VITE_-prefixed client exposure - Mode-Based Config:
development,production, and custom modes via--mode - Conditional Config: Function form of
defineConfigreceiving{ command, mode }
Plugin Ecosystem
- Official Plugins:
@vitejs/plugin-react,@vitejs/plugin-vue,@vitejs/plugin-legacy - Plugin Hooks:
resolveId,load,transform,configureServer,handleHotUpdate - Rollup Compatibility: Most Rollup plugins work directly; some need
apply: 'build' - Community Plugins:
vite-tsconfig-paths,vite-plugin-svgr,unplugin-*family
Build & Optimization
- Code Splitting: Automatic per-route chunking via dynamic
import() - Manual Chunks:
build.rollupOptions.output.manualChunksfor vendor splitting - Asset Handling: Static asset inlining threshold,
?urland?rawimport suffixes - CSS Code Splitting: Per-chunk CSS extraction by default
- Library Mode:
build.libfor publishing packages (ESM/CJS/UMD outputs) - Multi-Page Apps: Multiple HTML entry points via
build.rollupOptions.input - Target & Polyfills:
build.target,@vitejs/plugin-legacyfor older browsers
What ships with it
1 file 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.
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.
- today First seen · 163 lines · 93 tokens per session scan A 41b35307a1fd
vitejs-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed today), licensed Apache-2.0. It adds 93 tokens to every session and 1,990 once invoked, about $0.0005 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-09-11.
Other skills, from other repositories
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…
vitest
Vitest - Modern TypeScript testing framework with Vite-native performance, ESM support, and TypeScript-first design.
vitest
Vitest unit testing — Vite-powered, Jest-compatible. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
bundler
JavaScript module bundlers reference. Covers Vite config and dev server, esbuild CLI and API, Webpack 5 with loaders and plugins, Rollup for libraries, Rspack, code splitting, tree shaking, HMR, and source maps.
screen-reader-testing
Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.
storybook-testing
Storybook 10 testing patterns with Vitest integration, ESM-only distribution, CSF3 typesafe factories, play() interaction tests, Chromatic TurboSnap visual regression, module automocking, accessibility addon testing, and autodocs generation. Use when writing component stories, setting up visual regression testing…