OPEN STANDARDV2.0.0spec v2.0.0 · seomd.dev

SEO.MD

The open standard for AI Engine Optimization — a Markdown-first, version-controlled spec file that tells coding agents and AI search engines exactly how to build, structure, and cite your brand.

Like CLAUDE.md, AGENTS.md, and DESIGN.md, but for search and AI citations. Useful offline on day one — vendor-agnostic by design.

QUICK START

ONE COMMAND TO START

# Scaffold SEO.md (auto-detects routes + wires AGENTS.md)
npx seomd-cli init

# Validate & audit locally (zero API key required)
npx seomd-cli validate --strict
npx seomd-cli check ./out
npx seomd-cli generate robots --out public/robots.txt
npx seomd-cli generate llms --out public/llms.txt
npx seomd-cli doctor

# Optional: run live AI citation analysis via any provider
npx seomd-cli analyze

init inspects your repository (Next.js, Astro, SvelteKit, Remix, Vite) to discover live routes, scaffolds a v2 SEO.md (YAML frontmatter + Markdown rules), and wires a pointer into AGENTS.md / CLAUDE.md so coding agents pick it up automatically.

SUPPORTED SITE TYPES

SaaSBlogeCommerceMarketplaceLocal

HOW IT WORKS

THREE PHASES OF OPERATION

PHASE 01

FOUNDER DECLARES

Define your canonical product facts, buyer prompts, routes, and AEO rules in SEO.md (YAML frontmatter + Markdown). Automatically wired into AGENTS.md and CLAUDE.md on init.

PHASE 02

AGENTS & CLI VERIFY

Coding agents read SEO.md before shipping pages. Run seomd check, seomd generate (robots.txt, llms.txt, JSON-LD), and seomd doctor locally with zero API keys.

PHASE 03

PROVIDERS WRITE BACK

Optionally connect Foxcite or any provider implementing the Provider Protocol to write live citation metrics and playbooks into .seo/.

THE FORMAT

MARKDOWN FIRST. FRONTMATTER STRUCTURED.

SEO.md (v2.0.0) pairs a compact YAML frontmatter manifest with real Markdown prose for coding agents. Provider-generated metrics and playbooks live cleanly inside .seo/ — never polluting your hand-authored file.

  • —Real Markdown prose, tables, and rules — never breaks YAML parsers
  • —Auto-wired into AGENTS.md / CLAUDE.md so coding agents read it first
  • —Offline CLI checks, robots.txt, llms.txt, and JSON-LD generation
  • —Vendor-agnostic Provider Protocol — Foxcite, SEMrush, Ahrefs, Profound, Peec AI, or custom
---
spec: "2.0.0"
site:
  brand: "Acme"
  domain: "acme.com"
  canonical: "https://acme.com"
  type: "saas"
keywords:
  primary: "billing automation"
  negative: ["free download"]
pages:
  - id: homepage
    url: /
    status: live
    priority: 1
crawl:
  robots: /robots.txt
  llms_txt: /llms.txt
  allow_ai_bots: true
provider:
  name: null # foxcite | custom | semrush | ahrefs | profound | peec
---

# SEO.md — Acme

## Canonical Product Facts
- **One-liner:** Usage-based billing for B2B SaaS.

## Page & AEO Rules (For Coding Agents)
- Open every key page with a 40-60 word direct answer.
- Emit Organization + FAQPage JSON-LD.

THE VALUE

OBJECTIVE BENEFITS

GROUND TRUTH FOR AGENTS

Stop coding agents from inventing vague H1s, hallucinating claims, or forgetting JSON-LD. SEO.md gives every agent the exact facts and page rules.

LOCAL VERIFICATION LOOP

Audit HTML, metadata, JSON-LD, llms.txt, and AI bot access locally in CI or during agent sessions — no paid account required to get value.

OPEN PROVIDER PROTOCOL

Keep your strategy vendor-neutral in git. Plug in Foxcite natively or connect any SEO/AEO provider implementing the open HTTP contract.

THE ECOSYSTEM

PART OF A GROWING STANDARD

CLAUDE.md

Anthropic AI instructions

AGENTS.md

Autonomous agent contracts

DESIGN.md

UI design system spec

SEO.md

AI search & citation spec

YOU ARE HERE

CONTRIBUTORS

OPEN TO ALL

SEO.md is an open standard. Contributions to the spec, CLI, provider adapters, and ecosystem tooling are welcome via GitHub.