Skip to content

Add SEO audit script for alchemyofbreath.com#676

Open
MalikJPalamar wants to merge 1 commit intovercel-labs:mainfrom
MalikJPalamar:claude/review-agent-browser-knhlI
Open

Add SEO audit script for alchemyofbreath.com#676
MalikJPalamar wants to merge 1 commit intovercel-labs:mainfrom
MalikJPalamar:claude/review-agent-browser-knhlI

Conversation

@MalikJPalamar
Copy link

Summary

Add a comprehensive SEO audit automation script that uses agent-browser to crawl and analyze the alchemyofbreath.com website, generating a detailed markdown report with SEO metrics and recommendations.

Key Changes

  • New audit script (seo-audit-aob.sh): Automated SEO analysis tool that:
    • Fetches and parses the sitemap to discover all indexed URLs
    • Checks robots.txt configuration
    • Validates llms.txt (LLM protocol) implementation
    • Audits 11 key pages for on-page SEO metrics including:
      • Title tags and meta descriptions (with character counts)
      • H1/H2 heading structure and validation
      • Open Graph and Twitter Card metadata
      • Structured data (JSON-LD) detection
      • Index/crawl status (noindex, nofollow flags)
      • Canonical tags
    • Generates a formatted markdown report with findings and recommendations

Implementation Details

  • Uses agent-browser for headless browser automation and JavaScript evaluation
  • Extracts SEO data via a single JavaScript evaluation call per page for efficiency
  • Includes visual indicators (✅, ❌, ⚠️) for quick status assessment
  • Provides a template for implementing the llms.txt standard to improve AI crawler discoverability
  • Generates comprehensive markdown report with tables, code blocks, and structured sections
  • Includes error handling with set -euo pipefail for robust bash execution

https://claude.ai/code/session_01KMz2Y5gQfmz2EFerAZznXV

Bash script using agent-browser to audit onsite SEO across key pages:
- Fetches sitemap.xml and robots.txt
- Checks for llms.txt (LLM protocol)
- Audits 11 pages for title, meta description, meta robots, canonical,
  H1/H2 tags, Open Graph tags, and structured data
- Outputs a full markdown report with a ready-to-use llms.txt template

https://claude.ai/code/session_01KMz2Y5gQfmz2EFerAZznXV
@vercel
Copy link
Contributor

vercel bot commented Mar 7, 2026

@claude is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +71 to +72
node -e "
const d = JSON.parse($'$data');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node -e "
const d = JSON.parse($'$data');
SEO_DATA="$data" node -e "
const d = JSON.parse(process.env.SEO_DATA);

Embedding $data via $'$data' inside a double-quoted node -e string produces invalid JavaScript and is susceptible to shell injection from scraped web content.

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants