Install
openclaw skills install @kxrbx/schemaorg-site-enhancerHelps agents integrate Schema.org structured data into websites for rich search results, better SEO, and improved communication with search engines. Provides ready-to-use JSON-LD templates, generation scripts, and implementation patterns for common schema types.
openclaw skills install @kxrbx/schemaorg-site-enhancerThis skill enables OpenClaw agents to embed Schema.org structured data (JSON-LD) into web pages, boosting SEO, enabling rich snippets, and improving how search engines understand content.
<script type="application/ld+json"> tag in HTML.clawhub install schemaorg-site-enhancer
const { generateFAQPage, injectJSONLD } = require('schemaorg-site-enhancer');
const faqData = {
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is Schema.org?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet."
}
},
{
"@type": "Question",
"name": "Why use JSON-LD?",
"acceptedAnswer": {
"@type": "Answer",
"text": "JSON-LD is the recommended format for Schema.org because it’s easy to read, doesn’t interfere with HTML, and is supported by all major search engines."
}
}
]
};
const jsonLD = generateFAQPage(faqData);
// jsonLD is now a ready‑to‑insert <script type="application/ld+json"> block
generateFAQPage(data) – returns a JSON‑LD string for an FAQPage.generateHowTo(data) – creates a HowTo schema.generateArticle(data) – for news articles or blog posts.generateProduct(data) – for e‑commerce product pages.injectJSONLD(html, jsonLD) – inserts the script tag into the <head> of an HTML string.validateJSONLD(jsonLD) – basic syntax and @type validation.MIT
Feel free to open issues or submit pull requests to add more schema types or improve the templates.