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
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/structured-data/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/structured-data/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a codex2Manually: put the files in place
.agents/skills/structured-data/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a cursor2Manually: put the files in place
.cursor/skills/structured-data/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cognyai/claude-code-marketing-skills skills/structured-data2Manually: put the files in place
.github/skills/structured-data/SKILL.md1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a gemini-cli2Platform CLI
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/structured-dataManually: put the files in place
.devin/skills/structured-data/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill structured-data -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.