Skip to main content
skill CX Codex

structured-data · cognyai — Claude Code skill: what it does, how to install

structured-data — a Schema.org reference skill that supplies JSON-LD examples and checks a live page's markup for errors.

no license ★ 116 updated 2026-10-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a claude-code
Open on GitHub

What structured-data does

The skill helps pick the right Schema.org type for a page, hands back ready JSON-LD, and lists which properties a type needs to qualify for rich results. The /structured-data audit <url> command pulls a page with curl, since WebFetch strips out <script> content, extracts the JSON-LD blocks and runs them through a Python check for parse errors, then verifies required fields and whether logo and image URLs actually resolve.

With Google Search Console connected, it can show which pages already earn rich results and inspect a single URL through tool_inspect_url. For product pages it pulls real price and stock figures from Shopify or WooCommerce instead of filling in placeholder values, and for articles it reads fields from WordPress, Ghost, Sanity or Contentful. Any write back to a store or a submission to Bing Webmaster Tools is drafted first and needs confirmation before it runs.

What it helps with

  • pick the right Schema.org type for a page
  • build JSON-LD with the required properties filled in
  • check which pages already earn rich results in search
  • catch broken logo or image links inside markup
  • pull live price and stock into Offer markup from Shopify or WooCommerce

Example prompts for the agent

  • Show me a Product schema example for a product page
  • Audit the structured data on example.com/product
  • Build JSON-LD for a blog post using data from WordPress

How to install structured-data

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a claude-code

2Manually: put the files in place

~/.claude/skills/structured-data/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/structured-data/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about structured-data

How do I install structured-data in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a claude-code. The skill lands at ~/.claude/skills/structured-data/SKILL.md.

What does structured-data do?

It points to the correct Schema.org markup, provides ready JSON-LD examples, and audits a live page's structured data for errors by fetching its URL.

How is the audit different with Search Console connected?

Without a connection, it reads the page HTML directly through curl and flags syntax and structural errors. With Google Search Console linked, tool_inspect_url and tool_get_search_analytics also show which pages are actually earning rich results in search.

Similar skills

All skills for SEO and GEO →

structured-data by other authors comes first.

From the same set60

The whole set →
utm-builder utm-builder — a skill for building correct UTM parameters, checking them against GA4 channel rules, and auditing live data from Google Ads and analytics platforms. Built for marketers and analysts who track attribution. CX Codex +1 ★ 116repo stars tiktok-launch-video tiktok-launch-video — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that renders a 9:16 TikTok-native launch video via HyperFrames: hook inside the first second, burned-in captions, fast cuts. CX Codex +1 ★ 116repo stars submit-to-agentlaunch submit-to-agentlaunch submits AI agents to the agentlaunch directory and votes on listings via a public no-auth REST API. Useful when you need to list your agent project automatically. CX Codex +1 ★ 116repo stars subject-line-lab subject-line-lab — a Claude Code skill that pulls subject-line history from a connected ESP and finds what your subscribers actually open. It generates twenty tuned candidates for the next campaign. CX Codex +1 ★ 116repo stars social-engine social-engine runs organic testing on LinkedIn and X by mining customer complaints, drafting batches of founder-led hooks, and vetting top posts for ads. CX Codex +1 ★ 116repo stars shopping-campaign-audit shopping-campaign-audit reviews Google Ads Shopping and retail campaigns, including product spend, bidding, feed coverage, and weak performers. Use it to find where product ad spend leaks. CX Codex +1 ★ 116repo stars seo-monitor seo-monitor pulls rankings, queries and indexing status from Google Search Console and Bing Webmaster Tools. Useful when you want a recurring read on site performance instead of a one-off check. CX Codex +1 ★ 116repo stars seo-audit Runs technical and content SEO audits for any site. Works out of the box using public page markup, and pulls verified Search Console and Bing data via Cogny MCP. CX Codex +1 ★ 116repo stars

Project sponsors

Companies that keep this analytics open