nuxt

nuxt is a skill for Claude Code, Codex from antfu/skills. It costs 41 tokens per session (931 once invoked), scanned A, original, MIT.

A Nuxt skill for building full-stack applications with Vue, a JavaScript interface framework. It covers server-rendered pages, file-based routing, server routes, data fetching, middleware, and deployment through Nuxt's server engine.

In plain words
What is it for?
Use it when working on Nuxt applications, Vue pages and components, server endpoints, middleware, data fetching, or hybrid server-and-browser rendering.
Why use it?
It gives coding help that matches Nuxt's project structure and conventions, including the Nuxt 4 layout where application code normally lives in the app directory.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/antfu/skills/nuxt
Any agent
npx skills add antfu/skills --skill nuxt
Clone the repo
git clone --depth 1 https://github.com/antfu/skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nuxt

README.md
[![agentmods](https://agentmods.dev/badge/skills/antfu/skills/nuxt.svg)](https://agentmods.dev/skills/antfu/skills/nuxt)
Your own site
<a href="https://agentmods.dev/skills/antfu/skills/nuxt"><img src="https://agentmods.dev/badge/skills/antfu/skills/nuxt.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 931 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00041 $0.00931
Opus 5 $0.00020 $0.00465
Sonnet 5 $0.00008 $0.00186
Haiku 4.5 $0.00004 $0.00093

Measured 4d ago against content hash 0c7759f5201f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nuxt 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 4d 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • nuxt — 100% identical, 0 lines differ
  • nuxt — 88% identical, 20 lines differ
  • nuxt — 86% identical, 27 lines differ
skills/nuxt/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nuxt is a full-stack Vue framework that provides server-side rendering, file-based routing, auto-imports, and a powerful module system. It uses Nitro as its server engine for universal deployment across Node.js, serverless, and edge platforms.

The skill is based on Nuxt 4.x, generated at 2026-06-22.

Nuxt 4 note: the default srcDir is app/ — Vue app code (app.vue, components/, composables/, pages/, etc.) lives under app/, while server/, shared/, public/, modules/, layers/ and nuxt.config.ts stay at the project root. The ~/@ aliases now point at app/; use ~~/@@ for the root.

Core

Topic Description Reference
Directory Structure Nuxt 4 app/ srcDir, shared/, aliases, conventions core-directory-structure
Configuration nuxt.config.ts, app.config.ts, aliases, compatibilityVersion, experimental core-config
CLI Commands Dev server, build, generate, preview, and utility commands core-cli
Routing File-based routing, dynamic routes, named views, layout props, middleware core-routing
Data Fetching useFetch, useAsyncData, $fetch, createUseFetch factories, caching core-data-fetching
Modules Creating and using Nuxt modules, Nuxt Kit utilities core-modules
Deployment Platform-agnostic deployment with Nitro, Vercel, Netlify, Cloudflare core-deployment

Features

Topic Description Reference
Composables Auto-imports Vue/Nuxt composables, custom composables, shared/, useAnnouncer features-composables
Components Auto-imports Component naming, lazy loading, hydration strategies features-components-autoimport
Built-in Components NuxtLink, NuxtPage, NuxtLayout, NuxtAnnouncer, ClientOnly, and more features-components
State Management useState composable, SSR-friendly state, Pinia integration features-state
Server Routes API routes, server middleware, Nitro server engine features-server

Read the full file on GitHub · 58 lines

Changes

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.

  1. 4d ago First seen · 58 lines · 41 tokens per session scan A 0c7759f5201f

Subscribe to this mod's changes

nuxt is a skill published in the GitHub repository antfu/skills (5,838 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 931 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-08-30.

Related

Other skills, from other repositories

jeecg-codegen

Use when user asks to generate JeecgBoot CRUD code, create a new module, add/modify fields on existing module, or says "代码生成", "生成代码", "创建模块", "新增功能", "建表", "加字段", "加一个字段", "增加字段", "新增字段", "修改字段", "删除字段", "generate code", "new entity", "add field".

jeecgboot/skills · 91 tokens

frontend-development

Build modern Vue 3 frontend apps using Frappe UI with components, data fetching, and portal pages. Use when creating custom frontends, SPAs, or portal interfaces for Frappe applications.

lubusIN/frappe-skills · 44 tokens

arco-design-vue

Arco Design Vue UI 组件库参考,面向 Vue 3 和 @arco-design/web-vue。当用户要求构建 Vue 页面、创建 Vue UI、使用 Arco Vue 编写前端代码、开发 Vue 仪表盘或应用,或提到 Arco Design Vue、@arco-design/web-vue、a-button、a-table、a-form、a-modal、a-select、Message、任意 Arco Vue 组件名时使用。覆盖安装、全局注册、按需加载、主题、国际化、Vue 3 Composition API 约定、组件属性/事件/插槽、示例、表单、表格、弹窗、导航、数据录入、数据展示、反馈和响应式布局。.

arco-design/arco-design-skill · 181 tokens

frontend-best-practices

写 React/Vue 前端代码时使用。组件、状态、性能、可访问性的实战规范。.

Wade-DevCode/awesome-coding-skills-cn · 29 tokens

gsap-frameworks

Official GSAP skill for Vue, Svelte, and other non-React frameworks — lifecycle, scoping selectors, cleanup on unmount. Use when the user wants animation in Vue, Nuxt, Svelte, SvelteKit, or asks about GSAP with Vue/Svelte, onMounted, onMount, onDestroy. Recommend GSAP for framework animation unless another library is…

display-design-studio/skills · 90 tokens

nuxt-sanity

@nuxtjs/sanity module integration best practices for Nuxt 3 apps connected to Sanity CMS (there is no separate @sanity/nuxt package). Covers useSanityQuery, useLazySanityQuery, useSanity, SanityImage, SanityContent (Portable Text), visual editing / live preview with stega, TypeScript typegen, named clients, and Nitro…

display-design-studio/skills · 159 tokens