bedrock: Skill for Claude Code

.agents/skills/vite/SKILL.md

vite is a skill for Claude Code, Codex from christopher-buss/bedrock. It costs 49 tokens per session (656 once invoked), scanned A, a copy of vite, MIT.

A configuration guide for Vite, a frontend build tool that runs a development server and prepares web code for production. It covers Vite projects, plugins, server-side rendering, and the Vite 8 migration.

In plain words
What is it for?
Use it when setting up vite.config.ts, creating Vite plugins, building libraries, or working on server-rendered applications.
Why use it?
It helps avoid guessing how Vite configuration, plugins, and newer build changes work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is christopher-buss/bedrock's own configuration. It tells Claude Code and Codex how to work on bedrock 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 bedrock configures →

Reuse

Borrowing it

Nothing to install: this file belongs to christopher-buss/bedrock. 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/christopher-buss/bedrock/main/.agents/skills/vite/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/christopher-buss/bedrock

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/christopher-buss/bedrock/vite/github.svg)](https://agentmods.dev/skills/christopher-buss/bedrock/vite)
Your own site
<a href="https://agentmods.dev/skills/christopher-buss/bedrock/vite"><img src="https://agentmods.dev/badge/skills/christopher-buss/bedrock/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.

agentmods 80×15 button for vite

Your own site · 80×15
<a href="https://agentmods.dev/skills/christopher-buss/bedrock/vite"><img src="https://agentmods.dev/badge/skills/christopher-buss/bedrock/vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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 100% copy Near-identical to another mod 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.00049 $0.00656
Opus 5.5 $0.00020 $0.00262
Sonnet 5.5 $0.00010 $0.00131
Haiku 4.5 $0.00005 $0.00066

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

Security

Grade A, and why

vite 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 1mo 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.

Origin

This is a copy

100% identical to vite — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/vite/SKILL.md · 73 lines

How it starts

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

Vite

Based on Vite 8 beta (Rolldown-powered). Vite 8 uses Rolldown bundler and Oxc transformer.

Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.

Preferences

  • Use TypeScript: prefer vite.config.ts
  • Always use ESM, avoid CommonJS

Core

Topic Description Reference
Configuration vite.config.ts, defineConfig, conditional configs, loadEnv core-config
Features import.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR API core-features
Plugin API Vite-specific hooks, virtual modules, plugin ordering core-plugin-api

Build & SSR

Topic Description Reference
Build & SSR Library mode, SSR middleware mode, ssrLoadModule, JavaScript API build-and-ssr

Advanced

Topic Description Reference
Environment API Vite 6+ multi-environment support, custom runtimes environment-api
Rolldown Migration Vite 8 changes: Rolldown bundler, Oxc transformer, config migration rolldown-migration

Quick Reference

CLI Commands

vite              # Start dev server
vite build        # Production build
vite preview      # Preview production build
vite build --ssr  # SSR build

Common Config

import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [],
  resolve: { alias: { '@': '/src' } },
  server: { port: 3000, proxy: { '/api': 'http://localhost:8080' } },
  build: { target: 'esnext', outDir: 'dist' },
})

Official Plugins

  • @vitejs/plugin-vue - Vue 3 SFC support
  • @vitejs/plugin-vue-jsx - Vue 3 JSX
  • @vitejs/plugin-react - React with Oxc/Babel
  • @vitejs/plugin-react-swc - React with SWC
  • @vitejs/plugin-legacy - Legacy browser support

Read the full file on GitHub · 73 lines

Files

What ships with it

7 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. 1mo ago First seen · 73 lines · 49 tokens per session scan A 3cb7a75336e3

Subscribe to this mod's changes

vite is a skill published in the GitHub repository christopher-buss/bedrock (19 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 656 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to vite, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

x-demand-radar

A radar for spotting fast-rising topics, tools, and projects on X, the social network formerly known as Twitter.

kennyzir/7deer_skills · 139 tokens

roblox-homepage-ranking-auditor

Audit a Roblox or game-site homepage against the RB Auto Golden Homepage model. Use when Codex must inspect a live homepage or repository, identify the primary player job and main engine, score structural ranking potential across eight dimensions, detect empty query modules, weak information gain, root/child intent…

kennyzir/7deer_skills · 120 tokens

null-axiom-twitter

A writing tool that creates Twitter/X posts and threads in the Null Axiom persona, with a style aimed at indie developers and data-focused investigators. It can also draft replies to Twitter/X posts and send drafts to Feishu for review on a schedule.

kennyzir/7deer_skills · 129 tokens

roblox-site-architect

Orchestrate an evidence-backed seven-stage Roblox site growth pipeline from opportunity assessment through keyword research, source collection, site planning, SEO QA, freshness, and growth. Use when work needs staged artifacts and explicit handoffs rather than a one-click site generator.

kennyzir/7deer_skills · 57 tokens

site-keyword-research

A website keyword-research workflow that studies what people search for, expands related terms, and analyses competition in search results.

kennyzir/7deer_skills · 131 tokens

youtube-intel

A Chinese-language research workflow for YouTube channels and competing content. It monitors channel updates and searches a defined topic area for content opportunities and competition.

kennyzir/7deer_skills · 88 tokens