New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Comprehensive SEO toolkit that adds keyword research, on-page optimization, technical audits, and GA4 and GSC analytics.

version
1.6.2
GitHub stars
289
View on GitHub

What it does

  • Adds 9 commands (/research, /optimize, /brief, /audit, /review, /alternatives, /performance, /setup-analytics, /start) and 5 agents (analyst, researcher, writer, editor, data-analyst)
  • Covers the content workflow from SERP analysis and keyword clustering through brief writing, optimization, and performance correlation
  • Provides multi-model review and A/B content alternatives, with consensus scoring and cost shown before execution
  • Connects to Google Analytics 4 and Google Search Console through .mcp.json, with a /setup-analytics wizard for configuration

Highly autonomous SEO toolkit (~80% autonomy) with AUTO GATEs, self-correction loops, and multi-model validation. v1.6.2: Updated for claudish v4.5.1 (--agent flag removed). Features E-E-A-T self-assessment, keyword research, content optimization, technical audits.

Add marketplace

/plugin marketplace add MadAppGang/claude-code

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install seo@mag-claude-plugins

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

plugin: seo updated: 2026-01-20

Analytics Interpretation

When to Use

  • Analyzing content performance reports
  • Understanding traffic patterns
  • Interpreting search console data
  • Making data-driven content decisions
  • Explaining metrics to stakeholders

Metric Benchmarks

Google Analytics 4 (GA4)

MetricGoodWarningPoorAction When Poor
Avg Time on Page>3 min1-3 min<1 minImprove content depth, add multimedia
Bounce Rate<40%40-70%>70%Add internal links, improve intro hook
Engagement Rate>60%30-60%<30%Review content quality, add CTAs
Scroll Depth>75%50-75%<50%Add visual breaks, improve structure
Pages/Session>2.51.5-2.5<1.5Improve internal linking

Google Search Console (GSC)

MetricGoodWarningPoorAction When Poor
CTR>5%2-5%<2%Improve title/meta description
Avg Position1-34-10>10Strengthen content, build links
Impressions TrendGrowingStableDecliningRefresh content, target new keywords
Mobile UsabilityPASS-FAILFix mobile issues immediately
Core Web VitalsGOODNEEDS_IMPROVEMENTPOOROptimize performance

Interpreting Combined Signals

Traffic Quality Matrix

                    High Engagement
                          │
           ┌──────────────┼──────────────┐
           │  HIDDEN GEM  │   STAR       │
           │  Low traffic │   High traffic│
           │  High quality│   High quality│
           │  → Promote   │   → Maintain  │
Low ───────┼──────────────┼──────────────┼─── High
Traffic    │              │              │   Traffic
           │  UNDERPERFORM│   LEAKY      │
           │  Low traffic │   High traffic│
           │  Low quality │   Low quality │
           │  → Rework    │   → Optimize  │
           └──────────────┼──────────────┘
                          │
                    Low Engagement

Search Intent Alignment

GSC SignalGA4 SignalInterpretation
High impressionsLow clicksTitle/meta mismatch with intent
High CTRHigh bounceContent doesn't deliver on promise
Low CTRHigh engagement (when clicked)Hidden gem, improve snippet
Growing impressionsStable clicksRanking improving, CTR opportunity

Score Calculation Methodology

Content Health Score (0-100)

health_score = (
    engagement_score × 0.30 +
    seo_score × 0.30 +
    ranking_score × 0.20 +
    trend_score × 0.20
)

Component Calculations:

engagement_score = normalize(
    time_on_page_score × 0.4 +
    bounce_rate_score × 0.3 +
    scroll_depth_score × 0.3
)

seo_score = normalize(
    ctr_score × 0.4 +
    position_score × 0.4 +
    impressions_growth × 0.2
)

ranking_score = normalize(
    avg_position × 0.5 +
    visibility_score × 0.3 +
    keyword_coverage × 0.2
)

trend_score = normalize(
    traffic_trend × 0.4 +
    ranking_trend × 0.3 +
    engagement_trend × 0.3
)

Score Interpretation

ScoreRatingStatusAction
90-100ExcellentPerforming optimallyMaintain, minor tweaks
75-89GoodSolid performanceOptimize weak areas
60-74FairRoom for improvementAddress key issues
40-59PoorUnderperformingMajor revision needed
0-39CriticalFailingComplete overhaul

Trend Analysis

Week-over-Week Comparison

| Metric | This Week | Last Week | Change | Status |
|--------|-----------|-----------|--------|--------|
| Sessions | 1,245 | 1,180 | +5.5% | ↑ GROWING |
| Avg Position | 4.2 | 4.8 | +0.6 | ↑ IMPROVING |
| CTR | 2.8% | 2.6% | +0.2pp | ↑ IMPROVING |
| Bounce Rate | 42% | 38% | +4pp | ↓ DECLINING |

Interpreting Trends

Trend PatternInterpretationRecommended Action
↑↑↑ All metrics upContent gaining momentumDouble down, create related content
↑↓↑ Mixed signalsTransition periodMonitor closely, identify cause
↓↓↓ All metrics downContent decliningUrgent refresh needed
→→→ All flatPlateau reachedExperiment with new angles

Anomaly Detection

Significant Change Thresholds

MetricSignificant ChangeAlert Level
Traffic±30% WoWHIGH
CTR±1pp WoWMEDIUM
Position±5 positionsHIGH
Bounce Rate±10pp WoWMEDIUM

Common Anomaly Causes

AnomalyPossible Causes
Sudden traffic dropAlgorithm update, technical issue, competitor
CTR spikeSERP feature win, seasonal interest
Position fluctuationGoogle testing, competitor changes
Engagement dropContent staleness, UX issue

Output Templates

Metric Summary Card

## {Metric Name}

**Current Value**: {value}
**Benchmark**: {benchmark}
**Status**: {GOOD|WARNING|POOR}
**Trend**: {↑|→|↓} ({change}% vs last period)

**Interpretation**: {1-2 sentence explanation}

**Recommended Action**: {specific action if needed}

Executive Summary

## Content Performance Summary

**Overall Health**: {score}/100 ({rating})

### Key Wins
- {positive finding 1}
- {positive finding 2}

### Concerns
- {issue 1}
- {issue 2}

### Priority Actions
1. {highest priority action}
2. {second priority action}
3. {third priority action}

Readme

SEO Plugin

Version: 1.2.0 Category: Content License: MIT

Comprehensive SEO toolkit with keyword research, content optimization, technical audits, multi-agent content workflows, and analytics integrations (GA4, GSC).

Features

  • SERP Analysis - Search engine results page analysis with intent classification
  • Keyword Research - Semantic clustering and content gap analysis
  • Content Optimization - On-page SEO improvements with readability scoring
  • Content Brief Generation - Structured briefs for SEO-optimized content
  • Technical SEO Audits - Schema markup, internal linking, and technical health checks
  • E-E-A-T Validation - Experience, Expertise, Authoritativeness, Trustworthiness scoring
  • Multi-Agent Workflows - Coordinated execution across 5 specialized agents
  • Analytics Integration - GA4, Google Search Console data correlation
  • Multi-Model Review - Parallel AI validation with E-E-A-T consensus scoring
  • A/B Alternative Generation - Multi-model content alternatives with voting

Architecture

+-------------------------------------------------------------+
|                      SEO PLUGIN (v1.2.0)                    |
+-------------------------------------------------------------+
|                                                             |
|  COMMANDS (8)                    AGENTS (5)                 |
|  +-- /research                  +-- seo-analyst (Sonnet)    |
|  +-- /optimize                  +-- seo-researcher (Sonnet) |
|  +-- /brief                     +-- seo-writer (Sonnet)     |
|  +-- /audit                     +-- seo-editor (Opus)       |
|  +-- /review                    +-- seo-data-analyst (Sonnet)|
|  +-- /alternatives                                          |
|  +-- /performance               ANALYTICS INTEGRATIONS      |
|  +-- /setup-analytics           +-- Google Analytics 4      |
|                                 +-- Google Search Console   |
|  SKILLS (10)                                                |
|  +-- keyword-cluster-builder                                |
|  +-- content-optimizer          TOOL INTEGRATIONS           |
|  +-- content-brief              +-- WebFetch, WebSearch     |
|  +-- technical-audit            +-- Chrome DevTools MCP     |
|  +-- serp-analysis              +-- Claudish (multi-model)  |
|  +-- schema-markup              +-- claudeup (MCP setup)    |
|  +-- link-strategy                                          |
|  +-- analytics-interpretation   DEPENDENCIES                |
|  +-- performance-correlation    +-- orchestration plugin    |
|  +-- data-extraction-patterns                               |
|                                                             |
+-------------------------------------------------------------+

Agents

SEO Analyst (Sonnet, Purple)

SERP analysis, search intent extraction, and competitive intelligence.

Use cases:

  • Analyze SERP for target keywords
  • Classify search intent (informational, commercial, transactional, navigational)
  • Competitive content analysis
  • Featured snippet opportunity identification

SEO Researcher (Sonnet, Blue)

Keyword research, content gap analysis, and data gathering.

Use cases:

  • Expand seed keywords to 50-100 related terms
  • Semantic clustering by topic and intent
  • Funnel stage mapping (awareness, consideration, decision)
  • Content gap identification

SEO Writer (Sonnet, Green)

SEO-optimized content generation from structured briefs.

Use cases:

  • Generate content from briefs
  • Optimize meta tags (title, description)
  • Integrate keywords naturally
  • Add internal/external links
  • Optimize for featured snippets

SEO Editor (Opus, Cyan)

Quality review, SEO compliance, and E-E-A-T validation.

Use cases:

  • Review content for SEO compliance
  • Validate E-E-A-T signals
  • Check keyword optimization
  • Verify readability scores
  • Validate schema markup

SEO Data Analyst (Sonnet, Cyan)

Analytics data specialist for cross-source performance correlation.

Use cases:

  • Interpret GA4 and GSC data
  • Correlate metrics across sources (high impressions + low CTR = snippet issue)
  • Calculate Content Health Score (0-100)
  • Generate data-driven optimization recommendations

Commands

/seo-research <keyword>

Comprehensive keyword research workflow with multi-agent orchestration.

Workflow: SESSION INIT → ANALYST → RESEARCHER → REPORT

Deliverables:

  • SERP analysis with intent classification
  • 50-100 keyword cluster
  • Funnel stage mapping
  • Content gap analysis
  • Priority recommendations

/seo-optimize <file>

Optimize existing content for target keywords.

Workflow: SESSION INIT → ANALYZE → RECOMMEND → APPLY → VERIFY

Improvements:

  • Keyword density optimization
  • Meta tag refinement
  • Heading structure
  • Readability improvements
  • Internal linking suggestions

Optional: Multi-model validation for critical content

/seo-brief <keyword>

Generate comprehensive content brief for target keyword.

Workflow: SESSION INIT → ANALYST → RESEARCHER → WRITER → BRIEF

Deliverables:

  • Target keyword and secondaries
  • Search intent classification
  • Competitor analysis
  • Outline with keyword mapping
  • Word count target
  • E-E-A-T requirements

/audit <url>

Technical SEO audit with Chrome DevTools MCP integration.

Workflow: SESSION INIT → FETCH → ANALYZE → REPORT

Checks:

  • Schema markup validation
  • Internal link analysis
  • Meta tag compliance
  • Readability scoring
  • Mobile-friendliness
  • Page speed indicators

/review <file|content>

Multi-model E-E-A-T content review with parallel validation.

Workflow: SESSION INIT → PARALLEL REVIEWS → CONSENSUS → REPORT

Features:

  • Parallel execution with 8 external AI models
  • E-E-A-T consensus scoring (0-100)
  • Severity classification (UNANIMOUS, STRONG, MAJORITY, DIVERGENT)
  • Cost transparency before execution

/alternatives <content>

Generate A/B content alternatives using multiple AI models.

Workflow: SESSION INIT → PARALLEL GENERATION → VOTING → SELECTION

Features:

  • Multiple content variations from different AI perspectives
  • Community voting simulation
  • Best alternative selection with rationale

/performance <url>

Content performance analysis combining GA4 and GSC data.

Workflow: SESSION INIT → PARALLEL DATA FETCH → CORRELATE → ANALYZE → RECOMMEND

Features:

  • Parallel fetching from all configured analytics sources
  • Content Health Score (0-100) calculation
  • Cross-source correlation patterns
  • Graceful degradation (works with 1 or 2 sources)
  • Quick wins, strategic, and long-term recommendations

/setup-analytics

Interactive setup wizard for SEO analytics integrations.

Workflow: CHECK STATUS → SELECT SERVICES → CONFIGURE → VALIDATE → SAVE

Supports:

  • Google Analytics 4 (page metrics, engagement)
  • Google Search Console (search performance, CTR)

Quick Setup: Run npx claudeup and navigate to SEO & Analytics.

Skills

keyword-cluster-builder

Semantic keyword clustering and topic modeling patterns.

content-optimizer

On-page SEO optimization techniques and readability formulas.

content-brief

Structured content brief generation with competitive analysis.

technical-audit

Technical SEO checklist and validation patterns.

serp-analysis

SERP feature identification and intent classification.

schema-markup

Schema.org implementation and validation patterns.

link-strategy

Internal linking strategy and anchor text optimization.

analytics-interpretation

Metric benchmarks and status indicators for GA4 and GSC data.

performance-correlation

Cross-source correlation patterns and Content Health Score calculation.

data-extraction-patterns

API patterns, rate limiting, caching, and error handling for analytics data.

Analytics Integration

The SEO plugin integrates with two analytics platforms via MCP servers:

Google Analytics 4

  • MCP Server: mcp-server-google-analytics
  • Metrics: Page views, engagement rate, bounce rate, session duration
  • Setup: Service Account with Analytics Data API enabled

Google Search Console

  • MCP Server: mcp-server-gsc
  • Metrics: Impressions, clicks, CTR, average position
  • Setup: Service Account with Search Console API access

Quick Setup

# Recommended: Use claudeup TUI for easy MCP server setup
npx claudeup
# Navigate to: MCP Server Setup → SEO & Analytics

Or run /setup-analytics for an interactive setup wizard.

Multi-Agent Workflow

Sequential Pipeline with Quality Gates:

+------------------+     +------------------+     +------------------+     +------------------+
|   SEO ANALYST    |---->|   RESEARCHER     |---->|   SEO WRITER     |---->|   SEO EDITOR     |
|     (Sonnet)     |     |     (Sonnet)     |     |     (Sonnet)     |     |     (Opus)       |
+------------------+     +------------------+     +------------------+     +------------------+
        |                        |                        |                        |
        v                        v                        v                        v
   SERP Analysis            Keyword Cluster           Content Draft           Final Review
   Intent Mapping           Content Gaps              Optimized Copy          E-E-A-T Check
   Competitor Intel         Supporting Data           Internal Links          SEO Compliance
        |                        |                        |                        |
        v                        v                        v                        v
   [USER GATE]              [AUTO GATE]              [USER GATE]           [FINAL APPROVE]

Installation

Option 1: From Marketplace

/plugin marketplace add MadAppGang/claude-code
/plugin install seo@mag-claude-plugins

Option 2: Per-Project (Recommended for Teams)

Add to .claude/settings.json:

{
  "enabledPlugins": {
    "seo@mag-claude-plugins": true
  }
}

Commit this file and team members get automatic setup.

Dependencies

This plugin requires the orchestration plugin for multi-agent coordination patterns:

{
  "dependencies": {
    "orchestration@mag-claude-plugins": "^0.5.0"
  }
}

The orchestration plugin installs automatically when you install the SEO plugin.

Session-Based Workflows

All commands use session-based artifact management:

Session Path: /tmp/seo-{timestamp}-{keyword-slug}/

Artifacts:
- serp-analysis-{keyword}.md
- keyword-research.md
- content-brief.md
- content-draft.md
- editorial-review.md
- final-report.md

Session Retention: 7 days (copy important artifacts to ai-docs/ for permanence)

Tool Integrations

  • WebSearch - SERP data retrieval
  • WebFetch - Competitor page analysis
  • Chrome DevTools MCP - Technical SEO validation (optional)
  • Claudish - Multi-model validation (optional)

Example Usage

Keyword Research

/seo-research "content marketing"

Result: 75 keywords across 8 clusters with priority recommendations

Content Optimization

/seo-optimize docs/blog/content-marketing-guide.md

Result: Optimized content with improved keyword density, meta tags, and readability

Content Brief

/seo-brief "best project management software"

Result: Comprehensive brief with outline, keyword mapping, and competitor insights

Technical Audit

/seo-audit https://example.com/blog/post

Result: Technical SEO report with schema, internal links, and compliance checks

E-E-A-T Scoring

The seo-editor agent uses a quantified E-E-A-T rubric (0-100 scale):

FactorWeightScore RangeSignals
Experience30%0-30First-hand examples, case studies, original research
Expertise30%0-30Depth of coverage, technical accuracy, sources cited
Authoritativeness20%0-20Author credentials, backlinks, brand mentions
Trustworthiness20%0-20Fact-checking, transparency, contact info, HTTPS

Scoring:

  • 90-100: Excellent (publish-ready)
  • 75-89: Good (minor improvements)
  • 60-74: Fair (needs work)
  • <60: Poor (major revisions required)

Best Practices

  1. Start with Research - Always run /seo-research before content creation
  2. Follow the Pipeline - ANALYST → RESEARCHER → WRITER → EDITOR
  3. Use Session Artifacts - Review intermediate outputs for quality
  4. Copy Final Reports - Move session artifacts to permanent storage
  5. Validate E-E-A-T - Let seo-editor review before publishing
  6. Test Technical SEO - Run /seo-audit before going live

Troubleshooting

WebSearch/WebFetch Failures

  • Retry with simplified queries
  • Fall back to pattern-based keyword expansion
  • Note data limitations in reports

Session Cleanup

  • Sessions older than 7 days may be deleted
  • Copy important artifacts to ai-docs/ directory
  • Use session metadata to track artifacts

Chrome DevTools MCP

  • Required for /seo-audit command
  • Falls back to WebFetch if MCP unavailable
  • See orchestration plugin for MCP setup

Contributing

Issues and feature requests: https://github.com/MadAppGang/claude-code/issues

License

MIT License - see LICENSE file for details

Author

Jack Rudenko (i@madappgang.com) @ MadAppGang

Details

Marketplace
MadAppGang/claude-code
Source
plugins/seo
Author
Jack Rudenko
Category
Content
Keywords
seo, content-optimization, keyword-research, serp-analysis, technical-seo, content-strategy, google-analytics, search-console, performance-analysis
Listed since
Apr 6, 2026

More from MadAppGang/claude-code

All 9