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 jamestexas/agents --skill repo-social-previewgit clone --depth 1 https://github.com/jamestexas/agentsWrote 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/jamestexas/agents/repo-social-preview)<a href="https://agentmods.dev/skills/jamestexas/agents/repo-social-preview"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/repo-social-preview/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/jamestexas/agents/repo-social-preview"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/repo-social-preview.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.00058 | $0.01886 |
| Opus 5.5 | $0.00023 | $0.00754 |
| Sonnet 5.5 | $0.00012 | $0.00377 |
| Haiku 4.5 | $0.00006 | $0.00189 |
Grade A, and why
repo-social-preview 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
allowed-tools: Read Glob Grep Bash(gh api graphql *) Bash(jq *) Bash(curl *) Bash(file *) How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/repo-social-preview — GitHub Social Preview (OpenGraph)
Audit a GitHub repository's social preview image — the 1280×640 card shown when the repo URL is unfurled on HN, Twitter, Slack, Discord, or any OpenGraph-aware surface.
Arguments
$ARGUMENTS
<owner/repo>— one or more target repos. Defaults to the repo containing the current working directory.--audit-only(default) — report state and recommendations; no writes.
Why this skill is audit-only
GitHub's API does not support uploading social preview images via REST. The image must be uploaded through the web UI:
Settings → General → Social preview → Edit → Upload an image
This skill therefore does not apply changes. It produces:
- An inventory of which repos are missing previews (or have a stale auto-generated one).
- Concrete recommendations for what image to upload.
- The manual upload URL for each repo, so you can click through quickly.
What this solves
When someone posts your repo link to HN, Slack, or Twitter, the recipient sees one of three things:
- Custom social preview (good) — a designed card that reinforces what the project is.
- GitHub's auto-generated card (mediocre) — the repo name + description on a grey background. Better than nothing, but every repo on GitHub looks the same.
- No preview (bad) — happens for some surfaces when the OpenGraph fetch fails. Just a bare link.
Custom previews dramatically improve link click-through on social. They're also the most often-forgotten SEO surface because the upload is buried in repo settings.
What a good social preview looks like
- 1280×640 pixels (GitHub's recommendation; 2:1 ratio).
- The repo's identity legible at thumbnail size — Twitter/Slack often display these at 600×300 or smaller.
- The project name in large text if there's no recognizable logo yet.
- A one-line tagline below the name — the same one that's in the GitHub description, ideally.
- Strong contrast — these are seen on light and dark backgrounds across surfaces.
- Avoid screenshots of code — they don't survive being scaled down.
- Avoid emoji as the primary visual element — they render inconsistently across platforms.
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.
- 2mo ago Changed 4eaec9600a46
- 3mo ago First seen · 179 lines · 58 tokens per session scan A 03969a9ae9a9
repo-social-preview is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 1,886 once invoked, about $0.0002 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-08-31.
repo-social-preview compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-social-previewjamestexas/agents | Skill | 2 | today | Apache-2.0 | A | 58 | Claude Code |
| markdown-ui-dslMegaByteMark/markdown-ui-dsl | Skill | 25 | 8mo ago | MIT | A | 25 | Claude Code, Codex |
| prototypevinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | yesterday | MIT | A | 39 | Claude Code, Codex |
| prototypedevcxl/mattpocock-skills-zh | Skill | 568 | today | MIT | A | 39 | Claude Code, Codex |
| design-system-architectroedyrustam/vibes-plug | Skill | 130 | 4d ago | MIT | A | 43 | Cursor |
| visual-ui-auditorroedyrustam/vibes-plug | Skill | 130 | 4d ago | MIT | A | 51 | Cursor |
| svg-animation-motion-expertroedyrustam/vibes-plug | Skill | 130 | 4d ago | MIT | A | 46 | Cursor |