WP Manifestindependent plugin directory
manifest / seo / wp-seo-copilot

WP SEO Copilot

AI-powered SEO meta generator for WordPress. Writes optimized meta titles and descriptions using Claude AI.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/sahibbilal/wp-seo-copilot/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

AI-written meta titles and descriptions for every post and page.

WP SEO Copilot reads your content and generates optimized meta titles (50–60 chars) and descriptions (140–160 chars) using Claude AI — one click per post or bulk-generate everything missing at once. Works with Yoast, RankMath, AIOSEO, and standalone.


What It Does

  • Dashboard shows all posts/pages with their current meta title, description, character counts, and coverage stats
  • ✨ Generate per post — Claude reads the title + content and writes keyword-rich, click-worthy SEO meta
  • Live character counters — turn red when over the limit
  • ✨ Generate All Missing — bulk-processes everything without SEO meta, sequentially, with a live progress bar
  • Auto-saves after generation — no extra clicks
  • SEO plugin detection — auto-detects Yoast, RankMath, or AIOSEO and saves to the correct fields
  • Fallback output — if no SEO plugin is installed, outputs <meta name="description"> and <title> directly in <head>

SEO Plugin Compatibility

Plugin Fields Written
Yoast SEO _yoast_wpseo_title, _yoast_wpseo_metadesc
RankMath rank_math_title, rank_math_description
AIOSEO _aioseo_title, _aioseo_description
None (standalone) _wseo_meta_title, _wseo_meta_desc + <head> output

Data is written to all field sets simultaneously — switching SEO plugins won't lose your generated meta.


File Structure

wp-seo-copilot/
├── wp-seo-copilot.php          # Bootstrap
├── includes/
│   ├── class-seo-fields.php    # Read/write Yoast, RankMath, AIOSEO, fallback
│   ├── class-generator.php     # Claude API — generates title + description
│   └── class-admin.php         # Dashboard UI + AJAX handlers
├── assets/
│   ├── admin.css
│   └── admin.js
└── README.md

Installation

  1. Upload wp-seo-copilot to /wp-content/plugins/
  2. Activate
  3. Go to SEO Copilot in the admin menu
  4. Add your Claude API key (from console.anthropic.com)
  5. Click ✨ Generate on any post or Generate All Missing to bulk-process

API Cost

  • Model: claude-haiku-4-5
  • ~$0.001 per post (small text input + short output)
  • 100 posts ≈ $0.10

Part of the 30-Day WordPress AI Plugin Series

Day 5 of building one open-source WordPress + AI plugin every day.

Follow along: bilalmahmood.dev


License

GPLv2 or later