← Back to Skills Marketplace
aatrooox

z-card-image

by Jinx · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
917
Downloads
1
Stars
5
Active Installs
7
Versions
Install in OpenClaw
/install z-card-image
Description
生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install z-card-image
  3. After installation, invoke the skill by name or use /z-card-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
首次发布:文字卡片配图生成器,支持公众号/小红书风格
Metadata
Slug z-card-image
Version 1.1.0
License MIT-0
All-time Installs 5
Active Installs 5
Total Versions 7
Frequently Asked Questions

What is z-card-image?

生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。 It is an AI Agent Skill for Claude Code / OpenClaw, with 917 downloads so far.

How do I install z-card-image?

Run "/install z-card-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is z-card-image free?

Yes, z-card-image is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does z-card-image support?

z-card-image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created z-card-image?

It is built and maintained by Jinx (@aatrooox); the current version is v1.1.0.

💬 Comments