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 spinspire/pocketbase-sveltekit-starter --skill code-reusegit clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starterWrote 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/spinspire/pocketbase-sveltekit-starter/code-reuse)<a href="https://agentmods.dev/skills/spinspire/pocketbase-sveltekit-starter/code-reuse"><img src="https://agentmods.dev/badge/skills/spinspire/pocketbase-sveltekit-starter/code-reuse.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00109 | $0.02784 |
| Opus 5 | $0.00055 | $0.01392 |
| Sonnet 5 | $0.00022 | $0.00557 |
| Haiku 4.5 | $0.00011 | $0.00278 |
Grade A, and why
code-reuse 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 8d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Reuse
Proven, copy-ready code catalog from reference repos. Reuse before building from scratch.
Sources
| Repo | What to copy | Where it lives |
|---|---|---|
| pocketbase-sveltekit-starter | Frontend lib + components + PB JS hooks | sk/src/lib, pb/pb_hooks |
| spinspire/recipes | Frontend lib + components playground + multi-stack templates | sk/, pb/, py/, rs/ |
⚠️ Adapt, don't paste. These use SCSS + box-icons +
$app/stores+ some legacyexport let. Convert:$app/stores→$app/state, SCSS → oat-css/app.csstokens,export let→ runes ($props/$state/$derived). They are proven patterns, not drop-in code.
1. pocketbase-sveltekit-starter — frontend lib (sk/src/lib)
Core PB client (pocketbase/index.ts)
client— typed PocketBase instance (same-origin by default).authModel— readable store onclient.authStore.onChange; callsinvalidateAll()on auth flips.login(email, password, register?, rest?)— create-if-register thenauthWithPassword.logout()—authStore.clear().save<T>(collection, record, create?)— generic create/update; auto-converts to FormData when a value isFile/FileList(viaobject2formdata). Use for file uploads.watch<T>(idOrName, queryParams?, page?, perPage?, realtime?)→PageStore<T>— realtime paginated list store: subscribes tosubscribe("*"), maintainsresult.items(update=replace, create=append, delete=filter).PageStoreaddssetPage()/next()/prev(); unsubscribe tears down realtime. Good upgrade candidate for our host pool/queue lists.providerLogin(provider, authCollection)— OAuth2 login that backfillsname/avatarfrommeta.webauthnRegister/Login— passkey flow via@simplewebauthn/browser+/api/webauthn/*routes.
pocketbase/ui.ts
alertOnFailure(request)— wraps a PB request; surfaces top-levelmessage+ per-fielddataerrors viaalerts.error().
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.
- 8d ago First seen · 162 lines · 109 tokens per session scan A 0de05bcdb9b6
code-reuse is a skill published in the GitHub repository spinspire/pocketbase-sveltekit-starter (508 stars, last pushed 16d ago), licensed MIT. It adds 109 tokens to every session and 2,784 once invoked, about $0.0005 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.
Other skills, from other repositories
verify
Build/launch/drive recipe for verifying apps/docs changes at runtime (demos, docs pages, llms.txt).
mobile-web-app
Add router-agnostic, native app-like page transitions to mobile web apps with SSGOI. Explore live drill, sheet, slide, and zoom demos at https://ssgoi.dev. Use when building or improving a mobile web app's routed page structure, layouts, or transitions, or when a project uses SSGOI or an @ssgoi package.
sveltekit
SvelteKit - Full-stack Svelte framework with file-based routing, SSR/SSG, form actions, and adapters for deployment.
svelte
Svelte 5 - Reactive UI framework with compiler magic, Runes API, SvelteKit full-stack framework, SSR/SSG, minimal JavaScript.
svelte-expert
Expert knowledge in Svelte framework, SvelteKit, reactivity system, compiled approach, and building performant web applications. Use when the user mentions SvelteKit, reactivity, compiler, frontend, performance, or JavaScript, or when the task involves Svelte Fundamentals, Reactivity System, Installation and Setup, or…
svelte5-runes-static
Svelte 5 runes + SvelteKit adapter-static (SSG/SSR) patterns for hydration-safe state, store bridges, and reactivity that survives prerendering.