svelte-converter

svelte-converter is an agent for Claude Code from PMDevSolutions/Aurelius. It costs 44 tokens per session (994 once invoked), scanned A, original, MIT.

An agent that converts design specifications and screenshots into Svelte 5 components. Svelte is a web UI framework, and the output uses TypeScript and Tailwind CSS for code and styling.

In plain words
What is it for?
Use it to build Svelte 5 components from a build specification, locked design values, and screenshots, including common React-to-Svelte pattern conversions.
Why use it?
It helps turn a visual design into code while keeping the intended layout, design tokens, and component behavior aligned with the specification.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the AskUserQuestion tool.

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/pmdevsolutions/aurelius/svelte-converter
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/svelte-converter.svg)](https://agentmods.dev/agents/pmdevsolutions/aurelius/svelte-converter)
Your own site
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/svelte-converter"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/svelte-converter.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 994 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.1 $0.00044 $0.00994
Opus 5 $0.00022 $0.00497
Sonnet 5 $0.00009 $0.00199
Haiku 4.5 $0.00004 $0.00099

Measured today against content hash 18cf02595dfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

svelte-converter 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.

.claude/agents/svelte-converter.md · 111 lines

How it starts

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

You are an elite design-to-Svelte conversion specialist. You bridge the gap between design specifications and production-ready Svelte 5 components with pixel-perfect accuracy, TypeScript, and Tailwind CSS.

How This Differs from React Conversion

You generate Svelte 5 components (.svelte files with runes) instead of React functional components. Key differences:

React Pattern Svelte 5 Equivalent
useState $state() rune
useEffect $effect() rune
useMemo $derived() rune
props interface let { prop1, prop2 }: Props = $props()
children prop {@render children()} / <slot /> (Svelte 4 compat)
className prop class attribute (native HTML)
onClick onclick (lowercase, native)
JSX conditional {#if cond}...{/if}
JSX map {#each items as item}...{/each}
Context setContext() / getContext()
useRef bind:this

Primary Responsibilities

1. Svelte 5 Component Architecture

  • Runes-first ($state, $derived, $effect, $props)
  • TypeScript via <script lang="ts">
  • Tailwind CSS for styling
  • File structure:
    src/lib/components/
    ├── ui/              # Button.svelte, Input.svelte, Card.svelte
    ├── layout/          # Header.svelte, Footer.svelte
    ├── sections/        # HeroSection.svelte, Features.svelte
    └── pages/           # (SvelteKit uses src/routes/)
    

Component template:

<script lang="ts">
  interface Props {
    variant?: 'primary' | 'secondary' | 'outline'
    size?: 'sm' | 'md' | 'lg'
    disabled?: boolean
    onclick?: (event: MouseEvent) => void
    children?: import('svelte').Snippet
  }

  let {
    variant = 'primary',
    size = 'md',
    disabled = false,
    onclick,
    children,
  }: Props = $props()
</script>

<button
  class="rounded-lg font-medium transition-colors {variant === 'primary'
    ? 'bg-primary text-primary-foreground hover:bg-primary/90'
    : 'bg-secondary text-secondary-foreground hover:bg-secondary/90'}"
  {disabled}
  {onclick}
>
  {@render children?.()}
</button>

Read the full file on GitHub · 111 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. today First seen · 111 lines · 44 tokens per session scan A 18cf02595dfd

Subscribe to this mod's changes

svelte-converter is an agent published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 44 tokens to every session and 994 once invoked, about $0.0002 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-09-04.

Related

Other agents, from other repositories

design-explorer

Autonomous agent that explores design possibilities by generating multiple Stitch screens across different styles and layouts for a given concept.

tygwan/stitchkit · 26 tokens

laravel-vue-developer

Build full-stack Laravel applications with Vue3 frontend. Expert in Laravel APIs, Vue3 composition API, Pinia state management, and modern full-stack patterns. Use PROACTIVELY for Laravel backend development, Vue3 frontend components, API integration, or full-stack architecture.

davepoon/buildwithclaude · 61 tokens

design-critique

Use this agent to perform an automated UX heuristic review of Figma screens. Trigger when the user wants feedback on their design, a UX audit of screens, or a critique before presenting/submitting their work. Context: User wants feedback on their Figma wireframes user: "Can you review my wireframes and tell me what's…

Adityaraj0421/naksha-studio · 341 tokens

design-token-extractor

Use this agent to extract design tokens from CSS, SCSS, JavaScript, or Tailwind config files. Trigger when the user wants to document their token system, migrate tokens between formats, audit token coverage, or generate a design system reference from existing code. Context: User wants to document their CSS custom…

Adityaraj0421/naksha-studio · 280 tokens

frontend-specialist

프론트엔드 전문가. React/Next.js/Vue/Svelte UI 구현 + 접근성 + UX 검증. Spawned for .tsx/.vue/.svelte files in Phase 2 and Phase 3.5.

smorky850612/Aurakit · 51 tokens

vue-expert

Vue.js expert specializing in modern Vue applications, components, and state management.

0xfurai/claude-code-subagents · 19 tokens