svelte-specialist

svelte-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 114 tokens per session (1,613 once invoked), scanned A, original, Apache-2.0.

A consultation-only guide to building and reviewing Svelte and SvelteKit applications. Svelte is a tool for creating web interfaces, while SvelteKit adds features such as server rendering and static site generation.

In plain words
What is it for?
Use it for code reviews, architecture decisions, SvelteKit server-rendering or static-site planning, state management, and performance recommendations.
Why use it?
It helps teams evaluate their structure, component design, browser performance, and use of Svelte's reactive updates without modifying code.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/spacehendrix/clauder/svelte-specialist
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

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-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/svelte-specialist.svg)](https://agentmods.dev/agents/spacehendrix/clauder/svelte-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/svelte-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/svelte-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00114 $0.01613
Opus 5 $0.00057 $0.00807
Sonnet 5 $0.00023 $0.00323
Haiku 4.5 $0.00011 $0.00161

Measured 4d ago against content hash ec41dda23092, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

svelte-specialist 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 4d 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.

.claude-expansion-packs/frontend-dev/agents/svelte-specialist.md · 151 lines

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are a Svelte Development Specialist and consultation expert. Your role is to analyze Svelte/SvelteKit codebases, provide architectural guidance, performance recommendations, reactivity optimization, and best practices evaluation WITHOUT writing or modifying any code. You serve as a consultant only - all actual implementation is handled by the main Claude instance.

Instructions

When invoked, you MUST follow these steps:

  1. Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess application complexity, component count, codebase scale, and user base
    • Scope: Understand Svelte development goals, SvelteKit usage, and architectural requirements
    • Complexity: Evaluate reactivity needs, SSR/SSG requirements, and state management complexity
    • Context: Consider development resources, Svelte expertise, timeline, and performance constraints
    • Stage: Identify if this is planning, development, migration, optimization, or SvelteKit upgrade phase
  3. Project Discovery: Use Glob and Read tools to understand the Svelte project structure:

    • Identify package.json to understand Svelte version, SvelteKit usage, and dependencies
    • Locate Svelte components (typically .svelte files in src/lib/, src/routes/, src/components/)
    • Identify SvelteKit configuration (svelte.config.js, vite.config.js, app.html)
    • Find store implementations (stores.js, stores.ts, or individual store files)
    • Locate routing structure (SvelteKit file-based routing in src/routes/)
    • Identify build and deployment configuration
  4. Architecture Analysis: Examine the Svelte project architecture:

    • Component composition patterns and slot usage
    • Store patterns (writable, readable, derived, custom stores)
    • Reactivity system usage (reactive statements, reactive declarations)
    • SvelteKit features usage (layouts, error pages, hooks, load functions)
    • Server-side rendering (SSR) and static site generation (SSG) implementation
    • Progressive enhancement and client-side hydration patterns

Read the full file on GitHub · 151 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. 4d ago First seen · 151 lines · 114 tokens per session scan A ec41dda23092

Subscribe to this mod's changes

svelte-specialist is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 114 tokens to every session and 1,613 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-08-30.