Seo audit

From fortunto2/solo-factory · View interactive version

Seo audit is an AI agent skill from the GitHub repository fortunto2/solo-factory. Use when "check SEO", "audit this page", "SEO score", "check meta tags", "SERP position", or need website SEO health check. Do NOT use for landing content (/landing-gen) or social media posts (/content-gen).

How to use this skill

Skill file

/seo-audit

SEO health check for any URL or project landing page. Fetches the page, analyzes meta tags, OG, JSON-LD, sitemap, robots.txt, checks SERP positions for target keywords, and outputs a scored report.

seo-cli (use if available)

Dedicated SEO CLI — repo: https://github.com/fortunto2/seo-cli

# Install (one-time)
git clone https://github.com/fortunto2/seo-cli.git ~/startups/shared/seo-cli
cd ~/startups/shared/seo-cli && uv venv && uv pip install -e .
cp config.example.yaml config.yaml  # add credentials (GSC, Bing, Yandex, IndexNow)
# Detect seo-cli
python ~/startups/shared/seo-cli/cli.py --help 2>/dev/null

If available, prefer seo-cli commands over manual WebFetch:

If seo-cli is not available, fall back to WebFetch-based audit below.

MCP Tools (use if available)

If MCP tools are not available, use Claude WebSearch/WebFetch as fallback.

Steps

  1. Parse target from $ARGUMENTS.
  1. Fetch the page via WebFetch. Extract:
  1. Check infrastructure files:
  1. Forced reasoning — assess before scoring:

Write out before proceeding:

  1. SERP position check — for 3-5 keywords:
  1. Score calculation (0-100):

| Check | Max Points | Criteria |

|-------|-----------|----------|

| Title tag | 10 | Exists, 50-60 chars, contains primary keyword |

| Meta description | 10 | Exists, 150-160 chars, compelling |

| OG tags | 10 | og:title, og:description, og:image all present |

| JSON-LD | 10 | Valid structured data present |

| Canonical | 5 | Present and correct |

| Sitemap | 10 | Exists, valid, referenced in robots.txt |

| Robots.txt | 5 | Exists, no overly broad Disallow |

| H1 structure | 5 | Exactly one H1, descriptive |

| HTTPS | 5 | Site uses HTTPS |

| Mobile meta | 5 | Viewport tag present |

| Language | 5 | lang attribute on <html> |

| Favicon | 5 | Exists |

| SERP presence | 15 | Found in top 10 for target keywords |

  1. Write report to docs/seo-audit.md (in project context) or print to console:

```markdown

# SEO Audit: {URL}

Date: {YYYY-MM-DD}

Score: {N}/100

## Summary

{2-3 sentence overview of SEO health}

## Checks

| Check | Status | Score | Details |

|-------|--------|-------|---------|

| Title | pass/fail | X/10 | "{actual title}" (N chars) |

| ... | ... | ... | ... |

## SERP Positions

| Keyword | Position | Top Competitors |

|---------|----------|----------------|

| {kw} | #N or N/A | competitor1, competitor2, competitor3 |

## Critical Issues

## Recommendations (Top 3)

1. {highest impact fix}

2. {second priority}

3. {third priority}

```

  1. Output summary — print score and top 3 recommendations.

Notes

Gotchas

  1. SPA without SSR scores zero — if the page is client-rendered only (React SPA, no Next.js SSR), search engines see an empty <div id="root">. Check view-source: to verify HTML contains actual content.
  2. Sitemap in robots.txt is not optional — Google finds sitemaps from robots.txt Sitemap: directive. Without it, indexing depends on internal link crawling which is slow for new sites.
  3. JSON-LD errors are silent — malformed JSON-LD doesn't break the page but Google ignores it completely. Validate with https://search.google.com/test/rich-results before shipping.
  4. Multiple H1 tags confuse crawlers — many UI frameworks render component titles as H1. Audit the actual DOM — there should be exactly one H1 per page. Use H2-H3 for section headings.
  5. Core Web Vitals affect ranking — LCP (Largest Contentful Paint) < 2.5s, FID (First Input Delay) < 100ms, CLS (Cumulative Layout Shift) < 0.1. Check via npx lighthouse {url} --output=json if lighthouse is available.

Common Issues

Page fetch fails

Cause: URL is behind authentication, CORS, or returns non-HTML.

Fix: Ensure the URL is publicly accessible. For SPAs, check if content is server-rendered.

SERP positions show "not found"

Cause: Site is new or not indexed by search engines.

Fix: This is expected for new sites. Submit sitemap to Google Search Console and re-audit in 2-4 weeks.

Low score despite good content

Cause: Missing infrastructure files (sitemap.xml, robots.txt, JSON-LD).

Fix: These are the highest-impact fixes. Generate sitemap, add robots.txt with sitemap reference, and add JSON-LD structured data.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.