← Back to Skills Marketplace
koraihub

md2WeChat-python

by koraiHub · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
515
Downloads
1
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install md2wechat-skill
Description
将 Markdown 文件转换为微信公众号兼容的内联样式 HTML,并一键发送到微信草稿箱。支持 Front Matter 元数据、表格、代码块、列表、图片自动上传等完整排版能力。
Usage Guidance
This skill appears to do exactly what it claims: convert Markdown and, if you provide WeChat credentials, upload drafts/images to the official WeChat API. Before installing: (1) review the code if you have any doubt—source is marked unknown in the registry metadata; (2) prefer using --convert-only mode first to verify outputs without supplying credentials; (3) supply WECHAT_APPID/WECHAT_SECRET only for an account you trust (or a test account), and avoid exposing production credentials; (4) install Python dependencies in a virtualenv and run in an isolated environment if possible; (5) note the tool will make outbound HTTPS requests to api.weixin.qq.com and create temp files for generated covers—ensure your environment's network and IP whitelist (WeChat IP whitelist) are configured if needed. Overall the package is internally consistent, but the registry/source provenance is limited—exercise normal caution.
Capability Analysis
Type: OpenClaw Skill Name: md2wechat-skill Version: 2.0.0 The skill bundle is a legitimate tool for converting Markdown documents into WeChat-compatible HTML and uploading them to the WeChat Official Account draft box. The code uses standard libraries (wechatpy, markdown, BeautifulSoup) and interacts only with official WeChat API endpoints (api.weixin.qq.com). There is no evidence of data exfiltration, malicious execution, or prompt injection; the instructions in SKILL.md and the logic in scripts like md2wechat.py and wechat_client.py are consistent with the stated purpose.
Capability Assessment
Purpose & Capability
Name/description match the code and runtime instructions: scripts convert Markdown to inline-styled HTML and the wechat_client module uploads images and creates drafts via the official WeChat APIs. Required env vars (WECHAT_APPID, WECHAT_SECRET) and python3 dependency are appropriate for this functionality.
Instruction Scope
SKILL.md and scripts confine actions to reading Markdown and image files, converting/saving HTML, optionally loading a .env, and making network calls to api.weixin.qq.com. There are no instructions to read unrelated system files, other credentials, or exfiltrate data to unexpected endpoints.
Install Mechanism
No download-from-URL install steps; dependencies are standard Python packages listed in requirements.txt. The package is instruction+code only and relies on pip for dependencies (common practice).
Credentials
Only WECHAT_APPID and WECHAT_SECRET are required for upload behavior; primaryEnv is WECHAT_APPID which is sensible. The skill does not request unrelated credentials or sensitive system config paths.
Persistence & Privilege
always is false and the skill does not request to modify other skills or system-wide agent settings. It performs local read/write for previews and temporary cover generation only (to system temp dir).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install md2wechat-skill
  3. After installation, invoke the skill by name or use /md2wechat-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
**Major update:** v2.0.0 introduces new files and possible binary/distribution changes. - Added origin.json for .clawhub, likely for version/source tracking. - Compiled Python bytecode files added for html_formatter, md_converter, and wechat_client, improving execution readiness and deployment. - No visible changes to documentation or SKILL.md. - No core feature or interface changes documented for end users.
v1.0.2
- Update declared permissions: now specifies all write operations, including saving local preview HTML and generating temporary cover images in the system temp directory. - Change filesystem permission from "read" to "read-write" in metadata. - No code changes; documentation/metadata only.
v1.0.1
- Added README.md with usage instructions and core features. - Added _meta.json detailing environment variables and permissions. - Added requirements.txt specifying necessary Python dependencies.
v1.0.0
- 首次发布,提供 Markdown 到微信草稿箱的全流程一键转换与上传能力 - 支持标准 Markdown 语法、Front Matter 元数据、图片自动上传与替换 - 输出为内联样式 HTML,确保适配微信公众号编辑器 - 封面、作者、标题等信息可通过参数或 Front Matter 提供 - 提供 HTML 预览导出和微信草稿箱上传两种模式
Metadata
Slug md2wechat-skill
Version 2.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is md2WeChat-python?

将 Markdown 文件转换为微信公众号兼容的内联样式 HTML,并一键发送到微信草稿箱。支持 Front Matter 元数据、表格、代码块、列表、图片自动上传等完整排版能力。 It is an AI Agent Skill for Claude Code / OpenClaw, with 515 downloads so far.

How do I install md2WeChat-python?

Run "/install md2wechat-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is md2WeChat-python free?

Yes, md2WeChat-python is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does md2WeChat-python support?

md2WeChat-python is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created md2WeChat-python?

It is built and maintained by koraiHub (@koraihub); the current version is v2.0.0.

💬 Comments