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 litestar-org/litestar-skills --skill litestar-vitegit clone --depth 1 https://github.com/litestar-org/litestar-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/litestar-org/litestar-skills/litestar-vite)<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-vite"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-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/litestar-org/litestar-skills/litestar-vite"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Tool Misuse · line 43 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
- medium Tool Misuse · line 74 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
- medium Tool Misuse · line 228 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
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.00057 | $0.03911 |
| Opus 5.5 | $0.00023 | $0.01564 |
| Sonnet 5.5 | $0.00011 | $0.00782 |
| Haiku 4.5 | $0.00006 | $0.00391 |
Grade A, and why
litestar-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 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 — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
litestar-vite
litestar-vite connects a Vite frontend pipeline to Litestar (litestar-vite 0.34.0 + litestar-vite-plugin): dev proxying, HMR, production manifest resolution, SSR/fragments, and OpenAPI/AsyncAPI TypeScript generation.
Canonical modes are spa, template, hybrid, and framework. Aliases htmx (template), inertia (hybrid), ssr/ssg (framework), and external (framework + ExternalDevServer) normalize at ViteConfig construction. ViteConfig is the source of truth: Python writes .litestar.json so vite.config.ts normally needs only litestar({ input: [...] }). See Release Updates.
Code Style Rules
- Python / TypeScript: PEP 604 unions (
T | None); consumer modules MAY usefrom __future__ import annotations. Strict TS,defineConfigfromvite, onevite.config.tsper project, no: any. - Single source of truth: Keep
bundleDir,hotFile, andassetUrlinViteConfig(via.litestar.json); omit JS overrides unless diverging intentionally. - Inertia (
mode="hybrid"): returnmsgspec.Struct(..., rename="camel")prop bags, passcsrfHeaders()increateInertiaApp({ defaults: { visitOptions } }), useuseForm, and read flashes from top-levelusePage().flash(neverusePage().props.flash).
Quick Reference
Minimal SPA setup
from litestar import Litestar
from litestar_vite import PathConfig, ViteConfig, VitePlugin
vite_config = ViteConfig(
mode="spa",
enabled=True,
paths=PathConfig(resource_dir="resources", bundle_dir="public", hot_file="hot"),
dev_mode=True,
)
app = Litestar(plugins=[VitePlugin(config=vite_config)])
// vite.config.ts (.litestar.json supplies bundleDir, hotFile, assetUrl, types)
import react from "@vitejs/plugin-react"
import litestar from "litestar-vite-plugin"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react(), !process.env.VITEST && litestar({ input: ["resources/main.tsx"] })].filter(Boolean),
resolve: { alias: { "@": "/resources" } },
})
What ships with it
11 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.
- references/config.md 22 KB
- references/deployment.md 6.7 KB
- references/hmr.md 5.1 KB
- references/inertia-advanced-patterns.md 10.0 KB
- references/inertia-deferred-and-merge-props.md 7.3 KB
- references/inertia.md 17 KB
- references/modes.md 20 KB
- references/release-updates.md 14 KB
- references/streams.md 8.4 KB
- references/troubleshooting.md 5.7 KB
- references/typegen.md 6.5 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.
- today Changed · -189 lines f362ea57bf9c
- 13d ago Changed · +2 lines 0393b8e03403
- 23d ago Changed e571e097aa41
- 1mo ago Changed · -262 lines e30173c5359c
- 1mo ago Changed cc9a50b9fb95
- 2mo ago Changed · -1 lines · -7 tokens per session ea215c3cb249
- 2mo ago Changed · +120 lines · +7 tokens per session e55929dc50b8
- 3mo ago First seen · 570 lines · 57 tokens per session scan A c863498095ef
litestar-vite is a skill published in the GitHub repository litestar-org/litestar-skills (19 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 3,911 once invoked, about $0.0002 per session on Opus 5.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-30.
litestar-vite compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| litestar-vitelitestar-org/litestar-skills | Skill | 19 | today | MIT | A | 57 | Claude Code |
| add-server-logicmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 83 | Claude Code |
| integrate-webapimicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 105 | Claude Code |
| add-cloud-flowmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 91 | Claude Code |
| integrate-backendmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 86 | Claude Code |
| migrate-webapi-selectallmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 141 | Claude Code |
| generate-codeful-mcp-toolmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 71 | Claude Code |