← Back to Skills Marketplace
276
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install zhy-markdown2wechat
Description
Use when converting Markdown into WeChat-compatible inline HTML with theme styles for preview, copy-paste, or downstream draft publishing.
Usage Guidance
This skill is generally coherent with its purpose, but take these precautions before installing or running it:
- Ensure Node.js is available where the agent will run (SKILL.md requires node but registry metadata omitted it).
- The included script will run `npm install` at runtime to fetch marked@4 and juice@8 into a temporary folder; this performs network downloads from the npm registry (supply-chain risk). If you prefer, pre-install the dependencies in a controlled environment to avoid runtime network installs.
- The script creates a .wechat-temp directory in the current working directory and attempts to remove it; run it in a workspace where that is acceptable and where npm can run.
- Review the two packages (marked, juice) versions used so you are comfortable with them, and consider running the script locally first to verify behavior.
- If you allow autonomous agent invocation, consider requiring explicit user confirmation before executing the conversion command to avoid unexpected execution.
Capability Analysis
Type: OpenClaw Skill
Name: zhy-markdown2wechat
Version: 0.1.0
The skill converts Markdown to WeChat-compatible HTML using a Node.js script (scripts/convert.js) that dynamically installs dependencies (marked, juice) via 'npm install' at runtime. While this supports the stated 'zero deployment' goal, the use of child_process.execSync and the lack of input sanitization on file path arguments (mdPath, cssPath, outPath) present risks for command injection and path traversal. These behaviors appear to be risky implementation choices rather than intentional malware, but the automated execution of shell commands and dynamic package fetching warrants a suspicious classification.
Capability Assessment
Purpose & Capability
Name/description (Markdown → WeChat HTML) match the included script and theme files. Minor metadata mismatch: the skill expects Node.js to be available and instructs running `node`, but the registry metadata lists no required binaries.
Instruction Scope
SKILL.md confines actions to reading the provided markdown, reading theme CSS files from resources/themes, invoking scripts/convert.js, and producing an output HTML file. It does instruct the agent to execute the included Node script directly, which matches the stated purpose.
Install Mechanism
No install spec in registry, but the script itself uses child_process.execSync to run `npm install <pkg> --no-save` into a temporary .wechat-temp directory at runtime. This performs network fetches from the npm registry and writes to disk (then attempts cleanup) — a moderate supply-chain/network action that is expected for this skill but worth attention.
Credentials
The skill does not request environment variables, credentials, or unrelated config paths. The script operates on files provided by the user and local theme files only.
Persistence & Privilege
The skill does not request always:true, does not change other skills' configs, and only creates/removes a local temporary directory (.wechat-temp) in the current working directory. It uses child_process but only to invoke npm install for the declared packages.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install zhy-markdown2wechat - After installation, invoke the skill by name or use
/zhy-markdown2wechat - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of zhy-markdown2wechat.
- Converts Markdown files into WeChat-compatible inline HTML with theme styles.
- Zero-deployment: runs directly with Node.js, no need for npm install or extra setup.
- Supports CSS theme switching via resources/themes directory.
- Generates safe, ready-to-paste HTML optimized for WeChat publishing.
Metadata
Frequently Asked Questions
What is Zhy Markdown2wechat?
Use when converting Markdown into WeChat-compatible inline HTML with theme styles for preview, copy-paste, or downstream draft publishing. It is an AI Agent Skill for Claude Code / OpenClaw, with 276 downloads so far.
How do I install Zhy Markdown2wechat?
Run "/install zhy-markdown2wechat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Zhy Markdown2wechat free?
Yes, Zhy Markdown2wechat is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Zhy Markdown2wechat support?
Zhy Markdown2wechat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Zhy Markdown2wechat?
It is built and maintained by zhy (@zhylq); the current version is v0.1.0.
More Skills