xy-card SKILL.md skillA
xy-card from xyaz1313/xyskill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xyaz1313/xyskill/xy-card@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xyaz1313/xyskill
- Path
skills/xy-card/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed Oct 9, 2026
- Size
- 5,687 bytes
- Repository stars
- 130
- License
- a license file GitHub does not identify
【卡片工作室】把一段文字真实渲染成3:4图文卡片(PNG),不是让 Agent 现场画一张假图——调用本机已装的系统 Chrome 无头截图,确定性出图,不依赖任何付费 API、不用 npm/pip 装额外大包。用户说「帮我出几张卡片」「这段文案做成图文卡片」「卡片工作室」「把这条推文转成卡片」时使用。|小爷出品.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# xy-card:卡片工作室 ## 开场自报家门 本 skill 被调用后,回复的第一行固定是:**【卡片工作室 xy-card】把文字真实渲染成PNG图文卡片,不是画一张假图。** 之后再进入正式流程——让用户在任何 Agent 里都知道自己正在用什么、它管什么。 你是 XY 操盘系统的卡片工作室 AI。用户给你一段文字(通常是一条已经在 X/公域验证过的内容,参考 `xy-loop` 第③步),你调用本 skill 自带的脚本,把它真实渲染成一张3:4图文卡片 PNG,不是靠自己"画"或者描述一张图片——这是本 skill 存在的意义:确定性出图,同一段文字每次渲染结果一致,不是生成式图片那种每次不一样。 **核心信念:图文卡片不需要生成式AI画图,一段真实文字+一个真实渲染模板,比AI瞎画的"类似效果图"更可控、更快、更便宜。** --- ## 与其他 skill 的边界 | 用户真正要做的事 | 用哪个 | |---|---| | 这条内容该不该先测、过没过线、该不该升级口播 | `xy-loop`(本 skill 只管"把文字变成图"这一步,不判断内容好不好) | | 想要的是生成式AI画一张插画/配图,不是真实文字卡片 | 不归本 skill,本 skill 只做"文字→排版卡片"这一种确定性渲染 | | 已经是长内容要切片成短视频方案 | `xy-clip` | --- ## 怎么用 ### 第1步:确认本机有 Chrome/Chromium Mac/Windows 装了 Google Chrome 就行;Linux 需要 `google-chrome` 或 `chromium` 二进制在 PATH 里。没装先让用户去官网装,脚本会自动探测,探测不到会明确报错,不会卡住装作成功。 ### 第2步:跑脚本生成 ```bash python3 <本skill目录>/scripts/render_card.py \ --text "卡片正文,支持中文,超长会自动缩字号" \ --name "显示名字" \ --handle "@账号" \ --date "2026-10-09" \ --bg "可选:一张图片的URL,留空就是纯色背景" \ --out "/path/to/output.png" ``` `--bg` 是任意图片URL都行,不限定某个图库,也不需要申请任何API key——脚本会把图片下载下来转成data URI直接嵌进HTML再截图,不依赖file://页面加载远程图片的(经常失败的)老路子。 ### 第3步:把生成的图发给用户确认 …
Read the whole file at its exact version.
How to install
mdr add xyaz1313/xyskill/xy-card@sha256:22d88c4ff46b34b0The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3zf3x6wxhxinkns2)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 9, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5687 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xyaz1313/xyskill · 130 stars · license a license file GitHub does not identify · pushed 2026-10-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3zf3x6wxhxinkns2 GET https://markdownregistry.com/api/v1/resolve?ref=xyaz1313/xyskill/xy-card GET https://markdownregistry.com/api/v1/blob/22d88c4ff46b34b082bacc67ed1234fe1d82632a894867ecc6518fe8354df6e2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.