← 返回 Skills 市场
dtacheng

Md To Share

作者 DTacheng · GitHub ↗ · v2.2.0 · MIT-0
cross-platform ✓ 安全检测通过
314
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install md-to-share
功能描述
将 Markdown 文件转换为原生长图的 skill,可被 OpenClaw、Claude Code 等 AI Agent 直接调用。A skill that converts Markdown to long images, callable by AI Agents like OpenClaw and Cl...
安全使用建议
This skill appears to do what it says: convert Markdown to long images using Playwright. Before installing/using it, consider: (1) it depends on Playwright and its postinstall will download Chromium (large binary and network activity) — run npm install in a controlled environment; (2) the tool writes screenshots to disk, so avoid passing paths to sensitive files you don't want rendered; (3) OpenClaw agents will compress images (SKILL.md and docs already note two compression layers) — use the openclaw preset (1200px/5MB) if you want to avoid downstream compression; (4) review package.json and md2img.mjs if you operate under strict security policies; otherwise the skill is internally consistent and does not request unrelated credentials or hidden remote endpoints.
功能分析
Type: OpenClaw Skill Name: md-to-share Version: 2.2.0 The skill is a legitimate utility designed to convert Markdown files into long images using Playwright and Chromium. The code logic in `md2img.mjs` is well-structured, focusing on rendering HTML and managing image splitting for platform-specific constraints (e.g., Discord's size limits), and the documentation (including a detailed investigation into image quality) demonstrates clear, helpful intent without any signs of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description (Markdown → long image) match the included files and runtime: md2img.mjs reads .md, renders HTML in Playwright Chromium, screenshots to JPEG/PNG, and implements splitting/themes. Declared presets and channel behaviors align with the implementation.
Instruction Scope
SKILL.md limits runtime actions to parsing a markdown file, launching an isolated Playwright Chromium, rendering, producing image files, and providing examples for sending via agent message tooling. It does not instruct reading unrelated system files or exfiltrating environment variables. It does reference OPENCLAW-specific env vars for auto-detection (expected for agent integration).
Install Mechanism
There is no registry install spec, but package.json includes dependencies on 'playwright' and a postinstall script ('npx playwright install chromium'), which will download a large Chromium binary from Playwright distribution hosts when npm install is run. This is expected for Playwright-based tools but is resource-heavy and performs network downloads during install — review before running in restricted or air-gapped environments.
Credentials
The skill requests no required env vars or credentials. Optional env vars mentioned (CHROME_PATH, MD2IMG_TIMEOUT, OPENCLAW_* detection) are reasonable for customizing browser path/timeouts and environment detection. No unrelated secrets or multiple external tokens are requested.
Persistence & Privilege
Skill does not request persistent/system-wide privileges. always is false and it does not modify other skills or system configuration. It writes output image files to paths supplied by the caller (expected behavior).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install md-to-share
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /md-to-share 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.2.0
v2.0: Migrate from puppeteer-core to Playwright (bundled Chromium, no system browser needed). v2.2: Add --channel flag for channel-aware smart splitting (Discord auto-split, WeChat/iMessage keep long image). Fix bash wrapper arg forwarding and symlink resolution.
v2.1.0
Add environment-aware presets for OpenClaw vs Claude Code: auto-detection, openclaw preset (1200px, 5MB), generic preset (1600px, 8MB), new CLI options
v1.0.1
Add English documentation, highlight AI Agent compatibility (OpenClaw, Claude Code)
v1.0.0
Initial release: Convert Markdown to native long image for WeChat/Discord sharing
元数据
Slug md-to-share
版本 2.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Md To Share 是什么?

将 Markdown 文件转换为原生长图的 skill,可被 OpenClaw、Claude Code 等 AI Agent 直接调用。A skill that converts Markdown to long images, callable by AI Agents like OpenClaw and Cl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 314 次。

如何安装 Md To Share?

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

Md To Share 是免费的吗?

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

Md To Share 支持哪些平台?

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

谁开发了 Md To Share?

由 DTacheng(@dtacheng)开发并维护,当前版本 v2.2.0。

💬 留言讨论