skills/seo-ai-optimizer/SKILL.md
Audit and optimize websites for technical SEO, content SEO, and AI bot accessibility. Fixes meta tags, sitemaps, robots.txt, structured data, llms.txt, and GPTBot/ClaudeBot directives. Not for App Store ASO, paid search, or blog writing.
npx skillsauth add luongnv89/skills seo-ai-optimizerInstall 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.
Audit and optimize website codebases for search engines and AI systems.
Step 8 invokes website-agent-readiness. Verify it is installed before the first
step that changes anything:
test -d "$HOME/.claude/skills/website-agent-readiness" ||
asm list -p claude --json | grep -q '"website-agent-readiness"' || {
echo "Missing required skill: website-agent-readiness" >&2
echo "Install it: asm install github:luongnv89/skills:skills/website-agent-readiness -p claude -s global --yes" >&2
echo "No asm yet: npm install -g agent-skill-manager" >&2
echo "Verify: asm list -p claude --json | grep 'website-agent-readiness'" >&2
}
The install path is tested before asm list: this skill ships in the same repo as its
dependency, so a repo-installed website-agent-readiness is present without the curated
registry knowing the bare name — an asm list check alone would nag on every run, and a
bare-name asm install would not resolve.
On a miss, print those commands and skip Step 8 — Steps 1-7 audit the codebase and
still run. Never invoke a half-installed skill. website-agent-readiness enforces its own
prerequisites (curl, python3, and for issue filing git, gh, plan-to-issues); this
skill does not re-check them.
Before modifying any project files, sync the current branch with remote:
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
If the working tree is not clean, stash first, sync, then restore:
git stash push -u -m "pre-sync"
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin && git pull --rebase origin "$branch"
git stash pop
If origin is missing, pull is unavailable, or rebase/stash conflicts occur, stop and ask the user before continuing.
Before starting the SEO audit, ensure the following:
scripts/audit_seo.py (shipped with this skill) is invoked against the audited project: python scripts/audit_seo.py <project-root>.Consult these reference files as needed during the workflow:
references/workflow-detail.md — Detailed checklists, templates, and implementation stepsreferences/technical-seo.md — Full SEO checklist and best practicesreferences/framework-configs.md — Framework-specific configurationreferences/ai-bot-guide.md — AI crawler directives, llms.txt format, JSON-LD templatesThis skill has two modes of operation:
With Subagent Architecture (Recommended):
If the Agent tool is available in your environment, the audit runs via a 4-phase subagent workflow for maximum accuracy and depth. See references/subagent-architecture.md.
Without Subagent Tool (Fallback): If Agent is not available, the skill runs a complete audit in a single conversation. The end result (SEO audit report) is the same.
/website-agent-readinessRun the audit script to detect framework and scan files:
python scripts/audit_seo.py <project-root>
If the script reports "No HTML/template files found," inform the user: this skill is designed for web frontends with HTML output.
The audit script checks per-file issues and project-level issues. After running the script, perform a manual review for items requiring human judgment (content quality, links, E-E-A-T).
For the full manual review checklist, see references/workflow-detail.md.
Use web search to check for updates (SEO best practices, AI bot directives, llms.txt spec, algorithm updates). Compare findings with embedded knowledge in references/.
Present the audit report grouping findings by severity (Critical, Warning, Info) and project-level findings (robots.txt, sitemap, llms.txt, JSON-LD).
Present a prioritized improvement plan using the template in references/workflow-detail.md.
Ask the user: "Which improvements should I implement? You can approve all, select specific items, or modify the plan."
Do NOT proceed without explicit approval.
Apply approved changes following the Safety First protocol:
For detailed implementation instructions per category (Technical SEO, robots.txt, llms.txt, JSON-LD, sitemaps), see references/workflow-detail.md.
After implementing changes, re-run the audit script on modified files to verify critical issues are resolved and check for regressions.
Steps 1-7 fix the codebase. This step scores the deployed site as an AI agent sees it, catching what a static audit cannot: rendered output, live headers, and runtime robots/llms.txt delivery.
Run it when both hold, else skip and say why:
/website-agent-readiness <live-url>
That skill owns its own gated pipeline (scan → triage → agent-ready-plan.md → issue
filing) — do not re-run its phases here, and do not re-apply its recommended llms.txt or
metadata fixes inline. Anything it returns that belongs in the codebase comes back through
Steps 5-7 as a normal approved plan item.
Verify: the step passes when agent-ready-plan.md exists in the working directory and
its reported 0-5 agent-readiness score is recorded in the final summary; a skip passes when
the summary names which of the two conditions above was unmet.
After each step, emit a ◆ status block. For templates and per-step check lists, see references/step-reports.md.
See the itemized checklist in references/workflow-detail.md (Acceptance Criteria) — a run only passes when every item there is checked.
After a full run, the agent should produce:
agent-ready-plan.md from Step 8, or a one-line reason it was skipped.For a concrete example of the audit report output, see references/workflow-detail.md.
development
Scan a live site with isitagentready.com, then approve each step: triage the 0-5 agent-readiness score, write agent-ready-plan.md, file issues via /plan-to-issues. Don't use for applying llms.txt/SEO fixes (seo-ai-optimizer) or app-store ASO.
development
Review a product codebase and landing page against 32 viral principles and produce a Virality Score plus ranked fixes. Use to audit virality or prioritize growth. Don't use for SEO, ASO, copywriting, or code review.
development
Generate a Technical Architecture Document (TAD) from a PRD. Use when asked to design system architecture or define how a product is built. Updates tad.md and reports GitHub links. Don't use for PRD authoring, sprint tasks, or code implementation.
development
Check product and brand names for conflicts across trademarks, domains, social handles, and package registries. Returns a risk level and Proceed/Modify/Abandon recommendation. Skip for name brainstorming, logo design, or trademark filings.