nuxt-studio:configure-auth

nuxt-studio:configure-auth is a command for Claude Code from secondsky/claude-skills. It costs 29 tokens per session (2,355 once invoked), scanned A, original, MIT.

A step-by-step guide for adding OAuth sign-in to Nuxt Studio. OAuth lets people sign in through an existing GitHub, GitLab, or Google account instead of creating a separate password.

In plain words
What is it for?
Use it to choose an identity provider, configure client credentials, set the deployment URL, and prepare local or production authentication.
Why use it?
It reduces the setup work for provider credentials, environment variables, and the URL where the Studio is hosted.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the nuxt-studio plugin — 3 commands shipped together

Good fit Use it to choose an identity provider, configure client credentials, set the deployment URL, and prepare local or production authentication.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add secondsky/claude-skills
Claude Code
/plugin install nuxt-studio

Made for: Claude Code.

Or install nuxt-studio, the plugin that ships this one along with the rest of its 3 commands.

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-studio:configure-auth

README.md
[![agentmods](https://agentmods.dev/badge/commands/secondsky/claude-skills/configure-studio-auth/github.svg)](https://agentmods.dev/commands/secondsky/claude-skills/configure-studio-auth)
Your own site
<a href="https://agentmods.dev/commands/secondsky/claude-skills/configure-studio-auth"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/configure-studio-auth/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-studio:configure-auth

Your own site · 80×15
<a href="https://agentmods.dev/commands/secondsky/claude-skills/configure-studio-auth"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/configure-studio-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,355 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.
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.00029 $0.02355
Opus 5.5 $0.00012 $0.00942
Sonnet 5.5 $0.00006 $0.00471
Haiku 4.5 $0.00003 $0.00235

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

Security

Grade A, and why

nuxt-studio:configure-auth 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 8d 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.

plugins/nuxt-studio/commands/configure-studio-auth.md · 389 lines

How it starts

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

Configure Studio OAuth Authentication

Guide the user through OAuth provider setup with detailed instructions and credential management.

Execution Steps

1. Detect Current Configuration

Read .env.local (or .env) to check for existing OAuth configuration:

# Check for existing OAuth variables

Identify which providers (if any) are already configured:

  • GitHub: NUXT_OAUTH_GITHUB_CLIENT_ID
  • GitLab: NUXT_OAUTH_GITLAB_CLIENT_ID
  • Google: NUXT_OAUTH_GOOGLE_CLIENT_ID

2. Choose Provider (if not already configured)

If no provider is configured, ask user:

Question: "Which OAuth provider would you like to set up?"

  • Header: "OAuth Provider"
  • Options:
    • GitHub (Recommended): "Best for GitHub repositories. Quick setup."
    • GitLab: "For GitLab.com or self-hosted instances"
    • Google: "Universal option for any team members"
  • Multi-select: false

If multiple providers already configured, ask which one to reconfigure.

3. Determine Deployment URL

Ask user:

Question: "What is your Studio deployment URL?"

If "Production" selected, ask for the full URL.

4. Provider-Specific Setup Instructions

Based on chosen provider, provide detailed setup instructions:

For GitHub OAuth:

Step 1: Create OAuth App

Provide instructions:

1. Open GitHub OAuth Apps page:
   https://github.com/settings/developers

2. Click "New OAuth App"

3. Fill in the form:
   - Application name: "[Your Site] - Studio CMS"
   - Homepage URL: https://yourdomain.com
   - Authorization callback URL: [DEPLOYMENT_URL]/api/auth/callback/github

   Example callback URL:
   - Local: http://localhost:3000/api/auth/callback/github
   - Production: https://studio.yourdomain.com/api/auth/callback/github

4. Click "Register application"

5. Note your Client ID (shown on the page)

6. Click "Generate a new client secret"

7. Copy the secret IMMEDIATELY (shown only once)

Read the full file on GitHub · 389 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. 8d ago First seen · 389 lines · 29 tokens per session scan A 834c1b333d38

Subscribe to this mod's changes

nuxt-studio:configure-auth is a command published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 29 tokens to every session and 2,355 once invoked, about $0.0001 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-11-22.

Related

nuxt-studio:configure-auth compared with commands from other repositories

nuxt-studio:configure-auth next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nuxt-studio:configure-authsecondsky/claude-skillsCommand2578d agoMITA29Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code
specifygithub/spec-kitCommand153k3d agoMITA13Claude Code
convergegithub/spec-kitCommand153k3d agoMITA35Claude Code
implementgithub/spec-kitCommand153k3d agoMITA14Claude Code