/xuanran-seo-blog-writer:brand-auto-tunerfrom xuanran-seo-blog-writer
Analyzes winner vs loser articles to find distinguishing features and suggests brand-guideline.yaml updates. Closes the data-loop from production to measurement to learning.
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.
The third leg of the closed-loop. After outcome_tagger labels articles as winner / mid / loser based on real GSC + AI citation data, this finds the patterns that distinguish winners and suggests brand-guideline tweaks.
outcome_tagger.py first)/tuner or /auto-tune (user invokes)# Single site
python -m scripts._core.brand_auto_tuner --site my-site
# All sites in portfolio
python -m scripts._core.brand_auto_tuner --all-sites
# Higher threshold for noisier datasets
python -m scripts._core.brand_auto_tuner --site my-site --min-per-group 10
Two files per site:
projects/{slug}/brand-tuner-report-{date}.json — full findingsprojects/{slug}/brand-guideline.diff.{date}.yaml — suggested overlayThe diff is NOT auto-applied. User reviews, then manually merges desired
findings into brand-guideline.yaml.
━━ Brand tuner: my-fishing-site ━━━━━━━━━━━━━━━━━━━━━━━
Articles: 47 (winners 12, mid 22, losers 13)
Confidence: medium
Findings: 6
Output: projects/my-site/brand-tuner-report-2026-05-19.json
Diff: projects/my-site/brand-guideline.diff.2026-05-19.yaml
Significant patterns:
🔴 [large ] first_person_pct
winners have higher first_person_pct (mean 14.3 vs losers 6.2).
Consider targeting around 14.3 (band ±15%).
🔴 [large ] info_gain_marker_count
winners have higher info_gain_marker_count (mean 3.1 vs losers 1.2).
Consider targeting around 3.1 (band ±15%).
🟡 [medium] tier1_citation_count
winners have higher tier1_citation_count (mean 4.2 vs losers 2.1).
Consider targeting around 4.2 (band ±15%).
🟡 [medium] format=listicle
format='listicle' wins more often (rate 67% vs portfolio avg 26%).
Bias towards this format.
🟡 [medium] ai_slop_score
winners have lower ai_slop_score (mean 18.2 vs losers 31.5).
Consider targeting around 18.2 (band ±15%).
🟡 [medium] format=how-to-guide
format='how-to-guide' wins less often (rate 12% vs portfolio avg 26%).
Avoid this format.
For each feature in [word_count, h2_count, citation_count, tier1_citation_count, image_count, info_gain_marker_count, first_person_pct, ai_slop_score, core_eeat_score, cite_score, reviewer_score, ...]:
For each category of format, voice, purpose:
| Winners n | Confidence | What to do |
|---|---|---|
| <5 | very low | Wait — publish more |
| 5-9 | low | Directional only; don't tune |
| 10-19 | medium | Apply medium+ findings cautiously |
| 20+ | high | Apply large findings; review medium |
projects/{slug}/brand-guideline.diff.{date}.yamlprojects/{slug}/brand-guideline.yamlpending → applied in the report fileThis is intentionally NOT auto-apply. Brand voice is too important to algorithm out. The tuner finds signals; the human decides.
Closed-loop, quarterly:
1. gsc_api_ingest --all-sites --mode last-28
2. ai_citation_tracker --all-sites --top-priority 50
3. outcome_tagger --site X → labels winners/mid/losers
4. brand_auto_tuner --site X → suggests guideline updates
5. Human review → apply approved findings
6. Next batch: /batch-article picks up tuned guideline
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.Other plugins' skills for the same job