← 返回 Skills 市场
Fetch Wx Article
作者
tomjamescn
· GitHub ↗
· v1.0.0
· MIT-0
359
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install fetch-wx-article
功能描述
获取微信公众号文章内容。使用 scrapling 抓取微信公众号文章并转换为 Markdown 格式。当用户分享微信公众号链接(mp.weixin.qq.com/s/xxx)并希望提取内容时使用。
使用说明 (SKILL.md)
Fetch WeChat Article - 获取微信公众号文章
从微信公众号文章链接提取内容的 skill。
快速开始
python3 scripts/fetch_wx_article.py https://mp.weixin.qq.com/s/xxx
安装依赖
使用前需要先安装依赖:
pip install "scrapling[ai]" html2text
使用说明
当以下情况时使用此 Skill:
- 用户分享微信公众号文章链接(
mp.weixin.qq.com/s/xxx格式) - 需要提取文章纯文本内容
- 需要获取标题、作者、正文等信息
输出格式
- 返回 Markdown 格式的纯文本内容
- 默认忽略链接和图片(可按需调整脚本)
脚本功能
scripts/fetch_wx_article.py 支持:
- 命令行参数传入文章 URL
- 错误处理和异常提示
- 函数封装方便调用
- 自动将 HTML 转换为 Markdown
技术说明
- 使用
scrapling处理复杂的微信公众号页面 - 使用
html2text转换 HTML 到 Markdown - 支持微信公众号文章链接:
https://mp.weixin.qq.com/s/xxx
注意事项
- 需要网络连接
- 微信公众号文章通常包含复杂的 CSS/JS,scrapling 专门用于处理此类场景
从微信公众号提取内容,方便后续处理和归档。
安全使用建议
This skill appears to do exactly what it claims: fetch a WeChat article URL and convert it to Markdown. Before installing: (1) review and confirm you trust the 'scrapling' package on PyPI (the SKILL.md suggests the '[ai]' extra which may add integrations requiring API keys); (2) install dependencies in a virtual environment; (3) be aware the script will make network requests to the provided URL and any third-party services that the scrapling library uses. If you are uncomfortable with potential downstream network calls or unknown package behavior, inspect 'scrapling' source or run the script in an isolated container. If you want to avoid any surprise AI integrations, install plain 'scrapling' (without [ai]) or consult the scrapling docs first.
功能分析
Type: OpenClaw Skill
Name: fetch-wx-article
Version: 1.0.0
The skill is designed to fetch WeChat articles and convert them to Markdown format using the 'scrapling' and 'html2text' libraries. The Python script 'scripts/fetch_wx_article.py' implements this functionality directly by taking a URL as a command-line argument and processing the response content. There is no evidence of malicious intent, data exfiltration, or prompt injection in either the code or the documentation.
能力评估
Purpose & Capability
Name/description match the included script and instructions: the script fetches a mp.weixin.qq.com article and converts HTML to Markdown using html2text and scrapling. Required capabilities (network access, HTML->Markdown) are proportional to the purpose.
Instruction Scope
SKILL.md instructs installing scrapling and html2text and running the bundled script with a WeChat URL. The script only fetches the supplied URL and converts page.html_content to Markdown; it does not read other files, environment variables, or system paths.
Install Mechanism
There is no formal install spec in registry; SKILL.md recommends 'pip install "scrapling[ai]" html2text'. Using pip is expected, but pip packages are fetched from PyPI at runtime — verify the 'scrapling' package and its '[ai]' extras before installing. The skill does not bundle or download arbitrary remote code itself.
Credentials
The skill declares no required env vars and the script does not reference any. However the SKILL.md recommends installing the 'scrapling[ai]' extra which may optionally integrate with external AI services (and could require API keys) depending on that package's behavior; if you plan to install that extra, review whether it requires additional credentials.
Persistence & Privilege
Skill is instruction-only (plus a small script) and does not request persistent presence or elevated privileges. always is false and the skill does not modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fetch-wx-article - 安装完成后,直接呼叫该 Skill 的名称或使用
/fetch-wx-article触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of fetch-wx-article skill.
- Extracts WeChat public article content from mp.weixin.qq.com/s/xxx links.
- Outputs clean Markdown format (title, author, body; ignores links/images by default).
- Uses scrapling and html2text for robust extraction and HTML-to-Markdown conversion.
- Command-line script with error handling and easy integration.
元数据
常见问题
Fetch Wx Article 是什么?
获取微信公众号文章内容。使用 scrapling 抓取微信公众号文章并转换为 Markdown 格式。当用户分享微信公众号链接(mp.weixin.qq.com/s/xxx)并希望提取内容时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 359 次。
如何安装 Fetch Wx Article?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fetch-wx-article」即可一键安装,无需额外配置。
Fetch Wx Article 是免费的吗?
是的,Fetch Wx Article 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Fetch Wx Article 支持哪些平台?
Fetch Wx Article 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Fetch Wx Article?
由 tomjamescn(@tomjamescn)开发并维护,当前版本 v1.0.0。
推荐 Skills