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 kouroshez/coding-os --skill sveltegit clone --depth 1 https://github.com/kouroshez/coding-osWrote 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/kouroshez/coding-os/svelte)<a href="https://agentmods.dev/skills/kouroshez/coding-os/svelte"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/svelte/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.
<a href="https://agentmods.dev/skills/kouroshez/coding-os/svelte"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/svelte.svg" alt="Reviewed on agentmods" width="80" 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.00111 | $0.01122 |
| Opus 5 | $0.00056 | $0.00561 |
| Sonnet 5 | $0.00022 | $0.00224 |
| Haiku 4.5 | $0.00011 | $0.00112 |
Grade A, and why
svelte 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
REQUIRED BACKGROUND: You MUST also follow the core frontend-fundamentals and clean-code skills. This skill adds SvelteKit-specific conventions on top.
svelte
Layer contract (matches structure.tree)
| Layer | May import | Never |
|---|---|---|
+page.svelte / components |
$lib components + stores, load data via props |
fetch in setup, server-only modules, secrets |
+page.ts / +layout.ts (universal) |
the injected fetch, public env |
$env/static/private, db clients, secrets |
+page.server.ts / +server.ts (server) |
db clients, private env, secrets | DOM, browser-only APIs |
$lib/stores/*.ts |
svelte/store primitives |
route modules, load results |
hooks.server.ts |
private env, the logger | per-route business logic |
Components stay presentational — data arrives as props from a load function —
so a fetch swap is a load-layer-only change and the component is unit-testable
without a network.
Routing & layout
- File-based routing only — a route is a directory under
routes/with a+page.svelte; never hand-wire a client router. Dynamic segments:routes/users/[id]/+page.svelte. +layout.svelteowns shared shell (nav, error boundary) and renders the page via{@render children()}; keep it a shell, not a logic host.
Load functions (data ownership)
+page.ts/+layout.ts(universal) run on server then client — use the injectedfetch, never the bare global (it double-fetches on hydration and skips SvelteKit's relative-URL + cookie handling).+page.server.ts/+layout.server.tsrun server-only — the place for db clients,$env/static/private, and any secret. Their return value is serialized to the client, so never return a secret from a serverload.- A component never fetches in its
<script>body; data flows in through theloadresult asdataprops.
Stores & state
- Local component state first (
$state/ plainlet); cross-component state in$lib/storesaswritable/derived, one store per file, per the state-management skill hierarchy — no module-level mutable singletons. - Subscribe with the
$storeauto-subscription in components; never manually.subscribe()without unsubscribing. - Do not mutate a store from inside a
loadfunction —loadreturns data, stores hold client state.
What ships with it
1 file 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.
- 5d ago First seen · 91 lines · 111 tokens per session scan A b888686b24da
svelte is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 111 tokens to every session and 1,122 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-09-03.
Other skills, from other repositories
micro-frontend-architect
Expert guide for designing Micro-Frontend architectures using Webpack Module Federation, Vite Federation, and Single-SPA for large scale Vue and React applications.
vue-frontend-expert
Expert guide for Vue 3 (Composition API), Nuxt 3, and Pinia. Covers advanced reactive state management, syntax, Vue Router, VueUse, and SPA/SSR architectural patterns in English and Indonesian.
web-3d-graphics-expert
Expert guide for WebGL and 3D graphics in the browser using Three.js, Babylon.js, React Three Fiber (R3F), and TresJS. Covers scene optimization, shaders, lighting, 3D model loading (GLTF/GLB), and performance tuning.
svelte-sveltekit-expert
Expert guide for Svelte 5 (Runes) and SvelteKit 2+ — fine-grained reactivity, server-first architecture, form actions, and SSR/SSG / Panduan ahli Svelte 5 (Runes) dan SvelteKit 2+ — reaktivitas fine-grained, arsitektur server-first, form actions, dan SSR/SSG.
component-forge
Build production-grade components for React, Vue 3, and Svelte 5 with all states (loading, empty, error, success, idle), TypeScript strict, WCAG 2.2 accessibility, server components (RSC), and compound component patterns. Includes scaffold script, reference patterns, and template files for React and Vue. Use when user…
mastermind-component-research
Ground a UI change in the codegraph before writing it — find whether the component already exists, who renders it, and what its props contract is. Use before creating or changing any React or Vue component; triggers "add a component", "change these props", "build this screen", or a Figma frame handed over for…