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 pledgeandgrow/pledge-skills --skill vitegit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote 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/pledgeandgrow/pledge-skills/vite)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/vite"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/vite/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/pledgeandgrow/pledge-skills/vite"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/vite.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.00117 | $0.00988 |
| Opus 5 | $0.00059 | $0.00494 |
| Sonnet 5 | $0.00023 | $0.00198 |
| Haiku 4.5 | $0.00012 | $0.00099 |
Grade A, and why
vite-docs 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vite
Vite is a next-generation frontend build tool that provides a fast development server and optimized production builds. It uses native ES modules for dev and Rolldown for production bundling.
Version: Vite 8.x (Rolldown-based, Oxc transformer)
Quick Reference
| Topic | File |
|---|---|
| Getting Started (scaffolding, CLI, project root) | getting-started.md |
| Philosophy (why Vite, design principles) | philosophy.md |
| Features (HMR, CSS, TypeScript, JSX, Web Workers, WASM) | features.md |
| CLI (commands, options, flags) | cli.md |
| Using Plugins (adding, finding, ordering) | plugins.md |
| Dependency Pre-Bundling (caching, customization) | dep-pre-bundling.md |
| Static Asset Handling (imports, public dir, URL) | assets.md |
| Building for Production (chunking, multi-page, library mode) | build.md |
| Deploying a Static Site (GitHub Pages, Netlify, Vercel, Cloudflare) | deploy.md |
| Env Variables and Modes (.env files, NODE_ENV) | env-and-mode.md |
| Server-Side Rendering (SSR config, SSG) | ssr.md |
| Backend Integration (API proxying, monorepo) | backend-integration.md |
| Troubleshooting (common issues, fixes) | troubleshooting.md |
| Performance (optimization, tuning) | performance.md |
| Migration from v7 (breaking changes, Rolldown) | migration.md |
| Plugin API (hooks, authoring plugins) | plugin-api.md |
| HMR API (hot.accept, hot.dispose, hot.invalidate) | hmr-api.md |
| JavaScript API (createServer, build, transform) | javascript-api.md |
| Config Reference (vite.config.ts full reference) | config-reference.md |
| Environment API (instances, plugins, runtimes) | environment-api.md |
Core Concepts
- Dev Server: Native ESM-based dev server with instant server start and HMR
- Build: Rolldown-based production bundling with code splitting and tree-shaking
- HMR: Hot Module Replacement over native ESM — precise updates without page reload
- Plugins: Rollup-compatible plugin system with Vite-specific hooks
- Dependency Pre-Bundling: Pre-bundles dependencies with Rolldown for fast cold starts
- Environment API: Multi-environment support (client, SSR, worker, custom runtimes)
What ships with it
20 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.
- assets.md 2.3 KB
- backend-integration.md 4.2 KB
- build.md 4.6 KB
- cli.md 5.4 KB
- config-reference.md 18 KB
- dep-pre-bundling.md 2.5 KB
- deploy.md 4.1 KB
- env-and-mode.md 3.7 KB
- environment-api.md 15 KB
- features.md 6.3 KB
- getting-started.md 3.0 KB
- hmr-api.md 3.8 KB
- javascript-api.md 4.2 KB
- migration.md 4.9 KB
- performance.md 3.6 KB
- philosophy.md 2.6 KB
- plugin-api.md 6.7 KB
- plugins.md 3.3 KB
- ssr.md 4.4 KB
- troubleshooting.md 3.9 KB
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.
- 7d ago First seen · 101 lines · 117 tokens per session scan A 8ce6f73d3401
vite-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 988 once invoked, about $0.0006 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-03.
Other skills, from other repositories
vitejs-expert
Expert knowledge in Vite build tooling, native ESM dev servers, Hot Module Replacement, Rollup-based production builds, and the Vite plugin ecosystem for React, Vue, Svelte, and library projects. Use when the user mentions Vite, vite.config, HMR, ESM dev server, Rollup, or Vitest, or when the task involves Vite…
vite-advanced
Advanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build optimization. Use when customizing build pipelines, creating plugins, or configuring multi-environment builds.
tsdown-migrate
Migrate TypeScript library projects from tsup to tsdown. Provides complete option mappings, config transformation rules, default value differences, and unsupported option alternatives so AI agents can intelligently perform migrations.
tsdown
Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
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.
slidev
Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.