schema-markup-generator

schema-markup-generator is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 75 tokens per session (1,633 once invoked), scanned A, original, MIT.

A structured-data generator creates JSON-LD, a machine-readable description of page content used by search engines and other tools.

In plain words
What is it for?
It helps generate or audit markup for articles, FAQs, tutorials, products, reviews, recipes, events, local businesses, people, organizations, videos, software, and more.
Why use it?
It helps search systems understand pages and may enable enhanced search listings such as FAQs, ratings, event details, or breadcrumbs.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit It helps generate or audit markup for articles, FAQs, tutorials, products, reviews, recipes, events, local businesses, people, organizations, videos, software, and more.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/schema-markup-generator
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.

Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for schema-markup-generator

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/schema-markup-generator.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/schema-markup-generator)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/schema-markup-generator"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/schema-markup-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00075 $0.01633
Opus 5 $0.00037 $0.00816
Sonnet 5 $0.00015 $0.00327
Haiku 4.5 $0.00007 $0.00163

Measured 8d ago against content hash 14e3fa7beb89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

schema-markup-generator 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 8d 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.

integrations/cursor/schema-markup-generator.mdc · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Schema Markup Generator

Generate JSON-LD structured data for rich results, AI citations, and enhanced search visibility.

When to Use

  • Adding structured data to new or existing pages
  • Generating JSON-LD for specific schema types
  • Auditing existing schema for errors or missing fields
  • Improving AI search visibility (pairs with aeo-geo-optimizer)
  • Enabling rich results (FAQ dropdowns, star ratings, how-to steps)

Workflow

Step 1: Identify Content Type

Content Primary Schema Rich Result
Blog post Article Enhanced listing with author, date
FAQ section FAQPage Expandable Q&A in SERPs
Tutorial HowTo Step-by-step with images/time
Product page Product Price, availability, ratings
Review Review + Rating Star ratings in SERPs
Recipe Recipe Cooking time, ingredients, ratings
Event Event Date, location, ticket info
Local business LocalBusiness Maps, hours, contact
Person/author Person Knowledge panel
Breadcrumbs BreadcrumbList Breadcrumb trail in SERPs
Video VideoObject Video carousel, thumbnails
Software SoftwareApplication App info in SERPs
Course Course Course info in SERPs
Dataset Dataset Dataset search results

Step 2: Generate JSON-LD

Generate a <script type="application/ld+json"> block with all required and recommended fields for the schema type. Always use JSON-LD format (not Microdata or RDFa).

Step 3: Validate

Schema Templates

Article

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Article Title (max 110 chars)",
  "description": "Brief description of the article",
  "author": {
    "@type": "Person",
    "name": "Author Name",
    "url": "https://example.com/author/name",
    "jobTitle": "Author Title",
    "sameAs": ["https://linkedin.com/in/author", "https://twitter.com/author"]
  },
  "publisher": {
    "@type": "Organization",
    "name": "Publisher Name",
    "logo": {"@type": "ImageObject", "url": "https://example.com/logo.png"}
  },
  "datePublished": "2026-03-18T00:00:00Z",
  "dateModified": "2026-03-18T00:00:00Z",
  "image": "https://example.com/article-image.jpg",
  "mainEntityOfPage": {"@type": "WebPage", "@id": "https://example.com/article-url"}
}

Read the full file on GitHub · 194 lines

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. 8d ago First seen · 194 lines · 75 tokens per session scan A 14e3fa7beb89

Subscribe to this mod's changes

schema-markup-generator is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (132 stars, last pushed 3mo ago), licensed MIT. It adds 75 tokens to every session and 1,633 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.