agentleFS
6t9xstar6t9xstar/one-step-seo/SKILL.md

one-step-seo

Skill5 starsChanged 35 days agoMITView on GitHub

One-command SEO + AI-visibility audit for any website. Use when asked to audit SEO, check rankings readiness, validate schema, improve AI citation, or plan SEO fixes.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a full SEO + GEO/AEO audit in one step.

    line 8
  2. Distinctive:

    Run the audit (never guess — always fetch the live URL):

    line 18
  3. Very specific:

    Read ./seo-report/report.json (machine) or report.md (human).

    line 49
  4. Distinctive:

    Never present a fix without its evidence.

    line 103
  5. Distinctive:

    Never invent statistics, reviews, business facts, or competitor data.

    line 117
  6. Distinctive:

    Only recommend Schema.org markup for content visible on the page.

    line 118
  7. Distinctive:

    Prefer additive, reversible fixes.

    line 119
  8. Distinctive:

    Never claim guaranteed rankings or guaranteed AI citations.

    line 121
  9. Very specific:

    Use impact/effort/owner labels so they know what to approve, how long it takes, and who does it.

    line 127

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

one-step-seo skill

Run a full SEO + GEO/AEO audit in one step. Zero dependencies, Node 18+.

When to use

  • User asks: "audit my SEO", "why aren't we ranking", "check this page", "fix schema", "AI search readiness", "GEO audit".
  • Example prompt to support: "Audit https://example.com with one-step-seo, summarize the top 5 fixes, and create an implementation plan."
  • Any framework: Astro, Next.js, WordPress, Shopify, static HTML.

Workflow

  1. Run the audit (never guess — always fetch the live URL):
    # Auto-discover all website pages and generate full report:
    npx one-step-seo https://example.com
    # or dedicated site command (hybrid sitemap + link BFS crawl):
    npx one-step-seo site https://example.com
    # or full crawl with custom page limit/out folder:
    npx one-step-seo audit https://example.com --all --out ./seo-report
    Beginner shortcut (5 pages, all formats):
    npx one-step-seo quick https://example.com
    Single page:
    npx one-step-seo page https://example.com/pricing --out ./seo-report
    CI gating (exit 2 on P0 or worse):
    npx one-step-seo audit https://example.com --all --out ./seo-report --fail-on P0
    Offline local builds (Astro, Next.js static, Vite, HTML):
    npx one-step-seo site ./dist --out ./seo-report
    npx one-step-seo page ./dist/index.html --out ./seo-report
    Inspect auditing skills & filter by skill domain:
    npx one-step-seo skills
    npx one-step-seo audit https://example.com --skills onpage-optimization,schema-validation
  2. Read ./seo-report/report.json (machine) or report.md (human). Multi-page runs also write report-N.*, index.md, site-report.json, and a site-wide index.html dashboard (totals, worst-first pages, recurring issues, category distribution, duplicate titles/metas, internal linking & orphan risks) — start there for the big picture.
  3. Present the two scores separately — Search SEO 0-100 and AI Visibility 0-100, never blended.
  4. Fix in priority order P0 → P1 → P2. Each fix needs evidence from the report.

Specialized Agent Sub-Skills (skills/*/SKILL.md) vs Executable CLI Skill Groups

one-step-seo separates 24 Agent Skill playbooks (skills/*/SKILL.md across 10 domains — structured instructions for AI coding agents) from 22 executable CLI skill groups (lib/skills.mjs across 9 categories — rule filters passed to --skills / --exclude-skills and inspected via one-step-seo skills).

Delegate domain-specific engineering and editorial workflows to the 24 structured playbooks in skills/:

DomainSub-Skill PathPrimary CLI Commands & FlagsWhen to Activate
Core Workflowskills/seo-audit/SKILL.mdaudit, page, quick, aiFull-site or single-page audits, score triage, and 30/60/90-day action plans
Core Workflowskills/seo-fix/SKILL.mdfix [--apply] [--url] [--lang]Safe, dry-run-first automated HTML remediation with .bak backups
Technical SEOskills/technical-seo/SKILL.mdaudit/page --skills technical-seoHTTPS, HTTP 200 status, redirect chains, noindex, canonical URLs, mixed assets
Technical SEOskills/http-status/SKILL.mdaudit/page --skills http-status [--check-links]4xx/5xx responses, multi-hop redirects (>1 hop), MIME headers, broken outlinks
Technical SEOskills/javascript-seo/SKILL.mdaudit/page --skills javascript-seoCSR vs SSR/SSG raw-HTML blindness, empty SPA shells, script & hydration bloat
Technical SEOskills/sitemap-robots/SKILL.mdsitemap, audit --skills sitemap-robots --crawl sitemaprobots.txt directives, XML sitemaps, <sitemapindex> expansion
Security & Hygieneskills/security-hygiene/SKILL.mdaudit/page --skills security-hygiene --block-private-ipsHTTPS transport, active/passive mixed content, CSP/HSTS headers, SSRF safety
Accessibility & UXskills/accessibility-seo/SKILL.mdaudit/page --skills accessibility-seo, fix --only lang<html lang>, mobile viewport, image alt, heading order, <main>, anchors
International & Localskills/international-seo/SKILL.mdaudit/page --skills international-seohreflang clusters, x-default, BCP-47 lang, self-referencing locale URLs
International & Localskills/local-seo/SKILL.mdpage --skills local-seo, schema --generate localbusinessLocalBusiness JSON-LD, Name-Address-Phone (NAP) consistency, geo/hours
On-Page & Contentskills/onpage-optimization/SKILL.mdaudit/page --skills onpage-optimization<title>, meta description, H1–H6 hierarchy, Open Graph, Twitter Card, alt/CLS
On-Page & Contentskills/social-metadata/SKILL.mdaudit/page --skills social-metadata, fix --only og,faviconRich Slack/LinkedIn/X link previews (og:*, twitter:card, og:url, favicons)
On-Page & Contentskills/image-seo/SKILL.mdaudit/page --skills image-seoImage alt descriptions, width/height CLS prevention, image count & HTTPS
On-Page & Contentskills/content-quality/SKILL.mdaudit/page --skills content-quality [--profile ...]Word count depth, answer-first lead blocks, comparison tables (<th>), FAQs
On-Page & Contentskills/duplicate-content/SKILL.mdaudit --pages N --skills duplicate-contentCross-page duplicate titles/descriptions and canonical consolidation
On-Page & Contentskills/internal-linking/SKILL.mdaudit --pages N --skills internal-linking [--check-links]Crawl depth, orphan/dead-end pages, generic anchor text, broken same-host links
GEO / AEO / AI Searchskills/geo-optimization/SKILL.mdai, audit --skills geo-optimizationAI crawler access (GPTBot, ClaudeBot, PerplexityBot), snippet gates, facts
GEO / AEO / AI Searchskills/answer-engine-optimization/SKILL.mdpage/ai --skills answer-engine-optimization40–60w answer capsules, question H2s, <th> tables, quantified stats, FAQ parity
GEO / AEO / AI Searchskills/entity-optimization/SKILL.mdpage/ai --skills entity-optimization, schemaKnowledge Graph entity alignment (<title>/<h1>/og:title), authorship, dates
GEO / AEO / AI Searchskills/llms-txt/SKILL.mdllms, audit --skills llms-txt/llms.txt discovery, structural quality (G05), starter draft generation
Structured Dataskills/schema-validation/SKILL.mdschema [--generate <kind>], audit --skills schemaJSON-LD syntax, @graph entity linking, 15 required-property validators, parity
Structured Dataskills/ecommerce-seo/SKILL.mdaudit/page --profile product --skills ecommerce-seoProduct/Offer/Review/BreadcrumbList JSON-LD, facet canonicals, PDP media
Performance & Qualityskills/core-web-vitals/SKILL.mdaudit/page --psi [--psi-strategy desktop] --skills cwvHTML payload size, image count, Lighthouse lab metrics (LCP/CLS/TBT) & CrUX INP
Monitoring & Reportingskills/seo-regression/SKILL.mddiff <base.json> <head.json> [--fail-on P0|P1]CI/CD regression gating, score deltas, rulesVersion verification

Reading report.json

Stable, schema-documented shape (lib/schema-report.json):

  • scores.search {score, band} and scores.ai {score, band} — the two axes. Bands A–F.
  • counts {P0, P1, P2, P3, pass} — severity totals for gating and progress tracking.
  • findings[] {id, category, severity, title, evidence, fix, seoImpact, geoImpact} — priority-sorted, P0 first. Finding IDs match ^[A-Z]+[0-9]+-[a-z0-9-]+$.
  • page {title, metaDescription, canonical, wordCount, h1[], images, internalLinks, externalLinks, psi?} — page facts without re-fetching.
  • site {origin, robots, sitemap, sitemapUrls, llms} — booleans + sitemap size.
  • Severity: P0 critical (today) → P1 high (this week) → P2 medium (this month) → P3 polish → pass healthy.
  • Categories: technical, onpage, content, schema, geo, performance.

Prioritizing fixes

  1. Take the first 3–5 non-pass findings (they are already priority-sorted).
  2. For each: quote evidence, state fix, and add triage from report.md (“Fix this first”): impact (low/medium/high), effort (minutes/hours/days), owner (developer/content/SEO/agency).
  3. Group by owner so the user can delegate: content fixes to writers, developer fixes to engineers.
  4. Never present a fix without its evidence. Never invent statistics, reviews, business facts, or competitor data.

Remediation plans

Structure every plan as:

  • Executive summary (3 bullets: scores, verdict, biggest win).
  • Priority actions (Problem → Evidence → Action → Impact → Effort → Owner).
  • Passed checks (1 line each — reassure the user what is fine).
  • 30/60/90-day plan (P0/P1 now, P2 this month, P3 + monitoring later).
  • Verification: re-run npx one-step-seo page <url> after fixes and report the score delta.

Rules

  • Never invent statistics, reviews, business facts, or competitor data.
  • Only recommend Schema.org markup for content visible on the page.
  • Prefer additive, reversible fixes. Show the exact snippet or diff.
  • Distinguish: verified fact vs observed data vs inference vs recommendation.
  • Never claim guaranteed rankings or guaranteed AI citations. Frame results as readiness signals and best practices.

Explaining findings to non-technical users

  • Lead with the verdict sentence from report.md (“Executive summary”).
  • Translate each finding via its plain-language explanation (same section): no jargon, one sentence on why it matters to traffic or customers.
  • Use impact/effort/owner labels so they know what to approve, how long it takes, and who does it.
  • End with the citable checklist (“Make this page more citable”) for AI-visibility work.

Client-ready summary

## SEO audit — <url>

- Search SEO: **{search}/100 ({band})** · AI Visibility: **{ai}/100 ({band})**
- Verdict: {one-sentence verdict from report.md}
- Fix this first:
  1. [{sev}] {title} ({id}) — {one-line fix} (Impact: {x} · Effort: {y} · Owner: {z})
  2. …
- Passed: {count} checks, including {2–3 notable passes}.
- Next: {re-run command} after fixes. Full report: `report.html`.

Report shape

report.json fields: scores {search {score,band}, ai {score,band}}, rulesVersion (scoring ruleset — diff warns across versions), counts, findings[] {id, category, severity, title, evidence, fix}, page, site. Severity: P0 critical, P1 high, P2 medium, P3 low, pass healthy.

Fix workflow

For safe auto-fixes on local HTML files, prefer the built-in writer:

npx one-step-seo fix ./dist --url https://example.com/          # dry-run diff
npx one-step-seo fix ./dist --url https://example.com/ --apply  # write + .bak

It is additive-only, previews a unified diff, verifies every fix in memory, and never invents facts (language/titles/images need flags when they cannot be derived from the page). For everything else, follow skills/seo-fix/SKILL.md: default to preview and ask before writing files.

AI-visibility paperwork

npx one-step-seo llms https://example.com   # llms.txt status + starter draft + robots snippet

Review the starter draft with the user before publishing — it contains explicit placeholders where facts are unknown. The robots snippet allows the major AI crawlers; only apply it when AI citation is wanted.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.