seo-optimizer
Audit and optimize WordPress SEO (Yoast/Rank Math) - checks focus keywords, meta descriptions, featured images. Uses Unsplash API for missing images. Run on all pages/posts to identify and fix SEO issues.
What this skill does
# SEO Optimizer Skill
Comprehensive SEO audit and optimization for WordPress sites using Yoast SEO or Rank Math.
## What This Skill Does
1. **Audit all pages/posts** for SEO completeness
2. **Check focus keywords** - ensures each page has one set
3. **Validate meta descriptions** - confirms focus keyword appears in description
4. **Verify featured images** - checks if present and properly named
5. **Auto-fix issues** using Unsplash API for missing images
6. **Generate reports** with actionable recommendations
## SEO Rules Enforced
### Focus Keyword Rules
- Every page/post MUST have a focus keyword
- Focus keyword should be 1-3 words, relevant to content
- Focus keyword MUST appear in meta description at least once
### Meta Description Rules
- Must be 120-160 characters (optimal for SERPs)
- Must contain the focus keyword
- Should be compelling and include a call to action
- Must be unique per page
### Featured Image Rules
- Every page/post MUST have a featured image
- Image ALT text should contain the focus keyword
- Image title should BE the focus keyword
- Image should be relevant to page content
## Usage
Ask Claude to run SEO audit:
- "Run SEO audit on all pages"
- "Check SEO for the portfolio page"
- "Fix missing featured images across the site"
- "Optimize meta descriptions for all pages"
## Technical Details
### Yoast SEO Meta Keys
```
_yoast_wpseo_focuskw - Focus keyword
_yoast_wpseo_metadesc - Meta description
_yoast_wpseo_title - SEO title
_thumbnail_id - Featured image ID
```
### Rank Math Meta Keys
```
rank_math_focus_keyword - Focus keyword
rank_math_description - Meta description
rank_math_title - SEO title
_thumbnail_id - Featured image ID
```
### REST API Endpoints
```
GET /wp-json/wp/v2/pages - List all pages
GET /wp-json/wp/v2/posts - List all posts
GET /wp-json/yoast/v1/get_head - Get Yoast SEO data for URL
POST /wp-json/wp/v2/media - Upload image
POST /wp-json/wp/v2/pages/{id} - Update page (featured_media)
```
### Database Direct Access (if API limited)
```sql
-- Get Yoast focus keyword
SELECT meta_value FROM wp_postmeta
WHERE post_id = {id} AND meta_key = '_yoast_wpseo_focuskw';
-- Update meta description
UPDATE wp_postmeta SET meta_value = '{desc}'
WHERE post_id = {id} AND meta_key = '_yoast_wpseo_metadesc';
```
## Workflow
### 1. Audit Phase (Parallel Haiku Agents)
- Agent 1: Audit Home + About pages
- Agent 2: Audit Portfolio + Contact pages
- Agent 3: Audit Legal pages (Privacy, Terms)
- Agent 4: Audit all Property posts
### 2. Report Generation
```json
{
"page": "About",
"url": "/about/",
"focus_keyword": {
"status": "ok|missing|weak",
"value": "real estate development",
"in_title": true,
"in_description": true
},
"meta_description": {
"status": "ok|missing|too_short|too_long|missing_keyword",
"length": 156,
"value": "..."
},
"featured_image": {
"status": "ok|missing|wrong_alt",
"id": 123,
"alt": "...",
"title": "..."
},
"recommendations": [
"Add focus keyword to meta description",
"Update featured image ALT text"
]
}
```
### 3. Fix Phase
- Use Unsplash API to find relevant images
- Upload to WordPress media library
- Set as featured image with correct ALT/title
- Update meta descriptions to include focus keyword
## Unsplash Integration
Uses the Unsplash MCP server configured at `/root/.claude/.mcp.json`:
- Search for images matching focus keyword
- Download high-quality image
- Upload to WordPress
- Set proper metadata
## Example Audit Output
```
SEO AUDIT REPORT - CSR Development
===================================
Page: About
-----------
Focus Keyword: real estate Miami ✓
Meta Description: "CSR Real Estate builds legacy..." (156 chars) ✓
- Contains focus keyword: YES ✓
Featured Image: team-photo.jpg ✓
- ALT text: "CSR team" ⚠ (should contain focus keyword)
- Title: "team-photo" ⚠ (should be focus keyword)
Score: 80/100
Recommendations:
1. Update image ALT to "real estate Miami team"
2. Update image title to "real estate Miami"
Page: Portfolio
---------------
Focus Keyword: MISSING ✗
Meta Description: MISSING ✗
Featured Image: MISSING ✗
Score: 0/100
Recommendations:
1. Add focus keyword: "Miami properties" or "real estate portfolio"
2. Add meta description with focus keyword
3. Add featured image from Unsplash (search: Miami real estate)
```
## Sources
- [Yoast REST API Documentation](https://developer.yoast.com/customization/apis/rest-api/)
- [Yoast Meta Description API](https://developer.yoast.com/features/seo-tags/descriptions/api/)
- [Rank Math API Manager Plugin](https://github.com/Devora-AS/rank-math-api-manager)
- [WordPress REST API Featured Images](https://rudrastyh.com/wordpress/rest-api-get-featured-image-url.html)
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".