.claude/skills/experiment-loop/SKILL.md
Weekly experiment tracking loop for MD Home Care. Scans content changes, measures traffic impact via PostHog and GSC, and makes keep/iterate/revert decisions with lag-adjusted attribution.
npx skillsauth add adscorp100/mdhomecarebuild experiment-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Tracks content changes, measures their impact on traffic and rankings, and decides whether to keep, iterate, or revert. Runs weekly.
YMYL content (aged care, disability services) has longer lag times than SaaS content. Do not evaluate changes too early.
| Change Type | SEO Lag | AEO Lag | Evaluation Window | |-------------|---------|---------|-------------------| | Service page optimization | 10-21 days | 3-7 days | 3 weeks minimum | | Location page creation | 14-21 days | 7-14 days | 3 weeks minimum | | Blog post publishing | 7-14 days | 3-7 days | 2 weeks minimum | | Provider comparison addition | 7-14 days | 3-7 days | 2 weeks minimum | | Trust signal enhancement | 10-21 days | 7-14 days | 3 weeks minimum | | FAQ addition | 7-14 days | 3-7 days | 2 weeks minimum |
Identify all content changes from the past week:
cd ~/Projects/mdhomecarebuild
# All content changes in last 7 days
git log --since="7 days ago" --name-only --pretty=format:"%h %s" -- "src/content/**/*.md" "src/content/**/*.mdx"
# Summarize by type
git log --since="7 days ago" --name-only --pretty=format:"" -- "src/content/blog/*.md" | sort -u | head -20
git log --since="7 days ago" --name-only --pretty=format:"" -- "src/content/services/*.md" | sort -u | head -20
git log --since="7 days ago" --name-only --pretty=format:"" -- "src/content/providers/*.md" | sort -u | head -20
Categorize each change:
For each changed page, capture the pre-change baseline. If baseline was not captured before the change, use the previous period as proxy.
cd ~/Projects/mdhomecarebuild
# For each changed page, get keyword data
python3 src/scripts/advanced_gsc_analyzer.py --page "/services/[slug]"
python3 src/scripts/advanced_gsc_analyzer.py --page "/blog/[slug]"
Record:
# Page traffic
python3 src/scripts/posthog_analytics.py --page "/services/[slug]" --days 7
# AI referral traffic
python3 src/scripts/posthog_analytics.py --ai-referrals --days 7
Record:
After the evaluation window has passed (see lag times table), measure again.
# GSC: same page analysis
python3 src/scripts/advanced_gsc_analyzer.py --page "/services/[slug]"
# PostHog: same page traffic
python3 src/scripts/posthog_analytics.py --page "/services/[slug]" --days 7
python3 src/scripts/posthog_analytics.py --ai-referrals --days 7
For each experiment, calculate:
| Metric | Before | After | Change | |--------|--------|-------|--------| | Organic clicks (7d) | X | Y | +/- % | | Impressions (7d) | X | Y | +/- % | | Avg position (primary KW) | X | Y | +/- positions | | AI referral visits (7d) | X | Y | +/- % | | Total pageviews (7d) | X | Y | +/- % |
KEEP if:
ITERATE if:
REVERT if:
WAIT if:
Record every experiment result in PLAYBOOK.md:
## [Date] - [Experiment Name]
**Category:** [Service page optimization / Location page / Blog post / Comparison / Trust signal / FAQ]
**Page:** [URL path]
**Change:** [Brief description of what was changed]
**Hypothesis:** [What we expected to happen]
**Baseline (pre-change):**
- Organic clicks (7d): X
- Avg position (primary KW): X
- AI referrals (7d): X
**Result (post-change, measured [date]):**
- Organic clicks (7d): Y (+/- %)
- Avg position (primary KW): Y (+/- positions)
- AI referrals (7d): Y (+/- %)
**Decision:** KEEP / ITERATE / REVERT / WAIT
**Lesson:** [What we learned]
Every week:
/experiment-loop
Runs the full weekly cycle: scan, measure, decide, log.
/experiment-loop --check "/services/sil-services"
Check status of a specific page experiment.
development
Unified SEO and AEO optimizer for MD Home Care. Handles traditional search optimization and AI answer engine optimization together. YMYL/E-E-A-T compliant content for NDIS and aged care services with provider comparisons, local SEO, trust signals, and AI referral tracking.
development
Intent mapping and content type decision framework for MD Home Care. Determines what content type to create for a given keyword based on search intent, detects cannibalization, and guides location page expansion.
development
Creates SEO+AEO optimized blog posts for MD Home Care. Handles informational NDIS/aged care content, provider comparisons, template posts, and guides with YMYL compliance and E-E-A-T standards.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".