Nextjs Og Generator
Automatically generates optimized Open Graph metadata for Next.js pages based on content, improving SEO & social sharing.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add nextjs-og-generator npx -- -y @trustedskills/nextjs-og-generator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"nextjs-og-generator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/nextjs-og-generator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically generates Open Graph (OG) metadata for Next.js applications. It simplifies the process of creating shareable links on social media platforms, ensuring accurate previews with appropriate titles, descriptions, and images. The skill handles image optimization and ensures compatibility across various social networks.
When to use it
- Automating Social Media Previews: When deploying a new Next.js website or application and needing consistent social sharing previews.
- Improving Link Engagement: To ensure that links shared on platforms like Facebook, Twitter, and LinkedIn display correctly with compelling visuals.
- Streamlining Development Workflow: To avoid manual configuration of OG tags for each page in a Next.js project.
- Maintaining Brand Consistency: To guarantee uniform branding across all social media shares originating from your Next.js application.
Key capabilities
- Automatic Open Graph metadata generation
- Image optimization for social sharing
- Compatibility with various social media platforms
- Simplified integration into Next.js projects
Example prompts
- "Generate OG tags for this Next.js page:
/blog/my-new-post" - "Create a shareable image and description for the homepage."
- "Update the Open Graph title to 'My Awesome Blog'."
Tips & gotchas
- Requires a Next.js project to function correctly.
- Ensure that your AI agent has access to the Next.js codebase or deployment environment to generate accurate metadata.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.