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 xobotyi/cc-foundry --skill sveltegit clone --depth 1 https://github.com/xobotyi/cc-foundryWrote 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/xobotyi/cc-foundry/svelte)<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/svelte"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/svelte.svg" alt="Measured on agentmods" height="20"></a>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.00060 | $0.03542 |
| Opus 5 | $0.00030 | $0.01771 |
| Sonnet 5 | $0.00012 | $0.00708 |
| Haiku 4.5 | $0.00006 | $0.00354 |
Grade B, and why
svelte scanned grade B with 1 finding 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 7d 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- Don't lecture -- state what's wrong and how to fix it. How it starts
The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Svelte
Reactivity is explicit, compiler-driven, and minimal-runtime. Every reactive declaration uses a $ rune. The
compiler transforms declarative code into surgical DOM updates -- no virtual DOM, no diffing, no hidden magic.
References contain extended examples, rationale, and edge cases for each topic.
References
- Runes — [
${CLAUDE_SKILL_DIR}/references/runes.md]:$state,$derived,$effect,$props,$bindabledetails - Components — [
${CLAUDE_SKILL_DIR}/references/components.md]: Snippets, events, context, special elements - SvelteKit — [
${CLAUDE_SKILL_DIR}/references/sveltekit.md]: Routing, load functions, form actions, hooks, imports
Runes
$state
- Every mutable reactive value must use
$stateor$state.raw. Plainletdeclarations are not reactive. - Arrays and plain objects become deeply reactive proxies. Mutations trigger granular updates.
- Destructuring
$stateobjects breaks reactivity -- destructured values are snapshots, not live references. - Use
$stateon class fields or as first assignment in constructor. The compiler transforms these into getter/setter pairs. Use arrow functions to preservethisin event handlers on classes. $state.rawopts out of deep reactivity -- state can only be reassigned, not mutated. Use for large arrays/objects you replace wholesale to avoid proxy overhead.$state.snapshot(value)takes a static copy of a reactive proxy for external APIs that don't expect proxies (e.g.,structuredClone, logging).- Import reactive
Set,Map,Date,URLfromsvelte/reactivitywhen you need reactive built-in types.
Sharing State Across Modules
Cannot directly export reassignable $state. Two patterns:
- Object property (preferred): export
$state({ count: 0 })as a const, mutate properties, export modifier functions. - Getter function: keep
$stateprivate, exportgetCount()andincrement().
Runes only work in .svelte and .svelte.js/.svelte.ts files.
What ships with it
4 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.
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.
- 7d ago First seen · 324 lines · 60 tokens per session scan B dc934d37a5fd
svelte is a skill published in the GitHub repository xobotyi/cc-foundry (20 stars, last pushed 4d ago), licensed MIT. It adds 60 tokens to every session and 3,542 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
shadcn-svelte
Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
v3-create-crud
A page generator for standard create, read, update, and delete screens, commonly called CRUD screens. It uses Element Plus, a Vue user-interface library, to build tables, searches, pagination, forms, and delete confirmations.
v3-use-composables
Documentation for reusable Vue functions in a project, covering device detection, asynchronous dropdown data, loading screens, pagination, routing, themes, page titles, and watermarks.
moai-domain-uiux
UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.
moai-domain-frontend
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.