nuxt-auth-utils

nuxt-auth-utils is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 46 tokens per session (733 once invoked), scanned A, original, MIT.

A Nuxt authentication module for logins, user sessions, OAuth sign-ins, and protected pages or server routes. Nuxt is a framework for building web applications with Vue.

In plain words
What is it for?
It helps build login and logout flows, connect providers such as Google or GitHub, check the current user, and restrict access to routes or API endpoints.
Why use it?
It provides cookie-based sessions without requiring a database, reducing the setup needed for common authentication tasks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps build login and logout flows, connect providers such as Google or GitHub, check the current user, and restrict access to routes or API endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils
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 YuDefine/nuxt-supabase-starter --skill nuxt-auth-utils
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

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-auth-utils

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils/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 nuxt-auth-utils

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/nuxt-auth-utils.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 733 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.00046 $0.00733
Opus 5.5 $0.00018 $0.00293
Sonnet 5.5 $0.00009 $0.00147
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

nuxt-auth-utils 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 3mo 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.

template/.claude/skills/nuxt-auth-utils/SKILL.md · 87 lines

How it starts

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

Nuxt Auth Utils

Cookie-based authentication module for Nuxt. No database required for session storage — sessions are encrypted and stored in cookies.

When to Use

  • Installing/configuring nuxt-auth-utils
  • Implementing OAuth login flows (Google, GitHub, etc.)
  • Protecting routes (client and server)
  • Accessing user session in API routes
  • Setting up session types

For Nuxt patterns: use nuxt skill For better-auth (DB-based auth): use nuxt-better-auth skill

Available Guidance

File Topics
references/client-auth.md useUserSession, OAuth login, logout, session state
references/server-auth.md requireUserSession, getUserSession, setUserSession, OAuth handlers

Loading Files

DO NOT load all files at once. Load only what's relevant to your current task.

Key Concepts

Concept Description
useUserSession() Client composable — user, loggedIn, session, fetch, clear
requireUserSession() Server helper — throws 401 if not authenticated
setUserSession() Server helper — set session after OAuth success
clearUserSession() Server helper — clear session (logout)
defineOAuth*EventHandler Server OAuth callback handlers
auth.d.ts Type augmentation via declare module '#auth-utils'

Read the full file on GitHub · 87 lines

Files

What ships with it

2 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. 3mo ago First seen · 87 lines · 46 tokens per session scan A 9b5438f1a51a

Subscribe to this mod's changes

nuxt-auth-utils is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 733 once invoked, about $0.0002 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

nuxt-auth-utils compared with skills from other repositories

nuxt-auth-utils next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nuxt-auth-utilsYuDefine/nuxt-supabase-starterSkill452d agoMITA46Claude Code
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
prax-tdd-workflowChanningLua/prax-agentSkill2722mo agoMITA24Claude Code
flutter-qualitymorodomi/dev-crewSkill111d agoMITA74Claude Code
sb:executealo-exp/silver-bulletSkill7yesterdaynoneA25Claude Code
tddvincenzodomina/aiSkill25d agononeA45Claude Code, Codex