← 返回 Skills 市场
WeChat Article Parser - 微信公众号文章解析
作者
harven-droid
· GitHub ↗
· v1.0.1
· MIT-0
1338
总下载
1
收藏
8
当前安装
2
版本数
在 OpenClaw 中安装
/install wechat-article-parser
功能描述
解析微信公众号文章,提取标题、作者、正文内容、图片等信息。当用户发送微信公众号链接(mp.weixin.qq.com)并希望获取文章内容、摘要或保存时触发。支持自动提取内容并可选保存到飞书表格。
安全使用建议
This skill will parse WeChat articles fine, and can save them to Feishu — but before installing or running it, review and consider:
- The save_to_feishu script expects FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_APP_TOKEN, and FEISHU_TABLE_ID (not declared in registry metadata). Do not provide higher-privilege credentials than needed; prefer an app scoped only to the specific table with minimal permissions.
- The script will automatically create missing fields and can batch-delete empty rows from the target Feishu table. Back up the table or test on a throwaway table first to avoid accidental data loss.
- The script attempts to call an external 'openclaw' CLI (openclaw web-fetch). If that binary exists on your system, it will be executed. If you do not expect or trust that binary, run in an environment where 'openclaw' is absent or review what that CLI does.
- If you want a safer setup: remove or modify the clean_empty_rows/auto-create-field code, or run the script manually after auditing it; restrict the Feishu app permissions; and run the tool in a sandbox or test account first.
If you want, provide the remainder of the truncated save_to_feishu.py for a full line-by-line review; otherwise the above are the main actionable concerns based on the included files.
功能分析
Type: OpenClaw Skill
Name: wechat-article-parser
Version: 1.0.1
The skill bundle is a legitimate utility for parsing WeChat articles and optionally saving them to a Feishu (Lark) Bitable. The code in `scripts/wechat_parser.py` uses standard BeautifulSoup scraping, and `scripts/save_to_feishu.py` correctly implements the Feishu API for data storage. While `save_to_feishu.py` uses `subprocess.run` to call an internal `openclaw` command and includes a function to delete empty rows in the target table, these behaviors are consistent with the stated purpose of the tool and do not show signs of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
The code implements WeChat parsing and optional saving to Feishu which matches the description, but the manifest/registry metadata lists no required environment variables or credentials while the save_to_feishu script clearly expects FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_APP_TOKEN, and FEISHU_TABLE_ID. Additionally the script invokes an external 'openclaw' CLI (openclaw web-fetch) as a primary content-extraction method — this dependency is not declared in the skill metadata or SKILL.md usage notes. These mismatches reduce trust in the declared requirements.
Instruction Scope
SKILL.md and README present parsing and optional saving, but the save_to_feishu.py does more than 'save one record': it ensures/creates missing fields in the user's Feishu table and includes a routine to find-and-delete empty rows (bulk delete). Those automatic remote modifications (create fields, delete records) are potentially destructive and are not highlighted prominently in the SKILL.md examples. The script also tries an external CLI then falls back to direct HTTP fetch; calling a CLI from code expands the attack surface.
Install Mechanism
No install spec is provided (instruction-only plus included scripts). This is lower risk for local installation mechanics because nothing is downloaded automatically at install time. The only install step is user-run pip installs for common Python packages (requests, bs4, python-dotenv).
Credentials
The Feishu-related environment variables (FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_APP_TOKEN, FEISHU_TABLE_ID) are necessary for the Feishu saving feature but are not declared in the skill's required env in registry metadata. Requesting full App ID/Secret + table token grants write and management capability for the target Feishu app/table — appropriate if you intend to allow the skill to modify a specific table, but disproportionate if you expect only a non-destructive 'save one row' action. The skill also modifies table schema and deletes rows, which justifies limited-scope app credentials and explicit user caution.
Persistence & Privilege
The skill is not always-enabled and does not request system-level persistence. However, when invoked with Feishu credentials it will perform remote operations (create fields, write records, batch-delete empty rows). Those remote side-effects are significant and should be treated as privileged actions on your Feishu data. The script also invokes a local 'openclaw' CLI if available, which can expand runtime privilege depending on that binary's capabilities.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-article-parser - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-article-parser触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added metadata file _meta.json to the project.
- No changes to user-facing functionality or documentation.
v1.0.0
Initial release of WeChat Article Parser.
- Automatically extracts title, author, publish time, full content, and images from WeChat Official Account articles.
- Counts words and images.
- Supports saving extracted content as JSON or TXT.
- Optionally saves parsed data to Feishu Bitable.
- Allows usage via command line or through conversation by sending a WeChat article link.
- Includes configuration instructions and usage examples.
元数据
常见问题
WeChat Article Parser - 微信公众号文章解析 是什么?
解析微信公众号文章,提取标题、作者、正文内容、图片等信息。当用户发送微信公众号链接(mp.weixin.qq.com)并希望获取文章内容、摘要或保存时触发。支持自动提取内容并可选保存到飞书表格。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1338 次。
如何安装 WeChat Article Parser - 微信公众号文章解析?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-article-parser」即可一键安装,无需额外配置。
WeChat Article Parser - 微信公众号文章解析 是免费的吗?
是的,WeChat Article Parser - 微信公众号文章解析 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WeChat Article Parser - 微信公众号文章解析 支持哪些平台?
WeChat Article Parser - 微信公众号文章解析 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WeChat Article Parser - 微信公众号文章解析?
由 harven-droid(@harven-droid)开发并维护,当前版本 v1.0.1。
推荐 Skills