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 tranfu-labs/tranfu-skills --skill write-social-preview-headgit clone --depth 1 https://github.com/tranfu-labs/tranfu-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/tranfu-labs/tranfu-skills/write-social-preview-head)<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/write-social-preview-head"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/write-social-preview-head/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/tranfu-labs/tranfu-skills/write-social-preview-head"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/write-social-preview-head.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.00204 | $0.01892 |
| Opus 5 | $0.00102 | $0.00946 |
| Sonnet 5 | $0.00041 | $0.00378 |
| Haiku 4.5 | $0.00020 | $0.00189 |
Grade A, and why
write-social-preview-head 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 9d 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.
curl -L -I https://example.com/ How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
编写社交分享 Head
核心规则
社交分享场景优先保证爬虫能在初始 HTML 的 <head> 里直接读到完整预览信息,不依赖客户端 JS 注入,不依赖浏览器容错,也不要把 favicon 当作唯一 icon 来源。
对 Lark/飞书这类 IM 预览,图像优先级按 og:image > twitter:image > body 首张大于 100x100 的图片 > 空处理。因此页面 head 必须把 OG/Twitter 主图写完整,并提供 icon/touch icon/manifest 的一致资源链路。
Head 编写清单
每个需要被分享的 HTML 页面都要显式写这些标签:
<title>Page Title</title>
<meta name="description" content="Short page description" />
<link rel="canonical" href="https://example.com/page/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Site Name" />
<meta property="og:locale" content="zh_CN" />
<meta property="og:url" content="https://example.com/page/" />
<meta property="og:title" content="Page Title" />
<meta property="og:description" content="Short page description" />
<meta property="og:image" content="https://example.com/og-image-1200x630-YYYYMMDD.png" />
<meta property="og:image:secure_url" content="https://example.com/og-image-1200x630-YYYYMMDD.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Readable image alt text" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Page Title" />
<meta name="twitter:description" content="Short page description" />
<meta name="twitter:image" content="https://example.com/og-image-1200x630-YYYYMMDD.png" />
<link rel="image_src" href="https://example.com/og-image-1200x630-YYYYMMDD.png" />
<link rel="shortcut icon" href="/favicon-YYYYMMDD.ico" sizes="32x32" type="image/x-icon" />
<link rel="icon" type="image/png" sizes="32x32" href="https://example.com/favicon-32x32-YYYYMMDD.png" />
<link rel="icon" type="image/png" sizes="16x16" href="https://example.com/favicon-16x16-YYYYMMDD.png" />
<link rel="apple-touch-icon" sizes="180x180" href="https://example.com/apple-touch-icon-YYYYMMDD.png" />
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="https://example.com/apple-touch-icon-YYYYMMDD.png" />
<link rel="manifest" href="https://example.com/manifest.json" />
What ships with it
5 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.
- 9d ago First seen · 135 lines · 204 tokens per session scan A ec2075cbdc45
write-social-preview-head is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 204 tokens to every session and 1,892 once invoked, about $0.0010 per session on Opus 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-09-03.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
waitlist-page
A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.
refactoring-ui
Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…