seo-ai-optimizer
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.
What this skill does
# SEO & AI Bot Optimizer Audit and optimize website codebases for search engines and AI systems. ## Repo Sync Before Edits (mandatory) Before modifying any project files, sync the current branch with remote: ```bash 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: ```bash 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. ## Prerequisites Before starting the SEO audit, ensure the following: - **Environment:** The project must be managed by a git repository. - **Tools:** Python 3.x must be installed and available in the path. - **Audit Script:** `scripts/audit_seo.py` (shipped with this skill) is invoked against the audited project: `python scripts/audit_seo.py <project-root>`. - **Access:** You must have write access to the project files and permission to create new files (robots.txt, llms.txt, etc.). ## Quick Reference Consult these reference files as needed during the workflow: - `references/workflow-detail.md` — Detailed checklists, templates, and implementation steps - `references/technical-seo.md` — Full SEO checklist and best practices - `references/framework-configs.md` — Framework-specific configuration - `references/ai-bot-guide.md` — AI crawler directives, llms.txt format, JSON-LD templates ## Environment Check This 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. ## Important - Audit first, present findings, then propose a plan — never modify files without user approval - **Safety First:** Always show a diff and get explicit confirmation before writing any file change - Fetch latest best practices via web search during each audit to supplement embedded knowledge ## Workflow 1. **Detect** -- Identify project framework and scan for relevant files 2. **Audit** -- Run automated scan + manual review across 4 categories 3. **Research** -- Web search for latest SEO/AI bot best practices 4. **Report** -- Present findings grouped by severity 5. **Plan** -- Propose prioritized improvements for user approval 6. **Implement** -- Apply approved changes following the Safety Protocol 7. **Validate** -- Re-check modified files --- ## Step 1: Detect Project Type Run the audit script to detect framework and scan files: ```bash 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. ## Step 2: Audit 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`. ## Step 3: Research Latest Best Practices 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/`. ## Step 4: Report Present the audit report grouping findings by severity (Critical, Warning, Info) and project-level findings (robots.txt, sitemap, llms.txt, JSON-LD). ## Step 5: Plan 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. ## Step 6: Implement Apply approved changes following the **Safety First** protocol: 1. **Show Diff:** For every file change, generate and show a clear diff or summary. 2. **Confirm:** Request explicit user confirmation before writing each file (or batch). For detailed implementation instructions per category (Technical SEO, robots.txt, llms.txt, JSON-LD, sitemaps), see `references/workflow-detail.md`. ## Step 7: Validate After implementing changes, re-run the audit script on modified files to verify critical issues are resolved and check for regressions. ## Step Completion Reports After each step, emit a `◆` status block. For templates and per-step check lists, see `references/step-reports.md`. ## Acceptance Criteria A run passes when the audit report is complete, the improvement plan was user-approved, the **Safety Protocol (diff + confirmation) was followed**, and validation shows critical issues are resolved. ## Expected Output After a full run, the agent should produce: 1. **Audit Report:** A structured markdown report grouping findings by severity. 2. **Implementation:** Modified or new files (robots.txt, llms.txt, sitemap.xml, JSON-LD) with confirmed changes. 3. **Validation Report:** A post-fix verification showing critical issues reduced to 0. For a concrete example of the audit report output, see `references/workflow-detail.md`.
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".