nextjs-seo-foundations

nextjs-seo-foundations is a skill for Claude Code, Codex from kennyzir/7deer_skills. It costs 28 tokens per session (541 once invoked), scanned A, original, MIT.

A set of search-engine optimization rules for Next.js 14 applications. Search-engine optimization (SEO) helps pages appear correctly and prominently in search results.

In plain words
What is it for?
Use it when checking SEO, optimizing pages, adding page metadata or JSON-LD structured data, reviewing performance, or running the provided URL audit command.
Why use it?
It helps prevent missing page metadata, incorrect canonical URLs, incomplete structured data, and slow page loading from harming search visibility.

Skill for Claude CodeCodex

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

Good fit Use it when checking SEO, optimizing pages, adding page metadata or JSON-LD structured data, reviewing performance, or running the provided URL audit command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kennyzir/7deer_skills/nextjs-seo-foundations
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 kennyzir/7deer_skills --skill nextjs-seo-foundations
Clone the repo
git clone --depth 1 https://github.com/kennyzir/7deer_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 nextjs-seo-foundations

README.md
[![agentmods](https://agentmods.dev/badge/skills/kennyzir/7deer_skills/nextjs-seo-foundations/github.svg)](https://agentmods.dev/skills/kennyzir/7deer_skills/nextjs-seo-foundations)
Your own site
<a href="https://agentmods.dev/skills/kennyzir/7deer_skills/nextjs-seo-foundations"><img src="https://agentmods.dev/badge/skills/kennyzir/7deer_skills/nextjs-seo-foundations/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 nextjs-seo-foundations

Your own site · 80×15
<a href="https://agentmods.dev/skills/kennyzir/7deer_skills/nextjs-seo-foundations"><img src="https://agentmods.dev/badge/skills/kennyzir/7deer_skills/nextjs-seo-foundations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 541 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.00028 $0.00541
Opus 5 $0.00014 $0.00270
Sonnet 5 $0.00006 $0.00108
Haiku 4.5 $0.00003 $0.00054

Measured 3d ago against content hash 2a41683a12a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nextjs-seo-foundations 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 3d 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.

nextjs-seo-foundations/SKILL.md · 57 lines

What it actually says

🚀 Next.js SEO Foundations

Role: SEO Engineer (SEO 工程师) Core Function: 确保代码符合 Technical SEO 工业标准。

When This Skill Applies

  • 当用户要求 "Check SEO" 或 "Optimize page" 时。
  • 当编写 generateMetadata 函数时。
  • 当添加 StructuredData 或 JSON-LD 时。
  • 当进行代码审查 (Code Review) 涉及性能指标 (LCP/CLS) 时。

Instructions

本 Skill 定义了构建高流量 Next.js 站点的工程标准

1. Metadata 架构 (The Logic of Tags)

1.1 动态标题策略
  • Rule: 必须包含 Month Year 以保持新鲜度。
  • Code Pattern:
    export async function generateMetadata(): Promise<Metadata> {
      const date = new Date();
      const monthYear = date.toLocaleDateString('en-US', { month: 'long', year: 'numeric' });
      return { title: `Codes (${monthYear}) ...` }
    }
    
1.2 Canonical URL 强制性
  • Fatal Error: 缺少 Canonical 会导致权重分散。
  • Fix: 统一使用带尾部斜杠的绝对路径。

2. 结构化数据体系 (Schema Graph)

任何高流量页面 (Hub Page) 必须包含 Schema 组合拳:

  1. BreadcrumbList: 层级结构。
  2. FAQPage: 抢占 PAA 区域 (>= 5 Questions)。
  3. VideoGame: 产品本体。

3. 性能即 SEO (Performance as SEO)

3.1 图片优化 (LCP)
  • Rule: 首屏大图 (Hero Image) 必须添加 priority 属性。
3.2 交互延迟 (FID/INP)
  • Optimization: 将非首屏交互组件 (Chart, Calculator) 使用 next/dynamic 延迟加载。

Commands

  • /audit-seo [url]: 运行 SEO 完整性检查。
Files

What ships with it

1 file 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. 3d ago Changed · +1 lines 2a41683a12a3
  2. 12d ago First seen · 56 lines · 28 tokens per session scan A fac0d5719c32

Subscribe to this mod's changes

nextjs-seo-foundations is a skill published in the GitHub repository kennyzir/7deer_skills (312 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 541 once invoked, about $0.0001 per session on Opus 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

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

copilotkit-upgrade

Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.

CopilotKit/CopilotKit · 48 tokens

non-json-content-types

Handle FormData, file uploads, Blob, Uint8Array, and ReadableStream inputs in tRPC mutations. Use octetInputParser from @trpc/server/http for binary data. Route non-JSON requests with splitLink and isNonJsonSerializable() from @trpc/client. FormData and binary inputs only work with mutations (POST).

trpc/trpc · 75 tokens

trigger-authoring-tasks

Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and concurrency, idempotency keys, run metadata, logging, triggering other tasks (and the Result shape), scheduled/cron tasks, and the essentials of trigger.config.ts.…

triggerdotdev/trigger.dev · 115 tokens

saas-builder

Clone, verify, map, and build on top of ixartz/SaaS-Boilerplate for a user's SaaS idea. Use when a user wants to reuse SaaS Boilerplate, evaluate how their product fits it, or build product-specific pages, database schema, roles, permissions, MVP features, and launch scope on top of the boilerplate.

ixartz/SaaS-Boilerplate · 75 tokens