Works with the AI Agents you already use
Next.js SEO Metadata, Sitemap and Open Graph Setup
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$6
Next.js SEO Metadata, Sitemap and Open Graph Setup
Example session with this skill installed
Run the Next.js SEO Metadata, Sitemap and Open Graph Setup skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the next js seo
Here is what the Next.js SEO Metadata, Sitemap and Open Graph Setup skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
seo audit (html): 2 high, 6 medium, 8 low, 1 info
HIGH SEO010 index.html
og:image is a relative URL ('/og.png'); crawlers ignore it
fix: set metadataBase
HIGH SEO015 index.html
JSON-LD does not parse: Expecting property name enclosed in double quotes (line 1)
MEDIUM SEO006 about/index.html
no canonical URL
fix: metadata.alternates.canonical (with metadataBase)
MEDIUM SEO009 about/index.html
missing og:image
fix: metadata.openGraph
MEDIUM SEO004 index.html
missing meta description
fix: set metadata.description
MEDIUM SEO007 index.html
canonical is not absolute: '/'
fix: set metadataBase in the root layout
MEDIUM SEO012 index.html
<html> has no lang attribute
fix: <html lang="en"> in app/layout.tsx
MEDIUM SEO017 index.html
duplicate title on 2 pages: index.html, about/index.html
fix: give each page its own title (generateMetadata for dynamic routes)
LOW SEO005 about/index.html
meta description is 5 chars (aim for 70-160)
LOW SEO009 about/index.html
missing og:title
fix: metadata.openGraph
LOW SEO009 about/index.html
missing og:description
fix: metadata.openGraph
LOW SEO011 about/index.html
missing twitter:card
fix: metadata.twitter = { card: 'summary_large_image' }
LOW SEO014 about/index.html
no <h1> on the page
LOW SEO009 index.html
missing og:description
fix: metadata.openGraph
LOW SEO011 index.html
missing twitter:card
fix: metadata.twitter = { card: 'summary_large_image' }
LOW SEO013 index.html
missing viewport meta
INFO SEO014 index.html
2 <h1> elements
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Set up and audit SEO for Next.js App Router sites - the Metadata API (metadata, generateMetadata, title templates, metadataBase, canonical and hreflang alternates, robots), sitemap.ts, robots.ts, opengraph-image / twitter-image files and ImageResponse, and JSON-LD structured data. Includes an offline auditor that checks built HTML (out/ or .next/server/app) for missing titles, descriptions, canonicals, Open Graph tags, lang, invalid JSON-LD and duplicates, or checks app/ source for pages without metadata, dynamic routes without generateMetadata, missing metadataBase, sitemap and robots files and robots rules that block the whole site.
Who it's for
Use when the user asks to add or fix SEO, meta tags, Open Graph or social previews, sitemaps, robots.txt, canonical URLs, structured data or rich results in a Next.js app, or asks why a page has the wrong title or no preview image when shared.
What's inside
- Tested, offline Python script(s): seo_audit.py (deterministic results, standard library only unless noted)
- Reference guides: seo-checklist.md, metadata-recipes.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow; Checklist
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/nextjs-react-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3.8+next
Node.js