← Back to Skills Marketplace
Xhs Html Creator
by
anastasiavanzato299-maker
· GitHub ↗
· v1.0.3
· MIT-0
129
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install xhs-html-creator
Description
小红书图文创作技能。触发条件:用户说"生成图文"、"创作内容"、"做图文矩阵"、"生成XX的图文"时使用。功能:读取素材库 → 生成7张竖屏小红书图文 → AI专家两轮review迭代 → 用户最终确认交付。
Usage Guidance
Do not install blindly. The skill includes runnable Python scripts (Playwright screenshots, send_images) but declares no install or dependency list and no credentials even though it mentions posting to Feishu and calling another collector skill. Before using: 1) ask the author to document required packages (e.g., playwright), precise endpoints, and required env vars (Feishu tokens, any API keys); 2) inspect send_images/screenshot scripts for any hardcoded endpoints, embedded tokens, or unexpected network calls; 3) fix the hardcoded WORKSPACE path to a safe relative path or env var (the SKILL.md itself forbids hardcoding but the example still does it); 4) run the skill in a restricted/sandboxed workspace first (no access to your real home directory) and monitor outbound network requests; and 5) require the publisher to add an explicit install spec and to declare the exact permissions/credentials needed before granting access to sensitive environment or tokens.
Capability Analysis
Type: OpenClaw Skill
Name: xhs-html-creator
Version: 1.0.3
The skill bundle is a specialized tool for generating Little Red Book (XHS) social media graphics by rendering HTML templates into images using Playwright. The workflow involves generating HTML, taking screenshots via a local HTTP server, and sending the results to a Feishu (Lark) recipient. While the scripts contain hardcoded local file paths (e.g., 'C:\Users\95116\...') and a specific Feishu user ID in files like 'output/screenshot_v3.py' and 'output/send_images.py', these appear to be artifacts of the developer's local configuration rather than intentional malice. The behavior is consistent with the stated purpose of content creation and lacks indicators of data exfiltration or system compromise.
Capability Tags
Capability Assessment
Purpose & Capability
The skill claims to only read a local素材库 and generate HTML/screenshots, which matches the templates and output files. However it also references integrations (xhs-material-collector, Feishu image sender) and includes many Python scripts (screenshot/send_images and template renderers). Yet the registry metadata lists no required env vars, no required binaries, and no install spec — which is inconsistent with needing Playwright, HTTP server, and API credentials to post images. Several files suggest external network activity (sending images), so the declared requirements are incomplete/unjustified.
Instruction Scope
SKILL.md instructs starting an HTTP service, running Playwright to screenshot, sending images to AI experts and to Feishu, cleaning files, and reading old HTML paths. The included screenshot example contradicts its own rule: it says 'prohibit hardcoding user directory' but the provided screenshot.py snippet hardcodes WORKSPACE = Path(r'C:\Users\95116\.openclaw\workspace'), which would access a specific user's filesystem. Instructions permit reading old HTML file paths supplied by users and call other components (xhs-material-collector) — these behaviors broaden the scope and could access arbitrary workspace files or external services without declared safeguards.
Install Mechanism
There is no install spec even though the skill ships dozens of Python files that clearly rely on Playwright and likely other Python packages and fonts. The lack of an install mechanism or declared dependencies means required packages may be missing or the skill will attempt to run arbitrary Python code without clearly declared provenance or setup steps. This mismatch increases operational risk.
Credentials
The SKILL.md refers to sending images to Feishu (feishu_image.py / feishu integration) and calling xhs-material-collector, which typically require API tokens/credentials, but the skill declares no required environment variables or primary credential. That omission is suspicious: either credentials are expected but undeclared, or the code will attempt to use hardcoded tokens/endpoints (not shown) or fail. The hardcoded WORKSPACE path is another environment-related mismatch.
Persistence & Privilege
The skill does not request always:true and is user-invocable; it does not declare system-wide config changes. Iteration rules indicate deletion of older files in the skill's output directory (file cleanup), which is normal for a content generator but be aware it will delete older output/versions under its output/ path.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xhs-html-creator - After installation, invoke the skill by name or use
/xhs-html-creator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
新增HTML规范章节(notion_v2/baoyu_v2/hospitalNEW/memo的字体/颜色/布局标准);其他问题修复
v1.0.2
模板库4个模板落地;新增起点确认规则;新增迭代轮数规则;新增旧文件清理规范;脚本路径改相对路径
v1.0.1
xhs-html-creator 1.0.1
- Added a comprehensive workflow for 小红书图文创作, outlining a 6-step process from theme confirmation to user delivery.
- Specified detailed review steps with AI专家, including two review rounds and clear criteria for iteration and delivery.
- Defined strict HTML layout, spacing, font size, and compliance rules tailored for 小红书 vertical content.
- Provided template selection guidelines and listed four built-in style templates.
- Included example scripts for automated HTML screenshotting and image delivery via 飞书.
- Added clear criteria for deleting old versions and maintaining final deliverables only.
Metadata
Frequently Asked Questions
What is Xhs Html Creator?
小红书图文创作技能。触发条件:用户说"生成图文"、"创作内容"、"做图文矩阵"、"生成XX的图文"时使用。功能:读取素材库 → 生成7张竖屏小红书图文 → AI专家两轮review迭代 → 用户最终确认交付。 It is an AI Agent Skill for Claude Code / OpenClaw, with 129 downloads so far.
How do I install Xhs Html Creator?
Run "/install xhs-html-creator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Xhs Html Creator free?
Yes, Xhs Html Creator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Xhs Html Creator support?
Xhs Html Creator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Xhs Html Creator?
It is built and maintained by anastasiavanzato299-maker (@anastasiavanzato299-maker); the current version is v1.0.3.
More Skills