← 返回 Skills 市场
515
总下载
1
收藏
2
当前安装
4
版本数
在 OpenClaw 中安装
/install md2wechat-skill
功能描述
将 Markdown 文件转换为微信公众号兼容的内联样式 HTML,并一键发送到微信草稿箱。支持 Front Matter 元数据、表格、代码块、列表、图片自动上传等完整排版能力。
安全使用建议
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.
功能分析
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.
能力评估
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).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install md2wechat-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/md2wechat-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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 预览导出和微信草稿箱上传两种模式
元数据
常见问题
md2WeChat-python 是什么?
将 Markdown 文件转换为微信公众号兼容的内联样式 HTML,并一键发送到微信草稿箱。支持 Front Matter 元数据、表格、代码块、列表、图片自动上传等完整排版能力。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 515 次。
如何安装 md2WeChat-python?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install md2wechat-skill」即可一键安装,无需额外配置。
md2WeChat-python 是免费的吗?
是的,md2WeChat-python 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
md2WeChat-python 支持哪些平台?
md2WeChat-python 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 md2WeChat-python?
由 koraiHub(@koraihub)开发并维护,当前版本 v2.0.0。
推荐 Skills