← Back to Skills Marketplace
323
Downloads
1
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install md-wechat
Description
将 Markdown 文档转换为微信公众号格式的技能。当用户需要将 Markdown 文件排版为微信公众号文章格式时使用此技能。支持自定义主题、字体、颜色、代码高亮等配置。触发词:微信排版、公众号格式、md转微信、markdown转wechat、公众号文章。
Usage Guidance
This skill appears to do what it claims (convert Markdown to WeChat-compatible HTML). Before running: 1) Inspect package.json and package-lock.json for unexpected packages or postinstall scripts. 2) Prefer running with --no-auto-install and manually run npm install after review, or run the first execution inside a sandbox/container. 3) Be aware puppeteer will download browser binaries and npm install can run package install scripts (network activity, disk writes). 4) If you don't want network downloads or arbitrary install-time scripts, avoid auto-install and review the code in scripts/convert.js and scripts/extract-config.js before use.
Capability Analysis
Type: OpenClaw Skill
Name: md-wechat
Version: 0.1.1
The skill bundle contains scripts (scripts/convert.js and scripts/convert.py) that automatically execute 'npm install' or 'pip install' to fetch missing dependencies if they are not found locally. While this is intended for user convenience and the dependencies are hardcoded to legitimate libraries (e.g., marked, katex, juice), this behavior constitutes an arbitrary code execution risk and modifies the host environment without explicit per-package confirmation. The documentation in SKILL.md and README.md acknowledges this risk by providing a security warning and a '--no-auto-install' flag, suggesting the behavior is a high-risk feature rather than intentional malware.
Capability Assessment
Purpose & Capability
Name/description (Markdown→WeChat HTML) align with the provided code, package.json and dependencies (marked, highlight.js, katex, juice, puppeteer). Included themes, config extraction and CLI usage are coherent with the declared functionality.
Instruction Scope
SKILL.md instructs running node scripts/convert.js and extract-config.js on local Markdown/HTML files. It does not request secrets or read unrelated system paths. It does describe an automatic dependency installation step (running npm install if node_modules missing) and reads input files provided by the user (expected behavior).
Install Mechanism
This is an instruction-only skill (no platform install spec) but the runtime script auto-runs npm install when executed. That fetches many npm packages (including puppeteer which downloads browser binaries). Auto-installation can execute package install scripts and perform network downloads — functionally necessary but a moderate operational risk; SKILL.md suggests using --no-auto-install or a sandbox.
Credentials
The skill requests no environment variables or credentials. The declared dependencies and files do not imply access to unrelated credentials or system config. Presence of a Python variant (convert.py) is explained as legacy/alternate implementation and is proportionate to the feature matrix.
Persistence & Privilege
always:false and no special persistence or modifications to other skills are declared. The skill runs only when invoked and does not request elevated platform privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install md-wechat - After installation, invoke the skill by name or use
/md-wechat - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
- Improved security and usage instructions: README/skill docs now clearly recommend manual dependency installation (safer) and provide warnings about auto-installation; added guidance for isolated environments.
- Added new asset: `assets/md-wechat-features.svg`.
- Removed legacy example/demo files and an unused Python config script to simplify the project.
- Updated documentation and file structure references to match the current project layout.
- Refreshed workflow and configuration documentation, emphasizing security best practices and streamlined user instructions.
v0.1.0
md-wechat 0.1.0 初始版本
- 新增 Markdown 转微信公众号文章格式的转换功能,支持直接复制 HTML 到公众号编辑器
- 支持三种预设主题及自定义字体、颜色、代码高亮等参数
- 实现数学公式(KaTeX)、Mermaid/PlantUML 图表渲染,支持信息图表
- 样式全面内联,适配微信公众号编辑器限制
- 提供样式配置提取、定制与命令行批量转换功能
- 支持基础与扩展 Markdown 语法,GFM 表格,Mac 风格代码块
Metadata
Frequently Asked Questions
What is Md Wechat?
将 Markdown 文档转换为微信公众号格式的技能。当用户需要将 Markdown 文件排版为微信公众号文章格式时使用此技能。支持自定义主题、字体、颜色、代码高亮等配置。触发词:微信排版、公众号格式、md转微信、markdown转wechat、公众号文章。 It is an AI Agent Skill for Claude Code / OpenClaw, with 323 downloads so far.
How do I install Md Wechat?
Run "/install md-wechat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Md Wechat free?
Yes, Md Wechat is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Md Wechat support?
Md Wechat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Md Wechat?
It is built and maintained by italks (@italks); the current version is v0.1.1.
More Skills