← Back to Skills Marketplace
tangyijun

xiaohongshu card generator

by tangyijun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
233
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install nuomi-xhs-card
Description
当用户提及渲染 Markdown/文本 为小红书风格卡片 ,当用户提及"生成小红书卡片"、"md 转图片"、"制作卡片"、"小红书图文" .
Usage Guidance
This skill appears to do what it claims: convert local Markdown/MDX into themed PNG cards using Playwright. Before installing or running it: (1) review assets/templates for any embedded or unexpected data (base64 images), (2) run in a sandbox or VM the first time because setup.sh runs npm ci and Playwright will download packages and a Chromium binary, (3) prefer 'doctor' first to validate templates and Playwright, (4) note that remote image fetching (embedding external images) happens only when you enable --wechat-mode, so avoid that flag if you don't want the tool to make outbound HTTP requests, and (5) inspect package.json/package-lock.json if you need assurance about third-party dependencies. If you want extra caution, audit the code (already included) or run npm install with network monitoring / offline lockfile verification.
Capability Analysis
Type: OpenClaw Skill Name: nuomi-xhs-card Version: 1.0.0 The skill bundle is a Markdown/MDX to image renderer that utilizes high-risk execution patterns. Specifically, 'scripts/src/core/markdown.ts' uses the MDX 'evaluate' function, which allows for arbitrary JavaScript execution within the rendering process. Furthermore, 'scripts/src/core/structure.ts' implements remote image fetching via 'fetch', and the core rendering logic in 'scripts/src/core/render.ts' relies on a headless Playwright browser. While these features are aligned with the tool's stated purpose of rendering complex documents, they represent a significant attack surface for Remote Code Execution (RCE) and Server-Side Request Forgery (SSRF) if the agent processes untrusted input. No evidence of intentional malice or data exfiltration was detected.
Capability Assessment
Purpose & Capability
Name/description match the code and CLI: the repo contains Markdown→HTML→paginate→Playwright→PNG pipeline, 24 templates, and CLI commands (render/templates/doctor). No unrelated credentials, binaries, or network-only services are required for the core functionality.
Instruction Scope
SKILL.md only instructs local install and running the provided CLI. It asks the agent to request user confirmation for template and output directory (reasonable). One caution: an optional mode (--wechat-mode) enables fetching remote images and in that case the tool will fetch external image URLs and embed them as data URIs; this is explicit in the code and controlled by a CLI flag (not enabled by default).
Install Mechanism
No platform install spec in registry, but included scripts/setup.sh runs npm install/ci and invokes Playwright to download Chromium. This is expected for a Node+Playwright tool but does download many npm packages and a browser binary (moderate risk if running untrusted code).
Credentials
The skill requests no environment variables or credentials. File access is limited to reading the user-specified input Markdown and writing output files/directories (as a renderer should).
Persistence & Privilege
Skill is not marked always:true, does not modify other skills or system-wide agent configs. It runs locally and writes its own output/report files only.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nuomi-xhs-card
  3. After installation, invoke the skill by name or use /nuomi-xhs-card
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of nuomi-xhs-card skill. - Converts Markdown/MDX to Xiaohongshu-style card images using 24 built-in templates. - Supports light/dark modes, intelligent pagination, and flexible CLI parameters. - Provides template suggestions based on content type and guides users through card creation. - Includes debugging and detailed output steps for clarity and troubleshooting.
Metadata
Slug nuomi-xhs-card
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is xiaohongshu card generator?

当用户提及渲染 Markdown/文本 为小红书风格卡片 ,当用户提及"生成小红书卡片"、"md 转图片"、"制作卡片"、"小红书图文" . It is an AI Agent Skill for Claude Code / OpenClaw, with 233 downloads so far.

How do I install xiaohongshu card generator?

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

Is xiaohongshu card generator free?

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

Which platforms does xiaohongshu card generator support?

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

Who created xiaohongshu card generator?

It is built and maintained by tangyijun (@tangyijun); the current version is v1.0.0.

💬 Comments