tanstack-vue-router-skilld

tanstack-vue-router-skilld is a skill for Claude Code, Codex from skilld-dev/vue-ecosystem-skills. It costs 67 tokens per session (3,081 once invoked), scanned A, original, MIT.

A Vue routing library for defining the pages of an application and moving between them. Routing decides which screen appears for a URL and can also control loading and redirects.

In plain words
What is it for?
Use it to define Vue application routes, URL parameters, loading behavior, redirects, and missing-page screens. It supports factory-based route creation and route-related data loading.
Why use it?
It removes the need to build URL matching, navigation, route loading, and not-found handling yourself. It also identifies deprecated APIs so older Vue Router code can be updated safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define Vue application routes, URL parameters, loading behavior, redirects, and missing-page screens. It supports factory-based route creation and route-related data loading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld
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.

Any agent
npx skills add skilld-dev/vue-ecosystem-skills --skill tanstack-vue-router-skilld
Clone the repo
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin tanstack-vue-router — /plugin install tanstack-vue-router after adding the marketplace above.

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 tanstack-vue-router-skilld

README.md
[![agentmods](https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld/github.svg)](https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld)
Your own site
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld/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.

agentmods 80×15 button for tanstack-vue-router-skilld

Your own site · 80×15
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-router-skilld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00067 $0.03081
Opus 5.5 $0.00027 $0.01232
Sonnet 5.5 $0.00013 $0.00616
Haiku 4.5 $0.00007 $0.00308

Measured 21d ago against content hash 3242de94517b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tanstack-vue-router-skilld 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 21d 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.

skills/tanstack-vue-router-skilld/SKILL.md · 217 lines

How it starts

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

@tanstack/vue-router

Type-safe router for Vue. Prepared source: version 1.170.35 (package.json:3).

  • Requires vue >= 3.3.0 (peer), Node >= 20.19 (package.json:59-88)
  • Runtime deps: @tanstack/[email protected], @tanstack/[email protected], @tanstack/vue-store@^0.11.0
  • ESM-only ("type": "module"), no main/CJS entry
  • Entry points: @tanstack/vue-router, @tanstack/vue-router/ssr/server, @tanstack/vue-router/ssr/client (package.json:29-50)

Docs: https://tanstack.com/router (framework pages verified at /router/latest/docs/framework/vue/...)

Hard rules

  1. Most composables return Ref<T> — use .value in script; templates auto-unwrap. useRouter(), useNavigate(), useLinkProps(), useAwaited() do NOT return refs. Full table in references/composables.md.
  2. Never cast or annotate inferred route/router types. Types come from the route tree and the Register declaration.
  3. Register the router for type safety — without this, Link/useNavigate/useSearch accept any string:
declare module '@tanstack/vue-router' {
  interface Register {
    router: typeof router
  }
}
  1. Not vue-router. Never import useRoute/useRouter from vue-router, never use <router-view>/<router-link>.
  2. beforeLoad/loader are plain async functions. Vue composables (ref, computed, lifecycle hooks) cannot run inside them. Pass state through router context.
  3. Route options accept Vue SFCs: component, errorComponent, notFoundComponent, pendingComponent and the default*Component router options take .vue files or h()-style function components (src/route.ts:54-58, src/router.ts:26-65).

Setup with Vite (file-based routing)

npm install @tanstack/vue-router
npm install -D @tanstack/router-plugin @vitejs/plugin-vue @vitejs/plugin-vue-jsx
// vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import { tanstackRouter } from '@tanstack/router-plugin/vite'

export default defineConfig({
  plugins: [
    tanstackRouter({ target: 'vue', autoCodeSplitting: true }), // before vue()
    vue(),
    vueJsx(), // needed for .tsx route files
  ],
})

Read the full file on GitHub · 217 lines

Files

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.

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. 21d ago Changed · +1 lines 3242de94517b
  2. 1mo ago Changed · +142 lines · +6 tokens per session 2a8ff831f830
  3. 2mo ago First seen · 74 lines · 61 tokens per session scan A b0970d1dd439

Subscribe to this mod's changes

tanstack-vue-router-skilld is a skill published in the GitHub repository skilld-dev/vue-ecosystem-skills (184 stars, last pushed 21d ago), licensed MIT. It adds 67 tokens to every session and 3,081 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

shadcn-svelte

Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.

vercel-labs/json-render · 63 tokens

add-localization

Adds or extends multilingual localization in a Power Pages code-site SPA. Use whenever the user asks to translate, localize, internationalize, support multiple languages, add a language selector, add locale routes, repair an i18n setup, or add languages to an existing React, Vue, Angular, or Astro Power Pages site.

microsoft/power-platform-skills · 69 tokens

vue-router-best-practices

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

vuejs-ai/skills · 25 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

moai-domain-frontend

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.

modu-ai/moai-adk · 54 tokens

frontend-conventions

Frontend convention reference (SvelteKit / Svelte 5). Auto-injected into frontend-aware agents - not user-invocable.

fpindej/netrock · 27 tokens