social-x-post-card

social-x-post-card is a skill for Claude Code, Codex from wolfenazz/YzPzCode. It costs 31 tokens per session (1,163 once invoked), scanned A, a copy of social-x-post-card, Apache-2.0.

A visual template for rendering an X post as a realistic shareable card, including the post text, profile details, and engagement figures. X, formerly called Twitter, is a social network for short public posts.

In plain words
What is it for?
Use it to create X post images for social sharing, video overlays, or preserving short statements as visual cards.
Why use it?
It turns written post content into a ready-made visual format for sharing or placing over video. It also keeps the layout and styling consistent with X posts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

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.

agentmods
npx agentmods add skills/wolfenazz/yzpzcode/social-x-post-card
Any agent
npx skills add wolfenazz/YzPzCode --skill social-x-post-card
Clone the repo
git clone --depth 1 https://github.com/wolfenazz/YzPzCode

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for social-x-post-card

README.md
[![agentmods](https://agentmods.dev/badge/skills/wolfenazz/yzpzcode/social-x-post-card.svg)](https://agentmods.dev/skills/wolfenazz/yzpzcode/social-x-post-card)
Your own site
<a href="https://agentmods.dev/skills/wolfenazz/yzpzcode/social-x-post-card"><img src="https://agentmods.dev/badge/skills/wolfenazz/yzpzcode/social-x-post-card.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01163
Opus 5 $0.00015 $0.00581
Sonnet 5 $0.00006 $0.00233
Haiku 4.5 $0.00003 $0.00116

Measured 2d ago against content hash 696a2455cc39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

social-x-post-card 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 2d 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.

Origin

This is a copy

100% identical to social-x-post-card — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

app/desgin/plugins/_official/examples/social-x-post-card/SKILL.md · 66 lines

What it actually says

【模板: X (Twitter) 帖子卡】 【意图】把一段推文内容 (或用户的金句) 渲染成一张拟真度极高的 X 帖子卡片, 用于视频叠加、推特发图、知识沉淀。Inspired by hyperframes x-post。

【画布】1280×720 或 1080×1080, 暗背景 #0f1419 或亮背景 #ffffff (按 X 主题); 卡片居中, 阴影柔和。

【卡片结构】

  • 外框: 圆角 16px, 1px border #2f3336 (dark) / #eff3f4 (light), 内边距 16px。
  • 顶部 row: 头像 (48×48 圆形, 用 CSS gradient 占位) + 用户名 + handle @username + verified 蓝勾 + 时间 (mono, 12px, 灰)。
  • 正文: 17-22px, 字重 400; 链接用 X 蓝 #1d9bf0; hashtag 同色; mention 同色; 段落间空 0.6em。
  • 可选: 引用卡 (小卡内嵌, 灰底, 圆角 12px)。
  • 可选: 1 张图 (CSS 渐变 + 描述占位, 不能外链图片), 比例 16:9, 圆角 12px。
  • 互动 row: 4 个 icon + 数字 (回复 / 转推 / 引用 / 点赞), icon 用 inline SVG (X 官方风格), 灰色, hover 时变色。
  • 顶部右上 X logo 单线 SVG。
  • 浏览量 row: 👁️ + 数字 (小字)。

【字体】

  • 西文: Chirp (X 的字体) → fallback InterSegoe UI
  • 中文: Noto Sans SC / PingFang SC
  • 数字: 同主字体, 不用 mono。

【设计细节】

  • 配色 light: bg #fff, text #0f1419, secondary #536471, border #eff3f4, accent #1d9bf0
  • 配色 dark (推荐, 视频叠加用): bg #000, text #e7e9ea, secondary #71767b, border #2f3336, accent #1d9bf0
  • 数字格式化: 1.2K / 4.5M (不要原始 1234)。
  • 内容必须来自用户输入, 不能编造推文。
  • 若用户输入是数据 → 自动总结成一句"金句"推文 (≤ 280 字符)。
  • 单文件 HTML; icon 内联 SVG; 不要任何外部图片 URL。
  • 可选: 卡片背后加微妙径向高光 radial-gradient(...) 增加视频叠加的可读性。
Files

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.

Changes

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.

  1. 2d ago First seen · 66 lines · 31 tokens per session scan A 696a2455cc39

Subscribe to this mod's changes

social-x-post-card is a skill published in the GitHub repository wolfenazz/YzPzCode (13 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 1,163 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to social-x-post-card, differing in 0 lines, and is treated as a copy.