Wechat Article Analyzer

v1.0.1

微信公众号文章深度分析工具。 当用户发送微信公众号文章链接时,可以读取文章内容并进行深度分析。 功能:自动提取文章标题和正文、提取时间线、识别关键人物/公司、提取核心事实、进行主题分析、生成报告。 支持输出格式:Markdown 报告、OpenCLI 适配器、JSON 数据。

0· 97·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for teenyboy/wechat-article-analyzer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Wechat Article Analyzer" (teenyboy/wechat-article-analyzer) from ClawHub.
Skill page: https://clawhub.ai/teenyboy/wechat-article-analyzer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install wechat-article-analyzer

ClawHub CLI

Package manager switcher

npx clawhub@latest install wechat-article-analyzer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (WeChat article analyzer) aligns with the included code: the script fetches an article URL, extracts title/content, and runs NLP heuristics to produce timeline/stakeholders/facts/themes/quotes and outputs Markdown/YAML/JSON. Minor inconsistency: SKILL.md shows usage via from skills.wechat_article_analyzer import analyze_wechat, but the repo provides scripts/analyze_wechat.py (no packaged skills/ module path). No declared homepage/author identity, which reduces traceability but doesn't contradict functionality.
Instruction Scope
SKILL.md instructs the agent to fetch mp.weixin.qq.com links and run local analysis; the script performs only requests.get on the provided URL and local text processing. It does not read other files or environment variables. The skill will fetch arbitrary URLs provided by users; that is expected for a fetcher but introduces the usual risk that a maliciously crafted/ internal URL could be accessed (SSRF/information-leak) — the instructions do not show domain validation or sandboxing.
Install Mechanism
There is no install spec (instruction-only skill + included script). Dependencies are minimal and declared in requirements.txt (requests, pyyaml). No external archive downloads or obscure registries; nothing is written to disk by an installer step beyond normal Python package usage if user runs pip install.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The runtime code does not attempt to read secrets or other env vars. This is proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. Autonomous invocation is allowed by default (normal) and not combined with broad credential access.
Assessment
This skill appears to do what it says: fetch a WeChat article URL and extract structured information using regex-based heuristics. Before installing or enabling: 1) Review and if needed run the script in a sandboxed environment because it will perform an HTTP GET on any URL you (or users) provide — avoid letting it fetch internal-only hosts to reduce SSRF/information-leak risk. 2) Note the minor packaging mismatch: SKILL.md shows an import path that doesn't match the provided scripts/ layout; confirm how it will be invoked in your agent runtime. 3) The parsing uses regex and simple heuristics (may produce false positives); test on sample articles. 4) There are no requested credentials or remote installers, but you should still review the code if you require higher assurance. If you want stronger protections, restrict automatic invocation to trusted users or add domain whitelisting/sanitization before the fetch.

Like a lobster shell, security has layers — review code before you run it.

latestvk9786ka2e60pb7kt14npddf6rx847y0s
97downloads
0stars
2versions
Updated 3w ago
v1.0.1
MIT-0

微信公众号文章分析器

功能

  1. 📖 自动读取微信公众号文章内容
  2. 📅 提取时间线 - 识别关键事件和时间节点
  3. 👥 识别关键人物/组织 - 提取公司、组织、个人
  4. 📊 提取核心事实 - 金额、百分比、漏洞编号等
  5. 🎯 主题分析 - 识别核心议题和战略意义
  6. 💬 引语提取 - 收集重要引语
  7. 📄 生成报告 - Markdown / OpenCLI 适配器 / JSON

技术方案

核心流程

用户发送链接 → 读取文章内容 → NLP分析 → 生成结构化数据 → 输出报告

文章读取

  • 请求库: Python requests + Mac Chrome UA
  • 解析方式: 正则表达式提取结构化数据

分析维度

维度说明
Timeline事件时间线,关键节点
Stakeholders关键人物、公司、角色
Facts核心事实、数据、日期
Themes主题分析、战略意义
Quotes重要引语

使用方法

命令行

# 基本分析 - 输出到控制台
python3 scripts/analyze_wechat.py <微信公众号链接>

# 生成 Markdown 报告
python3 scripts/analyze_wechat.py <链接> --format markdown --output report.md

# 生成 OpenCLI 适配器
python3 scripts/analyze_wechat.py <链接> --format opencli --output adapter.yaml

# 生成 JSON 数据
python3 scripts/analyze_wechat.py <链接> --format json --output data.json

# 生成所有格式
python3 scripts/analyze_wechat.py <链接> --format all

# 显示详细过程
python3 scripts/analyze_wechat.py <链接> --verbose

作为 Skill 使用

from skills.wechat_article_analyzer import analyze_wechat

result = analyze_wechat.analyze_article("https://mp.weixin.qq.com/s/xxx")
print(result['timeline'])
print(result['stakeholders'])

自动触发

当用户发送微信公众号链接或关键词时,自动执行分析。

输出格式

Markdown - 人类可读

  • 事件时间线
  • 关键人物/组织
  • 核心事实数据
  • 主题分析
  • 重要引语

OpenCLI 适配器 - YAML

  • 结构化数据
  • 可直接注册到 OpenCLI
  • 包含所有分析维度

JSON - 程序友好

  • 完整的结构化数据
  • 便于后续处理
  • 可导入其他系统

依赖

  • Python 3.7+
  • requests>=2.25.0
  • pyyaml>=5.4.0

许可证

MIT

作者

Created by OpenClaw

Comments

Loading comments...