Skip to content

fix-social-link-previews

An evidence-based skill for Codex and Claude Code that validates crawler-visible Open Graph and Twitter Card metadata, repairs framework-native metadata, and creates branded 1200×630 preview assets when needed.

A correct web page beside a crawler view that sees only a broken link card

An evidence-based skill for Codex and Claude Code that validates crawler-visible Open Graph and Twitter Card metadata, repairs framework-native metadata, and creates branded 1200×630 preview assets when needed.

What it is

An agent skill for Codex and Claude Code that audits, creates, repairs, and verifies the large-image previews a website shows when its links are shared.

The problem

A page can look correct in the browser while link-preview crawlers see missing or client-only metadata, an image that is too small or unreachable, or an old card the platform has cached. Implementation problems and cache problems need different fixes, and confusing them leads teams to rewrite correct metadata or wait on a cache that will never refresh.

What it delivers

  • Agents can tell a missing card apart from a cached one.
  • Incomplete, relative, or client-only metadata is repaired at its source.
  • A branded large-image asset is created only when one is needed.
  • Agents verify the local implementation and deployed crawler eligibility without promising a platform-specific layout.

Limits to know

  • Social platforms select and cache cards with proprietary rules that cannot be simulated or controlled.
  • Metadata must be visible to crawlers in the server HTML, and image URLs must be reachable remotely.
  • Dimension checks are deterministic only for PNG, JPEG, and supported WebP encodings.

Status and role

  • Status: Published npm package v0.3.0
  • My role: Agent workflow design and automation engineering
  • Scope: Agent workflow, validation automation, and packaging

Project stack

  • Agent Skills
  • JavaScript
  • Node.js
  • npm
  • GitHub Actions
  • CI/CD

Need help with this project? Get project support

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.

Discuss a project