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 0xDarkMatter/claude-mods --skill frontend-upgrade-opsgit clone --depth 1 https://github.com/0xDarkMatter/claude-modsWrote 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/0xdarkmatter/claude-mods/frontend-upgrade-ops)<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops/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/0xdarkmatter/claude-mods/frontend-upgrade-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/frontend-upgrade-ops.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.00116 | $0.03763 |
| Opus 5.5 | $0.00046 | $0.01505 |
| Sonnet 5.5 | $0.00023 | $0.00753 |
| Haiku 4.5 | $0.00012 | $0.00376 |
Grade A, and why
frontend-upgrade-ops 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 14d 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 — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Upgrade Operations
The two front-end upgrades a Craft CMS (or any Twig/PHP) agency keeps meeting: an asset pipeline still on Laravel Mix or raw Webpack, and widgets still on Vue 2. Both are frozen - Mix's last release was 6.0.49 in June 2022 and Laravel calls it "a legacy package that is no longer actively maintained"; Vue 2 reached end of life on 31 December 2023. This skill is the playbook for moving a server-rendered site to Vite 8 + craft-vite and Vue 3, or for deciding that a widget should not be Vue at all.
Version facts verified as of 2026-10-05 against npm, Packagist, vite.dev, v3-migration.vuejs.org and nystudio107.com/docs/vite. Each reference cites its sources.
Start here: what does this repo need?
| You find | Do | Read |
|---|---|---|
webpack.mix.js, mix-manifest.json, mix() in Twig |
Replace Mix with Vite + craft-vite | mix-webpack-to-vite.md, then craft-vite-twig.md |
A hand-written webpack.config.js |
Same move; translate loaders and plugins one by one | mix-webpack-to-vite.md |
| craft-vite already, but the dev server fails behind DDEV | CORS / allowedHosts / one port in four places |
craft-vite-twig.md |
"vue": "^2 in package.json |
Decide per widget: migrate or replace (table below) | this file, then vue2-to-vue3.md |
| Mix and Vue 2 | Bundler first, framework second - never one deploy | Sequencing |
vuex, vue-router 3, Vue 2-only plugins |
Pinia; check every plugin for a Vue 3 path before estimating | vue-state-and-plugins.md |
Vue templates written in Twig (inline-template, in-DOM) |
Convert to SFC islands; mind the compiler build and template injection | vue-islands-in-twig.md |
| Vue 3 + Vite already | Out of scope here - steady-state Vue is vue-ops, steady-state Craft is craftcms-ops |
- |
What ships with it
8 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.
- assets/frontend-upgrade-facts.json 3.4 KB
- references/craft-vite-twig.md 10 KB
- references/mix-webpack-to-vite.md 11 KB
- references/vue-islands-in-twig.md 9.2 KB
- references/vue-state-and-plugins.md 7.2 KB
- references/vue2-to-vue3.md 9.5 KB
- scripts/check-frontend-upgrade-facts.py 14 KB runs code
- tests/run.sh 7.9 KB runs code
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.
- 14d ago First seen · 201 lines · 116 tokens per session scan A 54d9f19ae132
frontend-upgrade-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (68 stars, last pushed 6d ago), licensed MIT. It adds 116 tokens to every session and 3,763 once invoked, about $0.0005 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-10-06.
Other skills, from other repositories
accessibility-a11y
WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.
agent-svelte-expert
Specialist subagent: Svelte 5 runes, SvelteKit routing, form actions, and compile-time reactivity specialist. Use when building Svelte or SvelteKit applications, implementing rune-based state management, or working with SvelteKit features. Trigger phrases: Svelte, SvelteKit, runes, $state, $derived, $effect, $props…
flutter-development
Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.
agent-vue-nuxt-expert
Specialist subagent: Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps…
frontend-enhancer
Enhance the visual design of web apps: modern UI components, layout, responsive design, color palettes, animations. Use for styling and UI polish; pair with ui-research first for new design directions.
generic-design-system
Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.