← 返回 Skills 市场
tangyijun

xiaohongshu card generator

作者 tangyijun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
233
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install nuomi-xhs-card
功能描述
当用户提及渲染 Markdown/文本 为小红书风格卡片 ,当用户提及"生成小红书卡片"、"md 转图片"、"制作卡片"、"小红书图文" .
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nuomi-xhs-card
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nuomi-xhs-card 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug nuomi-xhs-card
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

xiaohongshu card generator 是什么?

当用户提及渲染 Markdown/文本 为小红书风格卡片 ,当用户提及"生成小红书卡片"、"md 转图片"、"制作卡片"、"小红书图文" . 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 233 次。

如何安装 xiaohongshu card generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nuomi-xhs-card」即可一键安装,无需额外配置。

xiaohongshu card generator 是免费的吗?

是的,xiaohongshu card generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

xiaohongshu card generator 支持哪些平台?

xiaohongshu card generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 xiaohongshu card generator?

由 tangyijun(@tangyijun)开发并维护,当前版本 v1.0.0。

💬 留言讨论