AgentStack
SKILL verified MIT Self-run

Wechat Article To Md

skill-likemaoke-wechat-article-to-md-wechat-article-to-md · by likemaoke

抓取微信公众号文章并转换为 Markdown 文档。使用脚本自动获取文章标题、作者、正文内容,保留格式并保存为 .md 文件,支持下载图片到本地。适用场景:用户要求抓取/获取/下载/保存微信公众号文章内容为 Markdown 格式,或给出 mp.weixin.qq.com 链接需要提取内容。支持 Obsidian 模式(使用 -obsidian 参数)。

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-likemaoke-wechat-article-to-md-wechat-article-to-md

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Wechat Article To Md? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

微信公众号文章转 Markdown

抓取微信公众号文章并将其转换为 Markdown 文档。

快速使用

普通模式

# 基本用法(自动下载图片)
python3 scripts/wechat_article_to_md.py 

# 指定输出目录
python3 scripts/wechat_article_to_md.py  

图片保存位置: images/ 图片引用格式: ``

Obsidian 模式

# 使用 Obsidian 格式
python3 scripts/wechat_article_to_md.py  [输出目录] -obsidian

图片保存位置: attachments/img/(向上查找固定的目录,可能位于输出目录的上级或更上级) 图片引用格式: ![[filename.png]]

输出内容

脚本会自动提取并保存:

  • 标题: 文章主标题
  • 作者: 公众号作者名称
  • 来源: 原文链接
  • 正文: 完整内容,转换为 Markdown 格式
  • 标题层级 (h1-h6)
  • 粗体、斜体
  • 列表(有序/无序)
  • 链接
  • 图片(保留图片链接)
  • 代码块
  • 引用块

文件命名

输出文件名自动使用文章标题,文件名中的非法字符会被自动替换为下划线。

脚本位置

可执行脚本位于 scripts/wechat_article_to_md.py

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.