schema-generator

schema-generator is an agent for Claude Code from akii-technologies-ltd/akii-seo-ai-search-optimizer. It costs 124 tokens per session (724 once invoked), scanned A, original, MIT.

An agent for adding Schema.org JSON-LD, structured data that helps search engines understand a webpage. It can work across multiple pages, generate markup, validate it, and write approved changes into source files.

In plain words
What is it for?
Use it to audit or generate markup for articles, products, organizations, how-to pages, FAQs, local businesses, and their breadcrumbs or ratings.
Why use it?
It reduces the manual work of deciding which structured-data types and fields a page needs. Validation helps catch invalid JSON, missing fields, placeholders, and unreachable URLs.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the akii-seo-ai-search-optimizer plugin — 12 skills, 3 commands, 5 agents, 1 hook shipped together

Good fit Use it to audit or generate markup for articles, products, organizations, how-to pages, FAQs, local businesses, and their breadcrumbs or ratings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-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/akii-technologies-ltd/akii-seo-ai-search-optimizer

Made for: Claude Code.

Or install akii-seo-ai-search-optimizer, the plugin that ships this one along with the rest of its 12 skills, 3 commands, 5 agents, 1 hook.

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-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator/github.svg)](https://agentmods.dev/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator)
Your own site
<a href="https://agentmods.dev/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator"><img src="https://agentmods.dev/badge/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for schema-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator"><img src="https://agentmods.dev/badge/agents/akii-technologies-ltd/akii-seo-ai-search-optimizer/schema-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00124 $0.00724
Opus 5 $0.00062 $0.00362
Sonnet 5 $0.00025 $0.00145
Haiku 4.5 $0.00012 $0.00072

Measured 11d ago against content hash 80a68e7d7ee4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

schema-generator scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- URLs reachable (`curl -sI`, tolerate 405)
agents/schema-generator.md · 75 lines

How it starts

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

Schema Generator Agent

You are an autonomous Schema.org JSON-LD specialist powered by Akii. Generate production-ready, AEO-optimized markup at scale.

Inputs

  • Target: file, folder, or URL
  • Schema types: array of requested types (or "auto-detect")
  • Mode: audit-only | propose | write-with-confirm

Workflow

For each target page

  1. Read content (Read for file, WebFetch for URL).
  2. Extract: title, primary entity, body, dates, author, image URLs, canonical, prices, ratings, FAQ-like Q&A pairs.
  3. Auto-detect appropriate schema types if not specified:
    • Blog post → Article + BreadcrumbList
    • Product page → Product + AggregateRating
    • About page → Organization + sameAs
    • HowTo content → HowTo
    • FAQ section detected → FAQPage
    • Local business → LocalBusiness with granular subtype (FinancialService, MedicalBusiness, etc.)
  4. Build JSON-LD:
    • Required + recommended Schema.org fields
    • @id URIs for cross-referencing nested entities
    • sameAs array (Wikipedia, social, directories)
    • Absolute HTTPS URLs only
    • ISO 8601 dates
  5. Validate:
    • JSON syntax
    • Required Schema.org fields
    • No placeholders
    • URLs reachable (curl -sI, tolerate 405)
  6. If write-with-confirm mode:
    • HTML → inject <script type="application/ld+json"> into <head> before </head>
    • MDX/MD → prepend at file head
    • Show diff, require explicit user confirm per file
  7. Aggregate report.

Output

# Schema Generation — <target>
**Pages processed**: 47  ·  **Blocks generated**: 73  ·  **Validation errors**: 2

## Per-page summary
| Page | Types generated | Validation | Written? |

## Validation errors
| Page | Error | Fix |

## Recommended manual review
- 3 pages: aggregateRating placeholder — fill once real data available

Constraints

  • Never fabricate facts, ratings, prices, addresses, dates.
  • Never mark up content not actually on the page.
  • Never overwrite valid existing JSON-LD without explicit confirm.
  • For LocalBusiness, require canonical NAP from caller or refuse + suggest gathering it.

Read the full file on GitHub · 75 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. 11d ago First seen · 75 lines · 124 tokens per session scan A 80a68e7d7ee4

Subscribe to this mod's changes

schema-generator is an agent published in the GitHub repository akii-technologies-ltd/akii-seo-ai-search-optimizer (76 stars, last pushed 3mo ago), licensed MIT. It adds 124 tokens to every session and 724 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

ce-seo-aeo

Use to optimize a draft for search and AI answer engines - title/meta length, answer capsule, internal links, schema - ce-produce pipeline step 4. Example - user says "SEO pass on this draft" -> run this agent with the profile path, draft path, and the site's sitemap URL.

shalintripathi/organic-os · 67 tokens

ce-editor

Use for the final editor-in-chief pass on a verified draft - trims flab, confirms the capsule answers the query, proposes headlines, gives the publish verdict - ce-produce pipeline step 6. Example - user says "final edit this draft" -> run this agent with the draft path.

shalintripathi/organic-os · 62 tokens

analytics-reporting-chief

Use to generate the weekly or monthly performance narrative from GA4/GSC data - WoW/MoM deltas, anomalies, plain-language reporting. Reads the organic-os site profile for context. Example - user says "summarize this week's organic performance" -> run this agent with the profile path and site URL.

shalintripathi/organic-os · 69 tokens

entity-schema-engineer

Use to audit and generate structured data - JSON-LD for Organization/Article/FAQ, schema validity checks. Reads the organic-os site profile for context. Example - user says "does example.com have valid schema" -> run this agent with the profile path and site URL.

shalintripathi/organic-os · 60 tokens

aeo-geo-optimizer

Use to evaluate and improve answer-engine readiness - answer capsules, extractable structure, freshness, AI-crawler access. Reads the organic-os site profile for context. Example - user says "is example.com ready to be cited by ChatGPT" -> run this agent with the profile path and site URL.

shalintripathi/organic-os · 67 tokens

ce-brand-auditor

Use to check a draft against the site's brand voice and banned-phrase rules - ce-produce pipeline step 3. Reads the organic-os site profile's brand rulebook and the draft. Example - user says "brand check this draft" -> run this agent with the profile path and draft path.

shalintripathi/organic-os · 66 tokens