svelte-vitals

svelte-vitals is a skill for Claude Code, Codex from oekazuma/svelte-vitals. It costs 42 tokens per session (10,896 once invoked), scanned A, a copy of improve-svelte, MIT.

A set of SvelteKit code-review rules and instructions for using the svelte-vitals scanner. SvelteKit is a framework for building web applications with Svelte.

In plain words
What is it for?
Use it when writing or reviewing SvelteKit pages, layouts, or components, then run the scanner to check changes and explain or safely dismiss reviewed findings.
Why use it?
It helps find problems involving search visibility, speed, correctness, security, structure, and accessibility while routes or components are being changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing or reviewing SvelteKit pages, layouts, or components, then run the scanner to check changes and explain or safely dismiss reviewed findings.

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

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 svelte-vitals

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oekazuma/svelte-vitals/svelte-vitals"><img src="https://agentmods.dev/badge/skills/oekazuma/svelte-vitals/svelte-vitals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,896 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 94% 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.00042 $0.10896
Opus 5 $0.00021 $0.05448
Sonnet 5 $0.00008 $0.02179
Haiku 4.5 $0.00004 $0.01090

Measured 12d ago against content hash 4536394f8f82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

svelte-vitals 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 12d 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

94% identical to improve-svelte — 342 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.

skills/svelte-vitals/SKILL.md · 149 lines

How it starts

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

svelte-vitals

When to use

Use this whenever you are writing or reviewing SvelteKit route files (+page.svelte, +layout.svelte) or components in this project — svelte-vitals statically checks SEO, performance, correctness, security, architecture, and accessibility patterns.

Playbook

  1. After writing or editing code, run npx svelte-vitals . --diff --reporter agent and fix any findings it reports.
  2. Before committing, run npx svelte-vitals . --staged as a pre-commit gate.
  3. For a rule's full rationale, configurable options and fix examples, run npx svelte-vitals explain <rule-id> (add --json for a structured object) or open its docs link below. The fix text for a specific finding comes from the run itself, not from explain — see the note above the rule digest.
  4. When a finding is correct by design — a reviewed {@html} that is already sanitized, a deliberate $effect — clear it with an inline directive instead of changing the code: <!-- svelte-vitals-disable-next-line <rule-id> --> on the line above in markup, or // svelte-vitals-disable-next-line <rule-id> inside <script>. Review it first; never suppress a finding you have not read.
  5. Exit codes: 0 nothing failing, 1 a critical finding (or your --fail-on/--min-health threshold), 2 the run itself failed — a 2 says nothing about the code, so never read it as a clean or dirty result.
  6. For anything else — reporters, the config file, scoping to a change, CI, monorepos — run npx svelte-vitals docs list and then npx svelte-vitals docs show <name>. Those guides ship inside the CLI, so they match the version installed here; prefer them over searching the web.

Rule digest

A Fix: below is the rule's canonical fix, the same for every occurrence. A line without one is not a rule without a fix — those rules word their fix per finding, so take it from the finding itself: recommendation on each issue in --reporter json, printed as Fix: by --reporter agent.

Read the full file on GitHub · 149 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. 12d ago First seen · 149 lines · 42 tokens per session scan A 4536394f8f82

Subscribe to this mod's changes

svelte-vitals is a skill published in the GitHub repository oekazuma/svelte-vitals (21 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 10,896 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to improve-svelte, differing in 342 lines, and is treated as a copy.

Related

Other skills, from other repositories

design-standards

Apply production-grade design standards when building or reviewing pages, components, or UI. Use this skill whenever the user asks to build a page, design a component, lay out a section, review the UI, fix the layout, or check design quality. Triggers on build a page, create a component, design a section, hero, card…

rampstackco/claude-skills · 122 tokens

vue-best-practices

A review checklist for Vue 2 and Vue 3 components, covering component names, prop declarations, TypeScript casts, API styles and complex template expressions.

liuyanghejerry/Clausura · 31 tokens

code-review

Review frontend code for best practices, bugs, and improvements. Use when reviewing PRs, checking code quality, or before committing.

echoVic/blade-code · 29 tokens

beautify-with-pingfusi

Beautify or redesign an existing website through iterative pingfusi review rounds with a real human reviewer. Use when asked to "beautify this website," "make this page look professional," "polish this UI/design," "improve the visual design," or finish an AI-built page when there is no reference site to match. Do not…

alex-durango/pingfusi · 95 tokens

fix-with-pingfusi

Fix or polish an existing website clone/draft using pingfusi review rounds. Use when the user says "fix it with pingfusi", "polish this clone", "make this match the original", or asks to finish/verify a draft built by any tool (ditto, lovable, v0, hand-written) until the review passes.

alex-durango/pingfusi · 78 tokens

nextjs

Use when building, reviewing, testing, securing, or optimizing a Next.js App Router app: Server vs Client boundaries, use server actions, route handlers, the v15 vs v16 use cache caching model, metadata/SEO, auth, and Core Web Vitals. NOT framework-agnostic React or a Vite SPA (that is react), and NOT visual/UI design…

ericrisco/rsc-harness · 90 tokens