← 返回 Skills 市场
luojiangyong

微信文章格式转换

作者 LuoJiangYong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
89
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-article-conversion
功能描述
微信公众号文章抓取与转换,支持 Markdown/HTML/Text/JSON/Excel 五种格式。 触发条件:用户发送微信文章链接(https://mp.weixin.qq.com/s/xxx)、 多链接(换行分隔)、或「帮我转这篇文章」「保存微信文章」等表达。 格式选择前必须询问用户,支持单选或多选。
安全使用建议
What to consider before installing: - Functional coherence: The scripts do what the description says (download article HTML and assets, convert and save). However SKILL.md lists only html5lib while the code imports BeautifulSoup (bs4) and likely an Excel library — confirm and install required Python packages (beautifulsoup4, html5lib, and the Excel writer such as openpyxl/xlsxwriter) from trusted sources before running. - Network safety: The tool downloads all asset URLs it finds in the article HTML without domain restriction. A malicious or crafted article could include links to internal network addresses (127.0.0.1, 192.168.x.x) or other unexpected hosts; consider running the tool in a network-restricted or sandboxed environment if you are concerned about internal service access. - Filesystem impact: It writes output under your home Desktop by default. If you allow it, it will create directories and save binary assets — review the save location and run in a directory you control. - Code review/validation: Review the rest of fetch_article.py (the truncated portion) and save_article implementation to confirm there is no telemetry, hidden remote endpoints, or unexpected behavior (e.g., uploading files elsewhere). The provided excerpts show no evidence of exfiltration, but the file is truncated so complete review is recommended. - Safe testing: Run first on a single, benign article in an isolated environment; inspect downloaded assets and logs to confirm behavior before bulk use. If you want, I can: (1) list precise Python packages this code requires by scanning the rest of fetch_article.py, (2) extract and show the save_article function and Excel code for review, or (3) suggest command-line steps to create a safe virtualenv and run one test fetch.
功能分析
Type: OpenClaw Skill Name: wechat-article-conversion Version: 1.0.0 The skill bundle is a functional tool for scraping and converting WeChat articles into Markdown, HTML, Excel, and other formats. The Python scripts (fetch_article.py and batch_fetch.py) use standard libraries like BeautifulSoup and urllib to retrieve content exclusively from mp.weixin.qq.com, including logic to localize images/CSS and sanitize HTML by removing script tags. There is no evidence of data exfiltration, malicious execution, or harmful prompt injection; the code is well-structured and aligns perfectly with its stated purpose.
能力评估
Purpose & Capability
The name/description match the included scripts: fetch_article.py and batch_fetch.py implement fetching mp.weixin.qq.com articles and saving Markdown/HTML/Text/JSON/Excel. The code saves output to the user's Desktop as described. However, SKILL.md lists only html5lib as a dependency while the code imports bs4 (BeautifulSoup) and likely uses additional libraries for Excel output — a missing dependency declaration is an inconsistency.
Instruction Scope
Instructions and scripts confine activity to fetching articles and saving converted files, and they require asking the user for output format first as stated. But the implementation will download every asset URL found in article HTML (CSS, images, background URLs) with no domain restriction; that means the tool can make requests to arbitrary hosts (including internal network addresses) if such URLs are embedded in the article.
Install Mechanism
There is no install spec (instruction-only), but code files are included. The SKILL.md declares html5lib only; the code imports bs4 (beautifulsoup4) and probably an Excel library (not declared). The lack of explicit dependency/install instructions is a coherence/operational gap: users may have to install packages manually and may unknowingly install from unvetted sources.
Credentials
The skill requests no environment variables, no credentials, and no config paths. File writes are limited to user-controlled output directories (~/Desktop/...), which aligns with the stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. Autonomous invocation is allowed (platform default) but there are no additional privilege escalations in the package.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-article-conversion
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-article-conversion 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
将微信文章转换为 Markdown/HTML/Text/JSON/Excel五种格式,无需登录,直接抓取,图片和样式本地化保留。
元数据
Slug wechat-article-conversion
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

微信文章格式转换 是什么?

微信公众号文章抓取与转换,支持 Markdown/HTML/Text/JSON/Excel 五种格式。 触发条件:用户发送微信文章链接(https://mp.weixin.qq.com/s/xxx)、 多链接(换行分隔)、或「帮我转这篇文章」「保存微信文章」等表达。 格式选择前必须询问用户,支持单选或多选。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。

如何安装 微信文章格式转换?

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

微信文章格式转换 是免费的吗?

是的,微信文章格式转换 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

微信文章格式转换 支持哪些平台?

微信文章格式转换 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 微信文章格式转换?

由 LuoJiangYong(@luojiangyong)开发并维护,当前版本 v1.0.0。

💬 留言讨论