seb1n/seo-optimization
Optimize a webpage for search engines by analyzing on-page elements, improving technical performance, and implementing structured data for maximum visibility.
npx skills add https://github.com/seb1n/awesome-ai-agent-skills --skill seo-optimization
This skill enables an AI agent to perform comprehensive search engine optimization on any webpage or website. The agent audits on-page factors (title tags, meta descriptions, headings, internal links), evaluates technical SEO health (Core Web Vitals, mobile-first indexing, crawlability), and implements structured data markup. The goal is to produce actionable recommendations that improve organic search rankings and click-through rates.
robots.txt, XML sitemap, canonical tags, and hreflang tags for international sites. Identify render-blocking resources and unused CSS/JS.Provide the agent with the URL of the webpage to optimize and, optionally, the target keyword. The agent will return a full audit report with actionable fixes.
Prompt: Optimize the following page for the keyword "project management tools": https://example.com/blog/best-pm-tools
Request: Optimize https://acme.com/blog/remote-work-tips for the keyword "remote work tips".
Before — HTML head:
<head>
<title>Blog Post | Acme Co</title>
<meta name="description" content="Read our latest blog post.">
</head>
After — Optimized HTML head:
<head>
<title>15 Remote Work Tips That Boost Productivity in 2025 | Acme Co</title>
<meta name="description" content="Discover 15 proven remote work tips to stay productive, manage your time, and avoid burnout. Backed by research from 500+ distributed teams.">
<link rel="canonical" href="https://acme.com/blog/remote-work-tips">
<meta property="og:title" content="15 Remote Work Tips That Boost Productivity">
<meta property="og:description" content="Proven strategies from 500+ distributed teams.">
<meta property="og:type" content="article">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "15 Remote Work Tips That Boost Productivity in 2025",
"author": { "@type": "Person", "name": "Jane Smith" },
"datePublished": "2025-03-10",
"description": "Proven remote work tips backed by research from 500+ distributed teams."
}
</script>
</head>
Request: Run a technical SEO audit on https://acme.com.
Audit Report:
| Priority | Issue | Details | Fix |
|----------|-------|---------|-----|
| Critical | Missing XML sitemap | No sitemap found at /sitemap.xml; 40% of pages not indexed | Generate and submit sitemap to Search Console |
| Critical | LCP = 4.8s on mobile | Hero image is 2.4 MB uncompressed PNG | Convert to WebP, add width/height, use loading="lazy" |
| High | Duplicate title tags | 12 pages share the title "Acme Co — Home" | Write unique, keyword-rich titles for each page |
| High | Missing canonical tags | 8 pages lack <link rel="canonical">, causing index bloat | Add self-referencing canonicals to every page |
| Medium | No robots.txt | Entire site crawlable including /admin and /staging | Create robots.txt disallowing private paths |
| Low | Images missing alt text | 34 of 120 images have empty alt attributes | Add descriptive alt text with relevant keywords |
<meta name="robots" content="noindex"> on pages that require login to avoid thin-content penalties, or implement structured data for paywalled content per Google's guidelines.rel="next" and rel="prev" on paginated archives, and ensure the canonical points to the current page rather than page 1.Take seb1n/seo-optimization from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.