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 fubits1/svelte-skills --skill doc-componentgit clone --depth 1 https://github.com/fubits1/svelte-skillsWrote 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/fubits1/svelte-skills/doc-component)<a href="https://agentmods.dev/skills/fubits1/svelte-skills/doc-component"><img src="https://agentmods.dev/badge/skills/fubits1/svelte-skills/doc-component/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/fubits1/svelte-skills/doc-component"><img src="https://agentmods.dev/badge/skills/fubits1/svelte-skills/doc-component.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.00045 | $0.00779 |
| Opus 5.5 | $0.00018 | $0.00312 |
| Sonnet 5.5 | $0.00009 | $0.00156 |
| Haiku 4.5 | $0.00005 | $0.00078 |
Grade A, and why
doc-component 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 11d 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document Svelte Component
ALWAYS respect
frontend:editingandfrontend:commentsskill rules.
Write a <!-- @component --> JSDoc comment block at the top of a .svelte file. The comment is processed by svelte2tsx into a JSDoc block on the component class, IDE hover tooltips render it directly.
Process
- Read the component file: understand what it does, its props, its reactive dependencies, its key functions.
- Read direct dependencies: imports, models, utilities, to understand the full interface.
- Write the
@componentblock: structured, tab-indented, at the very top of the file (before<script>).
Format
<!--
@component
One-line summary of what this component does.
## Section heading
- Bullet point with key information
- Another bullet point
@see {@link ./RelatedFile.ts} for details on X
@example
```svelte
<MyComponent prop={value} />
```
-->
Rules
- Tab-indent everything inside the comment (project convention).
@componenton its own line, description starts on the next line.- No component name after
@component: the filename IS the name. Write@component, not@component MyComponent. - Use markdown: headers (
##), lists (-), code blocks (triple backtick), inline code. All render in IDE hover. - Supported JSDoc tags:
@example,@see,@deprecated,@since,@author,{@link}. These are rendered by TypeScript's language service. - Do NOT use:
@param,@returns,@slot,@event: they have no effect at the component level. Document props with JSDoc on their declarations inside<script>. - Focus on the interface, not internals. The reader wants to know: what does this do, how do I use it, what are the key concepts. Implementation details only where they affect usage (e.g. debounce timing, cluster behavior).
- Enumerate core properties/concepts only. No noise. If a prop has a sensible default that most users never touch, skip it.
- "How to extend" sections are valuable for complex components: e.g. how to add a new marker type, how to add a new filter.
- Keep it concise. If the component is simple, a one-liner after
@componentis enough. Don't pad simple components with unnecessary structure.
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.
- 11d ago Changed b3853d2fa44c
- 12d ago Changed 97f54c67cbbe
- 2mo ago First seen · 65 lines · 45 tokens per session scan A e8629e5e0e28
doc-component is a skill published in the GitHub repository fubits1/svelte-skills (10 stars, last pushed 12d ago), licensed MIT. It adds 45 tokens to every session and 779 once invoked, about $0.0002 per session on Opus 5.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-31.
doc-component compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-componentfubits1/svelte-skills | Skill | 10 | 12d ago | MIT | A | 45 | Claude Code |
| shadcn-sveltevercel-labs/json-render | Skill | 19k | 2d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| add-localizationmicrosoft/power-platform-skills | Skill | 1.1k | yesterday | MIT | A | 69 | Claude Code |
| vue-router-best-practicesvuejs-ai/skills | Skill | 3.3k | 14d ago | MIT | A | 25 | Claude Code, Codex |
| moai-domain-uiuxmodu-ai/moai-adk | Skill | 1.3k | 4d ago | Apache-2.0 | A | 49 | Claude Code |
| moai-domain-frontendmodu-ai/moai-adk | Skill | 1.3k | 4d ago | Apache-2.0 | A | 54 | Claude Code |
| frontend-conventionsfpindej/netrock | Skill | 235 | 4d ago | MIT | A | 27 | Claude Code |