unhead-vue-skilld

unhead-vue-skilld is a skill for Claude Code, Codex from skilld-dev/vue-ecosystem-skills. It costs 78 tokens per session (2,140 once invoked), scanned A, original, MIT.

A coding guide for Unhead in Vue, a tool for managing page metadata such as titles, descriptions, scripts, and other HTML head tags. It covers current APIs and changes between versions.

In plain words
What is it for?
Use it when writing, debugging, or modifying code that imports @unhead/vue.
Why use it?
It helps avoid broken metadata setup and outdated imports when working with client-rendered or server-rendered Vue apps.

Skill for Claude CodeCodex

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

Good fit Use it when writing, debugging, or modifying code that imports @unhead/vue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skilld-dev/vue-ecosystem-skills/unhead-vue-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 unhead-vue-skilld
Clone the repo
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-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 unhead-vue-skilld

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/unhead-vue-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/unhead-vue-skilld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,140 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.00078 $0.02140
Opus 5.5 $0.00031 $0.00856
Sonnet 5.5 $0.00016 $0.00428
Haiku 4.5 $0.00008 $0.00214

Measured 1mo ago against content hash 8a135df3dee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unhead-vue-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 1mo 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/unhead-vue-skilld/SKILL.md · 159 lines

How it starts

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

@unhead/vue 3.4.1

Full-stack <head> management for Vue 3. ESM only ("type": "module"), no CJS. Peer deps: vue >= 3.5.18; optional vite >= 6.4.2, webpack >= 5.0.0 (source: package.json:138-150). Vue 2: not supported; use @unhead/vue@^1. Nuxt: Unhead is integrated already; do not install or set it up manually.

Setup (mandatory)

Install @unhead/vue, create the head instance, and register it as a Vue plugin. createHead comes from a subpath export, not the package root.

// entry-client.ts (SPA or hydration)
import { createHead } from '@unhead/vue/client'
import { createApp } from './main'

const { app } = createApp()
const head = createHead()
app.use(head)
app.mount('#app')
// entry-server.ts (SSR)
import { createHead } from '@unhead/vue/server'
import { renderToString } from 'vue/server-renderer'
import { createApp } from './main'

export async function render(url: string) {
  const { app } = createApp()
  const head = createHead()
  app.use(head)
  const html = await renderToString(app)
  return { html, head } // render tags later with transformHtmlTemplate(head, template)
}

Full SSR template wiring, streaming SSR, Options API, and auto-imports: references/setup.md.

Composables

All imported from @unhead/vue root and used inside setup():

<script setup lang="ts">
import { useHead, useSeoMeta } from '@unhead/vue'

useHead({
  title: () => `${user.value.name} - Profile`, // getters, refs, computed all reactive
  titleTemplate: '%s | My Site',
  meta: [{ name: 'description', content: () => description.value }],
})

useSeoMeta({ // flat, type-safe keys; og/twitter handled automatically
  ogTitle: 'My Page',
  ogImage: 'https://example.com/image.jpg',
})
</script>
// Third-party scripts
import { useScript } from '@unhead/vue'

const { proxy, onLoaded, status } = useScript(
  { src: 'https://example.com/analytics.js' },
  { use: () => window.analytics, trigger: 'client' },
)
proxy.track('pageview') // queued until the script loads

Read the full file on GitHub · 159 lines

Files

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.

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. 1mo ago Changed · +1 lines 8a135df3dee7
  2. 2mo ago Changed · +89 lines · +26 tokens per session 1a02ff1d1815
  3. 3mo ago First seen · 69 lines · 52 tokens per session scan A af1f085f6502

Subscribe to this mod's changes

unhead-vue-skilld is a skill published in the GitHub repository skilld-dev/vue-ecosystem-skills (188 stars, last pushed 15d ago), licensed MIT. It adds 78 tokens to every session and 2,140 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

unhead-vue-skilld compared with skills from other repositories

unhead-vue-skilld next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unhead-vue-skilldskilld-dev/vue-ecosystem-skillsSkill18815d agoMITA78Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill20k9d agoApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.2ktodayMITA69Claude Code
moai-domain-uiuxmodu-ai/moai-adkSkill1.3ktodayApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3ktodayApache-2.0A54Claude Code
weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-viteSkill530todayMITA107Codex
vue-router-best-practicesvuejs-ai/skillsSkill3.4k1mo agoMITA25Claude Code, Codex