nuxt-seo:og-preview

nuxt-seo:og-preview is a command for Claude Code from secondsky/claude-skills. It costs 21 tokens per session (571 once invoked), scanned A, original, MIT.

A preview and troubleshooting command for Open Graph images in Nuxt. Open Graph images are the pictures shown when a page is shared on services such as social networks or chat apps.

In plain words
What is it for?
Use it to inspect image settings, find routes that define images, list templates, open preview URLs, and check template compatibility with the image renderer.
Why use it?
It helps reveal missing templates and rendering problems before people share pages with broken or incorrect preview images.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nuxt-seo plugin — 1 skill, 6 commands, 5 agents shipped together

Good fit Use it to inspect image settings, find routes that define images, list templates, open preview URLs, and check template compatibility with the image renderer.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/secondsky/claude-skills/og-preview
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.

Clone the repo
git clone --depth 1 https://github.com/secondsky/claude-skills

Made for: Claude Code.

Or install nuxt-seo, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 5 agents.

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-seo:og-preview

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/secondsky/claude-skills/og-preview"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/og-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 571 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.00021 $0.00571
Opus 5.5 $0.00008 $0.00228
Sonnet 5.5 $0.00004 $0.00114
Haiku 4.5 $0.00002 $0.00057

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

Security

Grade A, and why

nuxt-seo:og-preview 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-seo/commands/og-preview.md · 97 lines

How it starts

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

OG Preview Command

Preview and debug Open Graph image generation for Nuxt applications using nuxt-og-image.

What This Command Does

  1. Checks OG image configuration in nuxt.config.ts
  2. Identifies all routes with defineOgImage usage
  3. Lists available OG image templates
  4. Provides preview URLs for testing
  5. Validates Satori CSS compatibility

Quick Actions

Check OG Image Configuration

# Find OG image config
grep -A 20 "ogImage" nuxt.config.ts

# Find defineOgImage usage
grep -r "defineOgImage" --include="*.vue" -l

# List OG image templates
ls -la components/OgImage/

Preview URLs

When dev server is running:

URL Purpose
/_nuxt-og-image/playground Interactive OG image playground
/__og-image__/image/[route]/og.png Preview specific route's OG image
/__og-image__/image/[route]/og.png?debug Debug mode with overlay

Common Issues to Check

  1. Template Not Found

    • Verify component exists in components/OgImage/
    • Check component name matches usage
  2. Rendering Issues (Satori)

    • No CSS Grid (use flexbox)
    • No display: block/inline
    • Images need explicit dimensions
    • Fonts must be configured
  3. Chromium Fallback

    • For complex layouts, use renderer: 'chromium'
    • Requires Chromium binary in production

Output Format

# OG Image Preview Report

## Configuration
- Renderer: [satori/chromium]
- Default template: [template name]
- Custom fonts: [yes/no]

## Routes with OG Images
| Route | Template | Props |
|-------|----------|-------|
| `/` | NuxtSeo | title, description |
| `/blog/[slug]` | BlogPost | title, author, date |

## Available Templates
- NuxtSeo (default)
- BlogPost
- Product

## Preview URLs
- Playground: http://localhost:3000/_nuxt-og-image/playground
- Home: http://localhost:3000/__og-image__/image/og.png

## Issues Found
- [Issue description]

Run the Preview

Start by checking the project's OG image configuration and list all routes using defineOgImage.

Read the full file on GitHub · 97 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 · 97 lines · 21 tokens per session scan A 0bd1c1d4e4ae

Subscribe to this mod's changes

nuxt-seo:og-preview is a command published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 21 tokens to every session and 571 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-seo:og-preview compared with commands from other repositories

nuxt-seo:og-preview next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nuxt-seo:og-previewsecondsky/claude-skillsCommand2578d agoMITA21Claude 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