Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kostja94/social-cards-skills --skill twitter-card-image-generatorgit clone --depth 1 https://github.com/kostja94/social-cards-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kostja94/social-cards-skills/twitter-card-image-generator)<a href="https://agentmods.dev/skills/kostja94/social-cards-skills/twitter-card-image-generator"><img src="https://agentmods.dev/badge/skills/kostja94/social-cards-skills/twitter-card-image-generator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kostja94/social-cards-skills/twitter-card-image-generator"><img src="https://agentmods.dev/badge/skills/kostja94/social-cards-skills/twitter-card-image-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00142 | $0.04254 |
| Opus 5 | $0.00071 | $0.02127 |
| Sonnet 5 | $0.00028 | $0.00851 |
| Haiku 4.5 | $0.00014 | $0.00425 |
Grade A, and why
twitter-card-image-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Twitter Card Image Generator
Generate images optimized for X (Twitter) link previews — the cards that appear in the timeline when someone shares a link. Twitter Cards have distinct image dimensions and rendering behavior that differ from standard Open Graph. This skill covers the complete generation pipeline adapted for Twitter's 2:1 aspect ratio and platform-specific quirks.
All six generation approaches and all six visual styles from og-image-generator apply here. The only differences are: output dimensions (1200x675 instead of 1200x630), X-specific design adaptations, timeline-safe zoning, and player card support.
When to Use
- User needs 1200×675px (2:1) images for X/Twitter link previews,
summary_large_image, or player card posters - User mentions
twitter:image, Twitter Card, X preview image, tweet preview, or timeline card design - User needs dark-mode-safe layouts, upper-60% content zones, or 20px edge masks for X's rounded-corner crop
- User already uses og-image-generator and wants the Twitter-adapted variant of the same styles and pipeline
When NOT to Use
- Generic OG images (1200×630, 1.91:1) for Facebook, LinkedIn, Slack, etc. — use og-image-generator instead
- Only setting HTML meta tags (not creating the image file) — use twitter-cards from marketing-skills
- SVG output — Twitter does not support SVG for card images; use PNG or JPG
- No-code visual editor or hosted API — use Oginify instead of running an agent pipeline
When invoking: On first use, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
1. How Twitter Consumes Images
Twitter reads images in this priority order:
twitter:image— if explicitly set, used directlyog:image— falls back to OG image if no Twitter Card tags exist- No image — plain text link preview
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 274 lines · 142 tokens per session scan A cd377e6ac1de
twitter-card-image-generator is a skill published in the GitHub repository kostja94/social-cards-skills (9 stars, last pushed 3mo ago), licensed MIT. It adds 142 tokens to every session and 4,254 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
short-drama
A production workflow for making multi-episode AI short dramas, covering story planning, character consistency, scripts, generated video shots, voices, sound, subtitles, and final assembly.
multi-voice-dubbing
A script-to-audio workflow that gives different characters different voices and emotions, then combines their lines into one audio track with subtitles naming each speaker.
chart-visualization
A chart-making tool that turns data into a single static chart image, such as a bar, line, pie, scatter, radar, flow, or mind-map chart.
skill-content-strategy
A strategy-planning tool for building a creator's content framework over 30, 60, or 90 days. It defines content pillars, which are the main recurring subject areas of an account, along with audience paths, distribution principles, and goals.
skill-news-intelligence
A daily industry-news research workflow that gathers in-depth articles and updates from Chinese technology, business, creator, and AI publications. It filters the results by a creator’s field and turns them into a brief with possible content topics.
skill-topic-evaluator
A topic-evaluation tool that scores one proposed content idea across audience interest, account fit, competition, timing, revenue potential, effort, and compliance risk.