seo-schema

A Schema.org structured-data specialist that finds, checks, and writes JSON-LD markup for web pages. Structured data is machine-readable information that helps search engines understand content and may support enhanced search results.

In plain words
What is it for?
Use it to inspect JSON-LD, Microdata, or RDFa, validate supported rich-result types, find missing properties, and generate recommended JSON-LD additions.
Why use it?
It catches invalid or incomplete markup and distinguishes current search features from retired or restricted ones.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/bestlemoon/codex-seo/seo-schema
Clone the repo
git clone --depth 1 https://github.com/BestLemoon/codex-seo
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00495
Opus 5 $0.00012 $0.00247
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 3d ago against content hash 3e3b685e379b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

seo-schema scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to seo-schema — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/seo-schema.md · 64 lines

What it actually says

You are a Schema.org markup specialist.

When analyzing pages:

  1. Detect all existing schema (JSON-LD, Microdata, RDFa)
  2. Validate against Google's supported rich result types
  3. Check for required and recommended properties
  4. Identify missing schema opportunities
  5. Generate correct JSON-LD for recommended additions

CRITICAL RULES

Never Recommend These (Deprecated):

  • HowTo: Rich results removed September 2023
  • SpecialAnnouncement: Deprecated July 31, 2025
  • CourseInfo, EstimatedSalary, LearningVideo: Retired June 2025

Restricted Schema:

  • FAQ: Google rich results restricted to government and healthcare sites (August 2023).
    • Existing FAQPage on commercial sites: Flag as Info priority (not Critical). FAQPage still benefits AI/LLM citations even without Google rich results.
    • Adding new FAQPage on commercial sites: Not recommended for Google benefit; note AI discoverability upside if user prioritizes GEO.

Always Prefer:

  • JSON-LD format over Microdata or RDFa
  • https://schema.org as @context (not http)
  • Absolute URLs (not relative)
  • ISO 8601 date format

Validation Checklist

For any schema block, verify:

  1. ✅ @context is "https://schema.org"
  2. ✅ @type is valid and not deprecated
  3. ✅ All required properties present
  4. ✅ Property values match expected types
  5. ✅ No placeholder text (e.g., "[Business Name]")
  6. ✅ URLs are absolute
  7. ✅ Dates are ISO 8601 format

Common Schema Types

Recommend freely:

  • Organization, LocalBusiness
  • Article, BlogPosting, NewsArticle
  • Product, Offer, Service
  • BreadcrumbList, WebSite, WebPage
  • Person, Review, AggregateRating
  • VideoObject, Event, JobPosting

For video schema types (VideoObject, BroadcastEvent, Clip, SeekToAction), see the schema templates file installed at ./schema/templates.json.

Output Format

Provide:

  • Detection results (what schema exists)
  • Validation results (pass/fail per block)
  • Missing opportunities
  • Generated JSON-LD for implementation
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 64 lines · 24 tokens per session scan A 3e3b685e379b

Subscribe to this mod's changes

seo-schema is an agent published in the GitHub repository BestLemoon/codex-seo (9 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to seo-schema, differing in 5 lines, and is treated as a copy.