What the Weekly SEO agent does
mainThe agent performs 12 automated tasks in a single weekly pass to generate a comprehensive SEO report:
- Ranking changes: Compares GSC and Ahrefs data to flag significant drops in position, impressions, or CTR.
- Page-2 opportunities: Identifies queries in positions 11-20 and suggests content edits based on top-ranking competitors.
- New backlinks: Pulls new referring domains from Ahrefs and categorizes them (High Authority, Niche, Neutral, or Spam).
- Lost backlinks: Identifies lost domains and drafts outreach emails for high-value (DR > 40) losses.
- Core Web Vitals drift: Monitors GSC and PageSpeed Insights for regressions in LCP, INP, or CLS.
- Indexation health: Summarizes GSC indexing reports by reason (e.g., 'Crawled - currently not indexed').
- AI bot traffic: Uses PostHog to monitor traffic from bots like
GPTBotorClaudeBot, checkingrobots.txtcompliance for sensitive site types. - Competitor SERP monitoring: Tracks the top 3 results for target keywords and flags new entrants or dropped competitors.
- Content freshness audit: Identifies aging content with declining clicks and recommends refresh priorities.
- Schema validity: Samples pages and validates JSON-LD against schema.org requirements.
- Stats memory snapshot: Appends longitudinal data to
weekly-seo/memory/stats.csvandweekly-seo/memory/keywords.csv. - Change log validation: Reviews
weekly-seo/memory/changelog.mdto validate if previous site changes had the intended SEO impact.