← All Skills
AI Skill

seo-flow

Last updated: 2026-05-17

Top-level SEO/AEO orchestrator — the single entry point Sage and Casey use to find the right skill for any SEO task. Maps every situation to one of the 25 SEO/A

Quick Install
npx skills add seo-flow

Skill: SEO/AEO Flow — The Entry Point

The decision map. Use this skill first whenever an SEO/AEO request comes in. It tells you which of the 22 specialized skills to call.

The five-phase flow

┌─────────────┐
   Idea/data    │   DISCOVER  │   What's worth doing?
                │             │
                └──────┬──────┘
                       │
                       ▼
                ┌─────────────┐
   Decision     │   PRODUCE   │   Build the page (or refresh existing).
                │             │
                └──────┬──────┘
                       │
                       ▼
                ┌─────────────┐
   Auto + skill │   AUDIT     │   Auto-runs on deploy. Doesn't block, but raises tasks.
                │             │
                └──────┬──────┘
                       │
                       ▼
                ┌─────────────┐
   Auto deploy  │   PUBLISH   │   Push main → Cloud Run. Tycoon's standard pipeline.
                │             │
                └──────┬──────┘
                       │
                       ▼
                ┌─────────────┐
   Cron + skill │   MONITOR   │   Track rank, traffic, citations. Loop back to DISCOVER.
                └─────────────┘

Per-phase skill map

DISCOVER (figure out what's worth doing)

When user saysCall this skillWhy
"What should we write next?"seo-discoverKeyword opportunity scan from GSC + competitor data
"What queries does AI search for in our space?"geo-query-finderLong-tail AEO query generation per brand
"What are competitors ranking for that we're not?"content-gap-analysisCross-competitor delta
"What's our current SEO baseline?"seo-baselineSnapshot of current standing
"What's been working / what hasn't?"seo-learnPattern extraction from past experiments
"Plan our SEO/AEO strategy"aeo-playbookMaturity diagnosis + 90-day plan

PRODUCE (build pages)

When user saysCall this skillWhy
"Add an alternatives page for X"seo-createSingle decision point — uses scaffold CLI
"Add 20 alternatives pages"seo-create (batch mode)Same, comma-separated slugs
"I need a new SEO page type" (/reviews/, /integrations/, etc.)seo-create (new template + design rules + i18n-ready schema)Creates route + types + i18n dirs
"Generate 100+ pages from a data source"programmatic-seo (chained AFTER seo-create model page validates)Scale playbook + indexation rollout
"Write the actual content"Casey's job; brief from seo-content-briefBriefs first, then write
"Write a content brief for Casey"seo-content-briefGives Casey a structured brief
"Translate alternatives to zh-CN"seo-i18nBatch translation pipeline
"Refresh stale pages"seo-optimize (apply mode)Diff suggestions, then apply
"Generate llms.txt / robots.txt / ai-plugin.json for our site"aeo-assetsUniversal AEO discovery files
"Set up markdown rendering for AI crawlers"aeo-markdown-renderG2's +300% citation trick

AUDIT (verify before/after deploy)

When user saysCall this skillWhy
"Run a technical SEO audit"seo-technical-audit3-tier deterministic audit
"General SEO audit on the site"seo-auditHigher-level full-site SEO checklist
"Is our site AI-friendly?"aeo-auditTier 1+2+3 AEO health
"Audit this specific page"pnpm seo:audit / (CLI) + aeo-auditDeterministic + LLM judgment
"Why did this page tank?"seo-postmortemBlameless RCA, write to lessons
"Schema markup check"schema-markupPer-page schema design

PUBLISH (ship)

This phase is fully automated:

  • git push main → Cloud Build → Cloud Run deploy
  • Post-deploy GHA audit-seo.yml runs pnpm seo:audit --all → Lark notify if fails
  • aeo-audit skill scheduled to run on Tier 2 sample pages weekly
No skill to invoke here unless something breaks. If audit fails → check Lark → invoke seo-postmortem.

MONITOR (ongoing tracking)

When user saysCall this skillWhy
"Send me the weekly SEO report"seo-monitor3-week rolling trend, top gainers/decliners
"Track AI citations"aeo-citation-track4-engine sweep, share-of-voice
"Run a retro on last week's experiments"seo-retroFriday cadence
"Why did X tank last month?"seo-postmortemBlameless investigation
"Log a new experiment"seo-experiment-logBEFORE shipping any change
"What did we learn this month?"seo-learnPattern extraction → playbook updates

Daily/weekly cadence (auto-fired by scheduler)

TimeCadenceSkillOwner
06:00Dailydata collection (GSC + GA4 + indexing)automation
10:00DailyCTR repair iterationseo-optimize propose → Sage reviews
Mon 09:00WeeklySEO performance reportseo-monitor → Sage → Astra
Wed 10:00WeeklyAEO citation trackingaeo-citation-track
Fri 16:00WeeklySEO experiments retroseo-retro
1st of monthMonthlyFull technical auditseo-technical-audit
1st of monthMonthlyAEO Tier 1+2 auditaeo-audit
1st of monthMonthlyPattern learningseo-learn
Quarter startQuarterlyRefresh AEO discovery filesaeo-assets
Quarter startQuarterlyAEO Tier 3 maturity reviewaeo-audit (full) + aeo-playbook

Multi-source — supported from day 1

Every skill above is source-agnostic. The data layer (ts/src/lib/seo/sources/) abstracts the source. Currently implemented:

  • ✅ GSC (search performance, indexing)
  • ✅ GA4 (analytics)
  • ⏳ Ahrefs (interface ready, adapter pending)
  • ⏳ PostHog (interface ready, adapter pending)
  • ⏳ Bing Webmaster (interface ready, adapter pending)
  • ✅ ChatGPT / Claude / Perplexity / Gemini (citation engines, via aeo-citation-track)
When a new source needs to be added:
  1. Implement the relevant interface in ts/src/lib/seo/sources/types.ts
  2. Register in ts/src/lib/seo/sources/index.ts
  3. No skill changes needed — they auto-pick up the new source

i18n — supported from day 1

Every page has hreflang URLs registered in all 3 locales (en, zh-CN, ja) at creation time, even if translations are empty placeholders. Translations land asynchronously via pnpm seo:translate without touching the URL space.

To add a 4th locale (e.g., ja → ko):

  1. Add to ts/src/lib/i18n/locales.ts SUPPORTED_LOCALES
  2. Add HREFLANG_TAG mapping in ts/src/lib/i18n/hreflang.ts
  3. (TODO: pnpm seo:scaffold-locale ko to be implemented on first use) — until then, mkdir each -ko/ directly
  4. Translations roll in over time

When NOT to invoke this skill

  • User asks a single specific SEO question with a clear answer ("what's a good title length?") → answer directly, don't invoke flow.
  • User is mid-flow (already in seo-create, asking a follow-up) → stay in that skill.
  • Non-SEO request — flow is for SEO/AEO only.

Quick decision: which skill RIGHT NOW?

"new page"                      → seo-create
"new theme / new type"          → seo-create (Mode 2)
"keyword research"              → seo-discover
"AEO query intent"              → geo-query-finder
"competitive gap"               → content-gap-analysis
"set up AEO files"              → aeo-assets
"AI citation tracking"          → aeo-citation-track
"technical audit"               → seo-technical-audit
"AEO health check"              → aeo-audit
"weekly report"                 → seo-monitor
"why did X drop"                → seo-postmortem
"plan strategy"                 → aeo-playbook (high-level) OR seo-flow (you're already here)
"translate"                     → seo-i18n
"refresh existing pages"        → seo-optimize
"experiment log"                → seo-experiment-log (BEFORE shipping change)
"weekly retro"                  → seo-retro
"monthly learn"                 → seo-learn
"schema for page"               → schema-markup
"content brief for Casey"       → seo-content-brief
"new programmatic batch (50+)"  → seo-create (model page) → programmatic-seo (scale)
"generate markdown for crawlers"→ aeo-markdown-render
"baseline / first-time setup"   → seo-baseline (first ever) → seo-onboard (new property)
"general site SEO audit"        → seo-audit
"end-to-end autopilot"          → seo-autopilot (one ID → ship → monitor)
"standing SEO rules"            → seo-principles (auto-loaded; do not invoke directly)

Inventory — 25 SEO/AEO skills

GroupSkills
Standards (auto-loaded)seo-principles, seo-flow, aeo-playbook
Top-level orchestratorsseo-autopilot, aeo-playbook
Discoverseo-discover, geo-query-finder, content-gap-analysis, seo-baseline, seo-learn
Produceseo-create, seo-content-brief, seo-i18n, programmatic-seo, schema-markup
AEO discoveryaeo-assets, aeo-markdown-render
Auditseo-technical-audit, seo-audit, aeo-audit
Monitorseo-monitor, aeo-citation-track
Iterateseo-optimize, seo-experiment-log, seo-retro, seo-postmortem
If still ambiguous, ask the user one clarifying question. Don't run multiple skills speculatively.