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 og-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/og-image-generator)<a href="https://agentmods.dev/skills/kostja94/social-cards-skills/og-image-generator"><img src="https://agentmods.dev/badge/skills/kostja94/social-cards-skills/og-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/og-image-generator"><img src="https://agentmods.dev/badge/skills/kostja94/social-cards-skills/og-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.00187 | $0.06503 |
| Opus 5 | $0.00093 | $0.03252 |
| Sonnet 5 | $0.00037 | $0.01301 |
| Haiku 4.5 | $0.00019 | $0.00650 |
Grade A, and why
og-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 — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OG Image Generator
Generate Open Graph images — the 1200x630px preview cards that appear when links are shared on social platforms. Pages with unique, well-designed OG images get 2–3x more clicks than bare URL links.
This skill's core is content-aware generation: extracting meaning from the page, matching a visual style, and producing an image that reflects the actual content — not just filling a template with a title.
When to Use
- User needs 1200×630px (1.91:1) images for Facebook, LinkedIn, Slack, Discord, WhatsApp, Telegram, Pinterest, iMessage, or QQ
- User mentions
og:image, Open Graph, social share image, link preview image, or dynamic/programmatic OG generation - User wants Satori JSX templates, AI image generation, or a content-aware workflow that extracts page meaning into a visual card
- User needs one of the six visual styles (Terminal, Magazine, Swiss, Pixel, Brutalist, Newspaper)
When NOT to Use
- Twitter/X Card images (1200×675, 2:1) — use twitter-card-image-generator instead
- Only setting HTML meta tags (not creating the image file) — use open-graph from marketing-skills
- 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 go directly to the generation approach that best fits the user's needs. On subsequent use or when the user asks to skip, go directly to the main output.
1. Six Generation Approaches
These are six fundamentally different ways to produce an OG image. They answer "how does an image get made?" — orthogonal to "what does the image look like?" (which §3 Style System answers).
1.1 AI Image Generation (Core #1)
Use an external AI image model to generate the OG image directly from a prompt. This is the most flexible approach — no template code, no font files, no layout engine. The model handles composition, color, and visual hierarchy in one shot.
What ships with it
30 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.
- references/content-strategy.md 14 KB
- references/font-loading.md 5.4 KB
- references/pipeline-guide.md 12 KB
- references/satori-constraints.md 5.5 KB
- references/style-system-v3.md 40 KB
- references/style-system.md 21 KB
- references/typography.md 7.2 KB
- templates/abstract-gradient.tsx 2.2 KB
- templates/ai-infographic.tsx 3.1 KB
- templates/ai-painterly.tsx 2.5 KB
- templates/ai-sticker.tsx 2.4 KB
- templates/bento-grid.tsx 4.7 KB
- templates/brutalist.tsx 4.5 KB
- templates/cinematic.tsx 3.9 KB
- templates/collage.tsx 3.4 KB
- templates/dark-gradient-texture.tsx 3.5 KB
- templates/grunge.tsx 3.6 KB
- templates/magazine.tsx 6.0 KB
- templates/neo-brutalism.tsx 3.8 KB
- templates/neo-swiss-gradient.tsx 2.9 KB
- templates/newspaper.tsx 5.6 KB
- templates/nextjs-route.tsx 14 KB
- templates/nodejs-generic.ts 5.7 KB runs code
- templates/nuxt.vue 2.7 KB
- templates/pixel.tsx 5.5 KB
- templates/risograph.tsx 3.7 KB
- templates/swiss.tsx 4.2 KB
- templates/terminal.tsx 5.0 KB
- templates/text-overlay-hybrid.tsx 3.7 KB
- templates/vaporwave.tsx 3.4 KB
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 · 482 lines · 0 tokens per session scan A 28a3f3ad765b
og-image-generator is a skill published in the GitHub repository kostja94/social-cards-skills (9 stars, last pushed 3mo ago), licensed MIT. It adds 187 tokens to every session and 6,503 once invoked, about $0.0009 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.