Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

twitter-cards

Skill by kostja94

Guides an AI assistant through adding, auditing and optimizing Twitter Card metadata for X link previews. It covers card types, the twitter:* tags, image requirements and testing. It is meant for users who manage how their pages look when shared on X.

  • Score 75
  • 1.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install twitter-cards

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kostja94/marketing-skills /tmp/marketing-skills && mkdir -p ~/.claude/skills && cp -r /tmp/marketing-skills/skills/seo/on-page/twitter-cards ~/.claude/skills/twitter-cards

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twitter-cards in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The twitter-cards skill guides an AI assistant through adding, auditing, implementing and optimizing Twitter Card metadata, the X-specific tags that control how links appear when shared on X. It covers the four card types (summary, summary_large_image, app and player) and the recommended tags for summary_large_image, including twitter:card, twitter:title, twitter:description and twitter:image.

It also gives image guidance, such as a 2:1 aspect ratio, a 300×157 px minimum and absolute HTTPS URLs, plus common mistakes to avoid and examples for Next.js App Router and generic HTML. The skill says to test the deployed initial HTML and a real share preview, and it points to page-metadata for the full lifecycle and open-graph for broader social previews. It is meant for users who want to add, audit or optimize X link previews on a website.

Written from the project's SKILL.md and checked against it.

What it can do

  • Card type selectionExplains the summary, summary_large_image, app and player Twitter Card types and when to use each.
  • Tag implementationLists the recommended twitter:card, title, description, image, site, creator and image:alt tags.
  • Image requirementsGives the 2:1 aspect ratio, 300×157 px minimum and absolute HTTPS delivery rules for card images.
  • Copy guidanceAdvises writing social titles and descriptions that keep page identity consistent with SEO and Open Graph copy.
  • Common mistake checksFlags missing tags, relative image URLs, wrong image sizes and overly long titles or descriptions.
  • Next.js and HTML examplesProvides code for the Next.js App Router metadata object and for plain HTML meta tags.
  • Preview testingRecommends inspecting deployed HTML and testing a share preview in the current X product.

Try asking

  • Audit the Twitter Card tags on my homepage and list what is missing.
  • Add summary_large_image Twitter Card tags to my Next.js App Router page.
  • Check that my X share image is 2:1 and uses an absolute HTTPS URL.

Good to know

  • The skill says not to rely on the retired public Card Validator as a release gate.
  • Previews may be cached, so changes can take time to appear.
  • Exact image format and size limits should be checked against current X documentation.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/seo/on-page/twitter-cards/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to twitter-cards

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

twitter-cards: common questions

What is the difference between twitter-cards and open-graph?

The twitter-cards skill covers X-specific Card tags, while open-graph covers broader social preview tags. X can fall back to Open Graph tags when Twitter tags are missing.

Which Twitter Card type should I use?

The skill recommends summary_large_image for most pages. It also lists summary, app and player for thumbnails, mobile apps and video or audio content.

What image size does Twitter Card need?

The skill recommends a 1200×675 px image with a 2:1 ratio and a minimum of 300×157 px. It asks users to verify current X documentation for exact limits.

How do I install twitter-cards?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is twitter-cards free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is twitter-cards safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to twitter-cards?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

twitter-cards Install

Add to stack

Loading.