← 返回 Skills 市场
917
总下载
1
收藏
5
当前安装
7
版本数
在 OpenClaw 中安装
/install z-card-image
功能描述
生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。
安全使用建议
This skill appears to do exactly what it says: render templates into PNGs using Python and headless Chrome (ffmpeg only for the wechat-cover-split template). Before installing or running: 1) ensure python3 and Chrome/Chromium are available and that you are comfortable the agent can run headless Chrome and (optionally) ffmpeg; 2) be aware the code executes subprocesses (chrome and ffmpeg) and creates temporary HTML files — run it in an environment where executing those binaries is acceptable; 3) note the developer-default absolute icon path (/Users/aatrox/...) may not exist on your machine—if missing, specify --icon or update the template paths; 4) no secrets or network calls are requested by the skill, but you should still review the templates/assets if you plan to render sensitive content. If you want extra assurance, run the scripts locally with safe sample input to confirm behavior before granting agent-level use.
功能分析
Type: OpenClaw Skill
Name: z-card-image
Version: 1.1.0
The skill bundle provides Python scripts to render text into images using headless Google Chrome and ffmpeg. It is classified as suspicious because it utilizes risky capabilities, such as executing shell commands via `subprocess.run` and allowing the AI agent to write files to arbitrary absolute paths provided via the `--out` parameter (as explicitly instructed in `SKILL.md`). These behaviors, while plausibly needed for the stated purpose, lack sufficient input sanitization and create a risk of arbitrary file writes. Additionally, `render_card.py` and `references/wechat-cover-split.md` contain hardcoded absolute paths to a specific local user directory (`/Users/aatrox/...`), which is a poor security practice and reveals information about the development environment.
能力评估
Purpose & Capability
Name/description, declared binaries (python3, google-chrome), templates, and scripts all align: the code builds HTML from templates and uses headless Chrome (and ffmpeg for wechat-cover-split) to create PNGs. No unrelated services or credentials are requested.
Instruction Scope
SKILL.md instructions map directly to the scripts' behavior: detecting environment binaries, choosing templates, applying highlights, and calling the renderer. The runtime instructions do not instruct reading arbitrary system config, contacting external endpoints, or exfiltrating data. The scripts do run subprocesses (Chrome, optional ffmpeg) to render screenshots, which is expected for this function.
Install Mechanism
This is an instruction-and-script-only skill with no install spec. No remote downloads or package installs are performed automatically by the skill bundle itself.
Credentials
No environment variables or credentials are required. Minor oddity: several files/reference docs (and render_card.py) contain a hard-coded absolute default icon path (/Users/aatrox/.openclaw/agents/zoe/...), which is a developer-specific workspace path — not a credential but may not exist on other users' systems and could cause missing-icon behavior. The scripts also reference local asset paths for fonts and avatars; these are normal for rendering but worth noting.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges. It writes temporary HTML files and output PNGs to the provided output paths; this is expected behavior for a renderer.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install z-card-image - 安装完成后,直接呼叫该 Skill 的名称或使用
/z-card-image触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Add x-like-posts share cards, WeChat split cover template, and improved export guidance
v1.0.5
- Updated template reference from image-3-4.md to poster-3-4.md for clarity.
- Refined template processing: clarified highlight parameter usage (`--hl1/hl2/hl3` for lines, `--highlight-words` for words), allowing both to be used simultaneously.
- Clarified platform presets: "小绿书" now uses the 公众号 preset.
- Added explicit `metadata.openclaw.requires` for python3 and google-chrome.
- Improved render output instructions: now use `--out tmp/card.png` and ensure `tmp/` directory exists.
v1.0.4
新增 zzclub-logo-black 圆形图标;poster-3-4 模板顶部图标改圆形显示;支持 --highlight-words 词级高亮
v1.0.3
fix: 对用户输入做 HTML 转义防注入;highlight-words 匹配转义后词;Chrome 加 --no-sandbox
v1.0.2
fix: 修复模板绝对路径问题,字体内置到 skill;支持词级高亮 --highlight-words;修复滚动条显示
v1.0.1
fix: 移除 description 中的环境限制描述,改放 SKILL.md 正文
v1.0.0
首次发布:文字卡片配图生成器,支持公众号/小红书风格
元数据
常见问题
z-card-image 是什么?
生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 917 次。
如何安装 z-card-image?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install z-card-image」即可一键安装,无需额外配置。
z-card-image 是免费的吗?
是的,z-card-image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
z-card-image 支持哪些平台?
z-card-image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 z-card-image?
由 Jinx(@aatrooox)开发并维护,当前版本 v1.1.0。
推荐 Skills