Schema-Gen for Openclaw

An automated generator for valid Schema.org JSON-LD structured data to enhance search engine visibility and rich results.

sharozdawa
v1.0.0
Mar 22, 2026
0
845
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install schema-gen

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install schema-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Schema-Gen?

Schema-Gen is a specialized technical utility designed to bridge the gap between content creation and search engine optimization. By leveraging the Openclaw Skills framework, this tool automates the generation of complex JSON-LD structures, ensuring your website communicates effectively with search engine crawlers. It streamlines the creation of metadata that drives rich snippets, knowledge panels, and enhanced search listings.

This skill eliminates the manual labor and syntax errors typically associated with structured data. Whether you are defining a professional identity with Person schema or detailing commercial offerings with Product and LocalBusiness types, Schema-Gen provides a standardized, error-free output that adheres strictly to current SEO best practices.

Schema-Gen Use Cases

  • Creating Rich Results for blog posts using Article and BreadcrumbList markup.
  • Enhancing e-commerce visibility by generating Product schema with price and availability data.
  • Implementing FAQ and HowTo sections that capture more real estate on Search Engine Results Pages (SERPs).
  • Establishing brand authority by defining Organization and LocalBusiness details for better local SEO performance.
  • Automating the technical SEO workflow within AI-driven development pipelines.

How Schema-Gen Works

  1. The agent analyzes the user's request or existing page context to determine the most relevant schema type.
  2. Required fields are identified and extracted; the agent prompts for missing mandatory information such as addresses or pricing.
  3. The skill constructs a valid JSON-LD object using the https://schema.org context.
  4. Empty or null fields are automatically stripped to maintain a clean, valid data structure.
  5. The final output is wrapped in script tags, ready for immediate injection into the HTML head or body.

Schema-Gen Setup

To integrate this capability into your workflow, ensure your environment supports Openclaw Skills and follow these steps:

# Navigate to your agent's skills directory
cd my-ai-agent/skills

# Clone or add the schema-gen definition
git clone https://github.com/openclaw/schema-gen.gitnn# Restart your agent to load the new schema-gen skill

Schema-Gen Data Schema & Taxonomy

The skill produces standardized JSON-LD structures. Below are the primary data mappings handled by this Openclaw Skills component:

Feature Schema Implementation
Core Context Always set to [https://schema.org](https://schema.org)
Nesting Supports complex nesting for PostalAddress, GeoCoordinates, and ListItem
Formatting Strict JSON syntax within <script type="application/ld+json"> tags
Validation Optimized for the Google Rich Results Test standards

Schema-Gen Advanced Features

  • Multi-type support: Capable of generating markup for 12+ distinct schema categories including VideoObject and Event.
  • Smart FAQ Logic: Automatically handles the complex Question/Answer nesting required for valid FAQ rich results.
  • Hierarchical Breadcrumbs: Manages position-based indexing for BreadcrumbList arrays to ensure logical site navigation in SERPs.
  • Dynamic Geo-tagging: Converts location data into valid GeoCoordinates and PostalAddress objects for LocalBusiness accuracy.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*