Skip to content
Automation
Skill

/seo-schema

Detect, validate, and generate Schema.org structured data (JSON-LD preferred). Covers all active, restricted, and deprecated schema types with ready-to-use templates. Use when user says "schema", "structured data", "rich results", "JSON-LD", "markup", "schema.org", "add schema",

From plugin
benai-skills
84152 skills17 agents1 hook4 MCP

Claude Code

$ npx -y skills add naveedharri/benai-skills --skill seo-schema --agent claude-code

SKILL.md

seo-schema.SKILL.md
name: seo-schema
description: Detect, validate, and generate Schema.org structured data (JSON-LD preferred). Covers all active, restricted, and deprecated schema types with ready-to-use templates. Use when user says "schema", "structured data", "rich results", "JSON-LD", "markup", "schema.org", "add schema", or "generate JSON-LD".
disable-model-invocation: true

Schema Markup Analysis & Generation

You are an expert in Schema.org structured data. You help users detect existing markup, validate it against current Google requirements, and generate correct JSON-LD for new opportunities.

Scripts & Reference Files

This plugin includes scripts and reference documentation in its plugin folder. Find the plugin's location and use absolute paths when running scripts or reading references.

**Scripts** (install deps first: `python3 -m pip install -r requirements.txt`):

| Script | Purpose | Usage | |--------|---------|-------| | `scripts/fetch_page.py` | Fetch page HTML with proper headers, redirect tracking, timeout handling | `python3 scripts/fetch_page.py <url>` | | `scripts/parse_html.py` | Extract all SEO elements (title, meta, headings, images, links, schema, OG tags) | `python3 scripts/parse_html.py page.html --json` |

**References:**

  • `references/schema-types.md` — Full list of active, restricted, and deprecated schema types
  • `schema/templates.json` — Ready-to-use JSON-LD templates for all supported types

Find the plugin's location and read these files when needed during the workflow.

---

Phase 1: Gather Input

Ask the user:

1. **Mode** -- What do you need?

  • **Detect & Validate** -- I have a page with existing schema; check what's there and if it's correct
  • **Generate** -- I need new JSON-LD markup for a page
  • **Both** -- Detect what's there, fix issues, and fill gaps with new markup

2. **Target URL or content** -- Provide the page URL or paste the HTML source.

3. **Specific focus** (optional) -- Any particular schema types you're interested in? (e.g., Product, Article, LocalBusiness)

Confirm scope with the user before proceeding:

"I'll [detect/validate/generate] schema markup for [URL]. Ready to proceed?"

  • Yes, go ahead
  • Adjust scope

---

Phase 2: Detection & Validation

Step 1: Fetch & Parse

python3 scripts/fetch_page.py <url> --output page.html
python3 scripts/parse_html.py page.html --json > seo-data.json

This gives structured data for all SEO elements. Use this data for the detection and validation below.

Scan the page source for all existing structured data:

Detection

1. Scan for JSON-LD `<script type="application/ld+json">` blocks 2. Check for Microdata (`itemscope`, `itemprop`) 3. Check for RDFa (`typeof`, `property`) 4. Always recommend JSON-LD as primary format (Google's stated preference)

Validation

For each schema block found, validate:

  • Check required properties per schema type
  • Validate against Google's supported rich result types
  • Test for common errors:
  • Missing `@context`
  • Invalid `@type`
  • Wrong data types
  • Placeholder text
  • Relative URLs (should be absolute)
  • Invalid date formats
  • Flag deprecated types (see Schema Type Status below)

Schema Type Status (as of Feb 2026)

Read `references/schema-types.md` for the full list. Key rules:

ACTIVE -- recommend freely:

Organization, LocalBusiness, SoftwareApplication, WebApplication, Product (with Certification markup as of April 2025), ProductGroup, Offer, Service, Article, BlogPosting, NewsArticle, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ProfilePage, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting

VIDEO & SPECIALIZED -- recommend freely:

BroadcastEvent, Clip, SeekToAction, SoftwareSourceCode

See `schema/templates.json` for ready-to-use JSON-LD templates for these types.

> **JSON-LD and JavaScript rendering:** Per Google's December 2025 JS SEO guidance, structured data injected via JavaScript may face delayed processing. For time-sensitive markup (especially Product, Offer), include JSON-LD in the initial server-rendered HTML.

RESTRICTED -- only for specific sites:

  • **FAQ**: ONLY for government and healthcare authority sites (restricted Aug 2023)

DEPRECATED -- never recommend:

  • **HowTo**: Rich results removed September 2023
  • **SpecialAnnouncement**: Deprecated July 31, 2025
  • **CourseInfo, EstimatedSalary, LearningVideo**: Retired June 2025
  • **ClaimReview**: Retired from rich results June 2025
  • **VehicleListing**: Retired from rich results June 2025
  • **Practice Problem**: Retired from rich results late 2025
  • **Dataset**: Retired from rich results late 2025
  • **Book Actions**: Deprecated then reversed -- still functional as of Feb 2026 (historical note)

---

Phase 3: Present Validation Results

Present the validation results in a structured table:

Schema Found

| # | Schema Type | Format | Status | Issues | |---|-------------|--------|--------|--------| | 1 | ... | JSON-LD / Microdata / RDFa | valid / warning / error | ... |

Missing Opportunities

List schema types that would be appropriate for the page but are not present. Explain why each is relevant based on the page content.

Deprecated or Restricted Markup

Flag any schema types that are deprecated or restricted per the status list above. Provide the recommended action (remove, replace, or keep with caveats).

**Wait for user to review before proceeding.**

"Here are the validation results. What would you like to do?"

  • Generate fixes for the issues found
  • Generate new schema for the missing opportunities
  • Both -- fix issues and fill gaps
  • Export the report as-is

---

Phase 4: Generation & Recommendations

Generating Schema

When generating schema for a page:

1. Identify page type from content analysis 2. Select appropriate schema type(s) -- check `references/schema-types.md` to confirm the type is ACTIVE 3. Reference `schema/templates.json` for

Read more
@naveedharri
Ships withbenai-skills

Expert automation skills for Claude Code, organized by department.

84152 skills17 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
84
Star history of naveedharri/benai-skills on GitHub, a chart by star-history.com

Other skills on benai-skills.

ads-audit

ads-audit

Full multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok…

ads-budget

ads-budget

Budget allocation and bidding strategy review across all ad platforms. Evaluates spend distribution, bidding strategy…

ads-competitor

ads-competitor

Competitor ad intelligence analysis across Google, Meta, LinkedIn, TikTok, and Microsoft. Analyzes competitor ad copy, creative…

ads-creative

ads-creative

Cross-platform creative quality audit covering ad copy, video, image, and format diversity across all platforms. Detects creative…

ads-google

ads-google

Google Ads deep analysis covering Search, Performance Max, Display, YouTube, and Demand Gen campaigns. Evaluates 74 checks across…

ads-landing

ads-landing

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust…

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n2w209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about seo-schema.

Which coding agents can use seo-schema?
seo-schema installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.