aatrooox/z-card-image/SKILL.md
生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。
npx skillsauth add openclaw/skills z-card-imageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将用户提供的文案渲染成 PNG 卡片图。
支持短文案封面图、长文分页图、X 风格帖子分享长图,以及公众号文章封面图。只要输入是“帖子类型数据”并希望导出成 X 风格长图,都应走 x-like-posts。
/Applications/Google Chrome.app;Linux:chromium 需修改脚本路径)环境提示(用户触发时检测一次,有问题给提示,不中止流程):
python3 --version → 失败则告知:「⚠️ 未检测到 Python 3,渲染可能失败」识别场景:
poster-3-4article-3-4x-like-postswechat-cover-split查模板规则:根据模板在「模板索引」中找到对应规范文档,读取后按其规则处理文案和参数。如用户要求高亮:整行用 --hl1/hl2/hl3,按词用 --highlight-words(逗号分隔),两者可同时使用,不能忽略
识别平台:按「平台预设」自动设置配色;推特长图默认使用 Twitter 风格蓝白灰配色
渲染输出:
poster-3-4 → 执行 render_card.pyarticle-3-4 → 执行 render_article.pyx-like-posts → 执行 render_x_like_posts.pywechat-cover-split → 执行 render_card.py--out 填 tmp/...png;如用户指定导出位置,可直接传绝对路径或相对路径输出产物:生成 PNG 到指定路径,供后续发送、裁切或复用;如需给外部工具上传,仍应避免写入系统 /tmp/
x-like-posts 用于“帖子类型数据 → X 风格分享长图”。
当命中这条路线时,继续读取:
Part 1 / Part 2,不要把超长内容强行塞进一张| 平台 | --footer | --bg | --highlight |
|------|-----------|--------|--------------|
| 公众号(默认) | 公众号 · 早早集市 | #e6f5ef | #22a854 |
| 小红书 | 小红书 · 阿康 | #fdecea | #e53935 |
用户提到"小红书配图"时使用小红书预设;"小绿书"= 公众号配图,使用公众号预设;否则默认公众号。
| 模板名 | 比例 | 尺寸 | 用途 | 规范文档 |
|--------|------|------|------|---------|
| poster-3-4 | 3:4 | 900×1200 | 文字海报(金句/大字报/封面) | references/poster-3-4.md |
| article-3-4 | 3:4 | 900×1200 | 长文分页卡片 | references/article-3-4.md |
| x-like-posts | 自适应长图 | 900px 宽 | X 风格帖子分享长图 | references/x-like-posts.md |
| wechat-cover-split | 335:100 | 1340×400 | 公众号文章封面长条图(左标题右 icon) | references/wechat-cover-split.md |
assets/templates/<name>.htmlrender_card.py 的 size_map 里注册尺寸references/<name>.md,记录该模板的参数、字数上限、配图选取规则tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。