/xuanran-seo-blog-writer:topic-angle-selectorfrom xuanran-seo-blog-writer
Generates 6 SEO title candidates across multiple angles, validates them via title_validator.py, scores CTR potential, and selects the top one. Use after format-selector and before outline-architect.
Ships in xuanran-seo-blog-writer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Given a chosen format_id, generate 6 strong title candidates, validate them, pick the winner.
state.brief.primary_keyword + secondary_keywordsangle.json.format_id (from format-selector)research.json (top competitor titles, content gaps)references/seo/power-words.mdreferences/seo/angle-catalog.md (12 angles)references/seo/micro-copy-tactics.mdprojects/{slug}/brand-config.json (target_locale, banned_competitors)projects/{slug}/business-context.json :: voice_default → register (see below)Stop conflating one string. Produce two aligned fields (full rationale:
docs/title-optimization-plan-2026-06-16.md):
| Field | Job | Constraint |
|---|---|---|
seo_title | The indexed <title> / rank_math_title / og:title. Survives Google's rewrite (Google rewrites ~76% of titles; >65 chars → ~99.9%). | 51–60 chars (hard-fail >65 / <30), primary keyword once + front-loaded, sentence case, no bracketed/parenthesized year, register-compliant. |
h1 | The on-page H1 / WordPress post title. Carries the full human thesis + nuance + the year if wanted. | Longer OK (≤ ~90 chars). MUST share the entity + primary keyword + every number that is in seo_title (Google preserves a number in the displayed title 97.3% of the time only when it is in BOTH). |
The old single title field still maps to h1 for back-compat (publisher routes
meta.title → WP post title, meta.seo_title → rank_math_title).
Read business-context.json :: voice_default and resolve a register — or call
scripts.validate.title_validator.infer_register(voice_default):
| Register | Projects | Digit | Power words | Hard-banned |
|---|---|---|---|---|
b2b_technical | project-charlie, project-juliet | real metric/count, in H1 too | discouraged (warn) | hype: amazing/revolutionary/game-changer |
b2b_procurement | project-kilo | economics numbers | discouraged | hype |
dtc_celebration | project-hotel (living-pet/gift) | optional, soft | warmth ok | hype, urgency |
dtc_grief | project-hotel (pet-loss/memorial) | default none; soft if used | BANNED | hype, urgency, best/top/proven/ranked/guaranteed/#1, exclamation |
ecommerce | project-echo (after /init) | product specs | optional | — |
default | unknown | optional | optional | — |
project-hotel spans two registers — pick dtc_grief for pet-loss/memorial/cremation
content and dtc_celebration for living-pet/gift content, per the article's intent. Do
NOT use one project-wide register for it.
Updates workspace/{task_id}/angle.json with:
seo_title (winning, validated short <title>)h1 (aligned long display title — also written to title for back-compat)register (the resolved register key)slug_draftangle (one of 12)hookpromisepower_word (optional now — empty string is valid)digit (optional now — empty string is valid)personaalternative_titles_considered[] (5 backups for repair Round 5; each an {seo_title, h1} pair)Each candidate is an {seo_title, h1} pair. Constraints (changed 2026-06-16 — evidence in
docs/title-optimization-plan-2026-06-16.md):
references/seo/angle-catalog.md)seo_title is 51–60 chars (hard ceiling 65), primary_keyword once, front-loadedh1 carries the full thesis; shares the entity + keyword + every number in its seo_titledtc_grief register. Lead
with specificity (a defining metric, a contrast, the article's actual finding), not a power word.h1. For informational / myth-buster / grief intents, omit it.seo_title ((2026)/[2026] are rewrite-bait — put the
year in the h1 instead)Suggested distribution per 6 candidates:
Validate the seo_title, passing the register and the paired h1 so alignment + number
preservation are checked:
python -m scripts.validate.title_validator "{seo_title}" \
--primary "{primary_keyword}" --register "{register}" --h1 "{h1}" --json
Filter to those with all_passed: true (no hard issues). The warnings[] array is advisory —
prefer candidates with the fewest warnings but do not reject on warnings alone. If fewer than 3
pass, regenerate. Common hard failures now: seo_title >65 chars, a number in seo_title absent
from h1, a register-banned term. (Title Case and bracketed/parenthesized years are advisory
warnings, NOT hard fails — though sentence case + year-in-h1 remain the house preference.)
For surviving candidates, ask Claude Opus:
After CTR scoring, compare each surviving candidate against research.competitor_titles[].title.
Reject any candidate that matches a SERP top-10 title pattern. Common clone patterns to detect:
"The Complete Guide to X" / "The Ultimate Guide to X" / "The 2026 Guide to X""Best X for [year]" (when not differentiated by data, count, or persona)"X: Buyer's Guide" (generic, no thesis hook)"X 101" / "Everything You Need to Know About X""[N] Best X" lists when SERP top-10 already has multiple [N] Best X resultsA candidate is "SERP-cloning" if its non-keyword tokens overlap ≥60% with any top-10 competitor title. When detected, force the model to regenerate with one of these distinctive frames:
The winning title must (a) state the article's actual thesis, not its category, and (b) be discoverably different from every top-10 SERP competitor.
The single winner.
For the winner, generate:
Generate slug ≤40 chars, kebab-case, includes primary keyword tokens.
Do not include titles that:
brand-config.banned_competitors by nameN Best X for {Year}: {Power-Word} Picks as a bare
formula (no thesis) — Stage 3.5 will reject these as SERP-clones anyway(Year)/[Year] suffix in the seo_title (rewrite-bait; the year belongs in h1)dtc_grief: any power word, any commercial superlative (best/top/proven/ranked/#1),
urgency, or exclamation{
"seo_title": "7 best 1000 watt LED grow lamps: HPS-replacement tested",
"h1": "The 7 best 1000 watt LED grow lamps for 2026: commercial picks tested on efficiency, coverage, and HPS-replacement cost",
"title": "The 7 best 1000 watt LED grow lamps for 2026: commercial picks tested on efficiency, coverage, and HPS-replacement cost",
"register": "b2b_technical",
"slug_draft": "best-1000-watt-led-grow-lamps",
"angle": "comparison",
"hook": "After bench-testing 7 commercial 1000W-class LED lamps against measured PPE, coverage uniformity, and a 3-year HPS-replacement cost model, here is the ranking that survived the data.",
"promise": "Pick the right 1000W-class lamp for a commercial canopy without overpaying on watts you can't use.",
"power_word": "",
"digit": "7",
"persona": "Half-commercial cannabis cultivator (1–50 lights, 500–5000 sqft canopy)",
"alternative_titles_considered": [
{"seo_title": "1000 watt LED grow lamps: 7 picks vs HPS, by cost", "h1": "1000 watt LED grow lamps for 2026: 7 commercial picks compared against HPS on total cost"},
{"seo_title": "1000 watt LED grow lamps: real PPE vs marketing watts", "h1": "1000 watt LED grow lamps: real photon efficiency vs marketing wattage, 7 models measured"}
],
"validation": {
"seo_title_chars": 55,
"all_passed": true,
"warnings": ["power word 'tested' discouraged in b2b_technical"]
}
}
Note how the digit
7and entity1000 wattappear in bothseo_titleandh1(number preservation), the year lives only in theh1, and no power word is forced.
recommended_next_skill: outline-architect (uses chosen angle + format to design H2 structure)
scripts/validate/title_validator.py (6-check validator)references/seo/power-words.md (Power Word library)references/seo/angle-catalog.md (12 angles)subskills/build/outline-architect/SKILL.md (next stage)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xuanranl/loamwright-seo-skill --plugin xuanran-seo-blog-writer75 skills in this plugin
/ai-overview-recovery4-phase recovery when Google AI Overview drops an article. Measure damage → diagnose skip reason → rewrite → T+7/14/28 monitor. Triggered by drift-detector AIO loss alert OR /aio-recovery command./ai-visibility-trackerActive probe of ChatGPT/PPLX/Claude/Gemini to check if our article is cited. Compares to projects/{slug}/geo-baseline.json. Triggered by /ai-visibility command or daily/weekly schedule./batch-articleRun /article end-to-end for a list of keywords. Each keyword goes through the FULL pipeline (research → plan → build → optimize → publish → monitor baseline). Use for agency-scale operations — drop 10-500 keywords, get 10-500 published articles. Resumable across sessions./batch-job-pollerSupplemental recovery tool for orphan official-OpenAI image batches (batch is only ever used on the official-OpenAI fallback path; the primary openclawroot relay has no Batch API). The canonical image flow (openai-image-generator) runs realtime and does not require this skill. Use only to diagnose stuck batches or download images from a batch that completed after the main pipeline gave up./brand-auto-tunerAnalyze winner vs loser articles to find features that distinguish them, then suggest brand-guideline.yaml updates. Use after ≥10 articles have outcome tags. Closes the data-loop: production → measurement → learning → next-cycle adjustment./brand-guideline-maker7-Block interactive interview + URL Analysis triangulation. Builds projects/{slug}/brand-guideline.yaml that gets injected into every /article draft. The single most impactful one-time investment per brand — wrong voice = wrong content forever. Triggered by /brand-guideline command, OR after /init Stage 5 when voice-discrepancy detected.Other plugins' skills for the same job