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.5 $0.00017 $0.04358
Sonnet 5.5 $0.00008 $0.02179
Haiku 4.5 $0.00004 $0.01090

Measured 1mo ago against content hash 4536394f8f82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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

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. 1mo 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 (24 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.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

code-review-php

Deep PHP-specific code review covering strict types, PHPStan compliance, PSR standards, domain modeling, and ORM boundary violations. Applied in addition to the generic code-review skill when PHP code is detected. Invoked when reviewing PHP PRs, Symfony/Laravel changes, or performing PHP-specific quality checks.

soulcodex/agentic · 66 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens

architecture-review

Analyze Python module architecture using pyscn - class coupling (CBO), cohesion (LCOM), dependency cycles, and module communities. Use when user asks about architecture, module structure, coupling, circular dependencies, or which files to review or change together.

ludo-technologies/pyscn · 53 tokens

seo

Free Google Search Console MCP server and CLI for AI agents. Reads your real Search Console, Google Analytics, Bing Webmaster Tools and Clicky data, plus DataForSEO and Ahrefs keyword research. Use it for any SEO question - why Google traffic or clicks dropped, organic traffic decline, quick wins, low CTR, striking…

iannuttall/seo · 134 tokens