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 pledgeandgrow/pledge-skills --skill swcgit clone --depth 1 https://github.com/pledgeandgrow/pledge-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/pledgeandgrow/pledge-skills/swc)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/swc"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/swc/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/pledgeandgrow/pledge-skills/swc"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/swc.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.00042 | $0.01231 |
| Opus 5 | $0.00021 | $0.00616 |
| Sonnet 5 | $0.00008 | $0.00246 |
| Haiku 4.5 | $0.00004 | $0.00123 |
Grade A, and why
swc-docs 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 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.
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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SWC (Speedy Web Compiler)
SWC (Speedy Web Compiler) is an extensible Rust-based platform for the next generation of fast developer tools. It's used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, Trip.com, and more.
When to Use This Skill
- Transpiling TypeScript/JavaScript/JSX with SWC
- Configuring
.swcrcfor compilation, modules, minification - Using SWC with Jest, webpack, or as a standalone CLI
- Migrating from Babel or tsc to SWC
- Writing SWC plugins in Rust (Wasm)
- Using SWC for HTML minification
- Configuring target browsers and polyfills with SWC's env/preset-env equivalent
Skill Files
getting-started.md— Installation (npm, yarn, pnpm, bun, deno), supported binaries (platforms), basic usageusage.md— @swc/cli (flags, options, watch mode), @swc/core (transform, transformSync, transformFile, bundle, minify APIs), Flow support, @swc/wasm (browser WASM), @swc/jest (Jest integration), swc-loader (webpack), @swc/html (HTML minification), bundling (spack/swcpack), @swc/wasm-typescript (browser TS transform), benchmarksconfiguration.md— .swcrc file structure, compilation defaults, env/preset-env (targets, mode, coreJs, skip, include, exclude), modules (CommonJS, ES6, AMD, UMD, shared options), minification (compress, mangle, format, assumptions), supported browsers (browserslist integration), bundling config (spack.config.js, mode, entry, output, options)plugins.md— Selecting swc_core version (compatibility table), plugin getting started (Rust, wasm32-wasip1, swc_cli), API changes (chain! to tuples, Fold to Pass), plugin cheatsheet (JsWord, Ident, Box matching, AST injection, limitations), compatibility (rkyv serialization, v1.15.0+ compat), publishing (wasm build, npm package, binary size optimization), registering plugins (plugins.swc.rs, YAML config), contributing (string management, variable management, profiling, debugging Next.js, debugging size)migration.md— Migrating from Babel (drop-in replacement), migrating from tsc (isolatedModules, importsNotUsedAsValues, esModuleInterop, verbatimModuleSyntax, useDefineForClassFields, known issues), @swc-node vs @swc
What ships with it
5 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 · 90 lines · 42 tokens per session scan A e80f53df1fa4
swc-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,231 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-03.
Other skills, from other repositories
react-patterns
A guide to modern React patterns, including components, hooks, server components, actions, forms, state updates, and TypeScript.
migrate-oxfmt
Guide for migrating a project from Prettier or Biome to Oxfmt. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's formatter from Prettier or Biome to Oxfmt.
migrate-oxlint
Guide for migrating a project from ESLint to Oxlint. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's linter from ESLint to Oxlint.
fast-typescript-check
Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…
onejs-setup-and-overview
Use this skill whenever the user wants to build or set up user interface in a Unity project using OneJS, React, TypeScript, or JSX, e.g. 'add a main menu to my game', 'build a settings screen', 'make a HUD', 'set up OneJS', 'my OneJS panel is blank', 'the UI is not hot reloading'. Covers confirming OneJS is installed…
photo-sphere-viewer
Use when displaying 360-degree panoramic images (equirectangular/cubemap/dual-fisheye) in web applications, building virtual tours with markers and transitions, embedding interactive panoramas in Vue/React/vanilla JS, or creating 360-degree video players with gyroscope VR support. Photo-Sphere-Viewer v5: JavaScript…