0juano/agent-skills/x-image-cards
Claude Code and agent skill by 0juano/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Create X/Twitter cards that look like images, not marketing banners. Use when asked to "create OG images", "set up X cards", "make social cards", or "twitter card without text".
Install
npx vskill@latest install 0juano/agent-skills/x-image-cardsSKILL.md
The same SKILL.md was published earlier as 0juano/agent-skills/x-image-cards.
X Image Cards
Create X cards that look like images, not marketing banners. Let the visual be the content — X already shows your title and description in the card UI.
X-Specific Requirements
| Spec | Value | Why | |
|---|---|---|---|
| Dimensions | 2400×1200 physical (1200×600 logical) | 2x for retina, 2:1 aspect ratio | |
| Safe margins | 50-56px padding (at 1x) | X clips edges on mobile | |
| URL format | /og/page.png not /og/page?format=png | X prefers explicit extensions | |
| Colors | #FFFFFF primary, avoid subtle grays | Thumbnails are tiny |
Zero-Width Space Trick
X overlays og:title as white text on the image. Hide it with a zero-width space:
In JSX: content={"\u200B"}
Your page <title> stays descriptive for SEO — only og:title uses the trick.
Meta Tags
Dynamic Generation
Use @vercel/og with 2x scale and safe margins:
Express
Dynamic Routes (Optional)
For per-page OG images, two approaches:
On-Demand Generation
Generate when crawler requests the image:
Risk: X crawlers timeout after ~5 seconds. Cold starts can exceed this, causing blank previews.
Pre-Generated (Recommended)
Generate and store image when content is created:
Pre-generation ensures instant response for crawlers.
Checklist
- [ ] 2400×1200 (2x retina)
- [ ] 2:1 aspect ratio
- [ ] 50-56px safe margins
- [ ] High contrast colors
- [ ]
.pngextension in URL - [ ] Zero-width space in
og:title - [ ] Test: https://cards-dev.twitter.com/validator
Built for [BondTerminal](https://bondterminal.com). See it in action: [example X post](https://x.com/0juano/status/2016559903578407358).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingx-image-cards/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0juano/agent-skills/x-image-cards)