← 返回 Skills 市场
zhang122994917

Xhs Md2img

作者 szshzzy · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
652
总下载
1
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install xhs-md2pic
功能描述
Convert Markdown text to beautiful Xiaohongshu (XHS) style card images with 5 themes, deterministic browser screenshot rules, auto-pagination, smart title ex...
安全使用建议
This skill will render your Markdown in a headless-browser pipeline and may send the input (and generated images) to third-party image/LLM services (DashScope / Google Gemini / others) and optionally upload results to OSS. The metadata only declares DASHSCOPE_API_KEY, but the docs reference additional env vars (LLM_API_KEY, LLM_BASE_URL, OSS credentials) and heavy Python dependencies (playwright, openai, oss2). Before installing or enabling: 1) Confirm which API keys the skill actually requires and where data will be sent/stored; 2) Do not provide sensitive or private content unless you trust the remote providers and the key owners; 3) Ensure your runtime has the expected tooling (python + playwright) or ask the author for an explicit install spec; 4) Ask the publisher to declare all optional/used environment variables and explain OSS upload behavior and retention/logging policies. If you cannot verify those points, treat the skill with caution or run it in an isolated environment.
功能分析
Type: OpenClaw Skill Name: xhs-md2pic Version: 0.1.1 The skill bundle is a legitimate utility designed to convert Markdown text into styled images for social media (Xiaohongshu). It uses standard libraries such as Playwright for headless browser rendering and integrates with established AI APIs (DashScope and Gemini) for content formatting and background generation. While it requires network and filesystem permissions, these are strictly aligned with its stated purpose of fetching AI-generated assets and managing templates/output. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found across the code or documentation.
能力评估
Purpose & Capability
Converting Markdown to styled, paginated screenshots is coherent with the name/description. Requiring a headless-browser rendering pipeline, image-generation providers, and optional OSS upload is consistent with that purpose. However, the bundle includes a requirements.txt (playwright, oss2, openai, etc.) even though the skill is instruction-only and the metadata only declares DASHSCOPE_API_KEY — this is unexpected but can be explained if the runtime environment provides those tools.
Instruction Scope
SKILL.md instructs the agent to: run a headless browser and take element screenshots, wait for DOM/font readiness signals, call external image/AI providers for decorative backgrounds, poll remote APIs, and optionally upload results to object storage. It also describes LLM-based 'smart formatting' (implying use of an LLM API). Those behaviors involve sending user content to third-party services and writing files; they go beyond simple local markdown rendering and are not fully reflected in the declared requirements.
Install Mechanism
There is no install spec (instruction-only), which limits automatic disk writes by the skill itself. However, a requirements.txt lists heavy dependencies (playwright, oss2, openai, fastapi, etc.), implying the runtime expects a Python environment with these packages available. The lack of an explicit install step makes it unclear who installs these dependencies and under what conditions.
Credentials
Metadata declares a single required env var: DASHSCOPE_API_KEY (primary). But SKILL.md and referenced docs also use or mention other envs and credentials (LLM_API_KEY, LLM_BASE_URL, WANX_MODEL_BG, potential OSS credentials) and will call external services if present. The skill may accept multiple provider keys and will transmit full markdown content and generated images to remote endpoints; the declared env list is incomplete and thus not proportionate to the behavior described.
Persistence & Privilege
No 'always: true' or other elevated persistence is requested. The metadata requests network and filesystem permission (reasonable for rendering and optional uploads). There is no indication the skill modifies other skills or system-wide agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xhs-md2pic
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xhs-md2pic 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
**Summary:** This release adds extensive documentation, detailed usage examples, new themes and screenshot reference materials, and introduces deterministic browser rendering controls for XHS-style card image generation. - Added comprehensive documentation files and usage examples, including advanced/manual pagination and browser rendering reference. - Introduced detailed input schema, template references, and requirements specification for reproducible outputs. - Enhanced the SKILL.md to describe deterministic card rendering, strict pagination rules, and stable multi-page screenshot contracts. - Added separate documentation of themes, API integration, and browser screenshot specifications for reliable XHS-like output. - Improved README and onboarding materials for both basic and advanced users.
v0.1.0
Initial release of xhs-md2img: Converts Markdown into Xiaohongshu-style card images with advanced features. - Converts Markdown into XHS-style card images with support for 5 color themes and automatic pagination. - Extracts titles and creates formatted covers via LLM, preserving all original content. - Supports AI-generated decorative backgrounds based on card content and theme. - Output includes multi-page, visually optimized images (PNG) with optional cloud upload. - Fully configurable through JSON input: theme, font, padding, author, cover display, and background style.
元数据
Slug xhs-md2pic
版本 0.1.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Xhs Md2img 是什么?

Convert Markdown text to beautiful Xiaohongshu (XHS) style card images with 5 themes, deterministic browser screenshot rules, auto-pagination, smart title ex... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 652 次。

如何安装 Xhs Md2img?

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

Xhs Md2img 是免费的吗?

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

Xhs Md2img 支持哪些平台?

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

谁开发了 Xhs Md2img?

由 szshzzy(@zhang122994917)开发并维护,当前版本 v0.1.1。

💬 留言讨论