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 hermoso-ai/hermoso --skill social-preview-imagesgit clone --depth 1 https://github.com/hermoso-ai/hermosoWrote 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/hermoso-ai/hermoso/social-preview-images)<a href="https://agentmods.dev/skills/hermoso-ai/hermoso/social-preview-images"><img src="https://agentmods.dev/badge/skills/hermoso-ai/hermoso/social-preview-images/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/hermoso-ai/hermoso/social-preview-images"><img src="https://agentmods.dev/badge/skills/hermoso-ai/hermoso/social-preview-images.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.01668 |
| Opus 5.5 | $0.00057 | $0.00667 |
| Sonnet 5.5 | $0.00028 | $0.00334 |
| Haiku 4.5 | $0.00014 | $0.00167 |
Grade A, and why
social-preview-images scanned grade A with 1 finding 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 today.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
4. Download the returned URL into the static folder with `curl -L -o <static>/og-background.png "<url>"` and continue How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Social preview images and favicons
The image a link preview shows is a file in the repository plus two or three tags that point at it. This skill makes the files from what the repository already says about the product, puts them where the framework serves static files, and wires the tags. Text on the card is set by code, never painted by an image model, so it is always spelled right.
1. Read the brand from the repository (free)
Collect, and show the user what you found:
- Name and one-line tagline:
package.jsonname/description, the README's first heading and first sentence, the site's<title>and hero heading. - Colours: CSS custom properties (
--primary,--brand,--accent),tailwind.config.*theme.extend.colors, a theme file, or the most used colours in the main stylesheet. - Font:
next/fontimports,@font-face, a Google Fonts link,fontFamilyin the Tailwind config. - Logo: an existing
logo.svg,icon.svg,favicon.*or the inline SVG in the header component. - Static folder:
public/(Next.js, Vite, Astro, Nuxt),static/(Hugo, SvelteKit, Docusaurus), or the site root.
If the repo has no logo, the favicon in step 3 is a monogram of the name in the brand colour; say so.
2. Make the 1200x630 card (free routes first)
Pick the first route that fits:
A. Next.js App Router. Write app/opengraph-image.tsx (and app/twitter-image.tsx re-exporting it) using
ImageResponse from next/og, export const size = { width: 1200, height: 630 } and
export const contentType = 'image/png': the name, the tagline and the logo on the brand colour, in the brand font
loaded with fetch or readFile. Next.js renders it at build time and adds the tags itself. Add metadataBase to
the root layout if it is missing, or the image URL is not absolute. Per-route variants go in the route's folder.
B. Any other site. Write og-image.svg (1200x630, the same layout) next to the static files, then rasterise it
to og-image.png with a tool that is ALREADY available. Check, in this order, and use the first one present:
resvg, rsvg-convert, magick (ImageMagick 7), inkscape, then a sharp, playwright or puppeteer
dependency already in package.json. If none is present, tell the user which one you would install and wait for
them to agree before installing anything. Keep the SVG source in the repo so the card can be regenerated.
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.
- today First seen · 96 lines · 142 tokens per session scan A 18eeec67bf6c
social-preview-images is a skill published in the GitHub repository hermoso-ai/hermoso (10 stars, last pushed today), licensed Apache-2.0. It adds 142 tokens to every session and 1,668 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
social-preview-images compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| social-preview-imageshermoso-ai/hermoso | Skill | 10 | today | Apache-2.0 | A | 142 | Claude Code |
| taskade-fix-first-screentaskade/mcp | Skill | 170 | 6d ago | MIT | A | 148 | Claude Code |
| html-design-revisionzenitheditor/zenith | Skill | 27 | 8d ago | Apache-2.0 | A | 54 | Claude Code, Codex |
| html-authorzenitheditor/zenith | Skill | 27 | 8d ago | Apache-2.0 | A | 70 | Claude Code, Codex |
| genpark-vision-coderalphaparkinc/genpark-vision-coder | Skill | 9 | 1mo ago | MIT | A | 28 | Claude Code, Codex |
| section-rebuildbryntay/a1-mcp | Skill | 1 | 22d ago | MIT | A | 56 | Claude Code |
| vectorizesvgnew/mcp | Skill | 1 | 1mo ago | MIT | A | 55 | Claude Code |