Agent skill

Wechat Article Camofox

by dracohu2025-cloud in dracohu2025-cloud/draco-skills-collection

使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。

MITAuto-check passedProductivity & Automation

Install Wechat Article Camofox

skills CLI
$ npx skills add dracohu2025-cloud/draco-skills-collection --skill wechat-article-camofox -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dracohu2025-cloud/draco-skills-collection wechat-article-camofox --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dracohu2025-cloud/draco-skills-collection.git skills-src && mkdir -p .claude/skills && cp -r skills-src/wechat-article-camofox .claude/skills/wechat-article-camofox && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wechat-article-camofox
GitHub stars
227
Token cost
~1.1k tokens
SKILL.md length
248 words
Files
13 (incl. scripts, assets)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。

  • Works in 3 steps: 本机已安装 git → 本机已安装 Node.js 18+ 与 npm → 目标链接为可公开访问的公众号文章页
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 适用场景, 这版 skill 提供什么, 前提条件 and 最常用用法, plus 6 more sections
  • Runs Python and Shell scripts from its folder; calls npm, python3 and node; reaches mp.weixin.qq.com and github.com

What it does

Wechat Article Camofox is an agent skill from dracohu2025-cloud/draco-skills-collection. 使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts and assets (for example `CHANGELOG.md`, `README.md` and `RELEASE.md`).

It sits in Productivity & Automation, covering Messaging and chat bots and Markdown. It works with WeChat, npm and Feishu (Lark). The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots
  • Tasks that involve Markdown

Example prompts

  • “/wechat-article-camofox”

Requirements

  • Python 3
  • Node.js
  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 本机已安装 git
  2. 本机已安装 Node.js 18+ 与 npm
  3. 目标链接为可公开访问的公众号文章页

What it can do on your machine

Read from SKILL.md and the folder at commit 26e8975. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • python3
    • node
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mp.weixin.qq.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wechat Article Camofox loads about 1.1k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 248 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from dracohu2025-cloud/draco-skills-collection at commit 26e8975, republished under its MIT licence (© dracohu2025-cloud). 248 words, ~1,067 tokens.

Download SKILL.mdSave it as .claude/skills/wechat-article-camofox/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
wechat-article-camofox
description
使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。
version
1.1.1
author
Hermes Agent
license
MIT

WeChat Article Extraction via Camofox

当你要稳定获取 微信公众号文章链接(mp.weixin.qq.com/s/...)的正文内容时,使用这个 skill,喵。

它依赖 camofox-browser 作为浏览器采集层,读取页面 accessibility snapshot,再做公众号页面专用清洗,得到更干净的正文输出。

当前版本已经升级成 方案 B:自动安装型:首次运行会先检查本机 camofox-browser 是否可用;如果还没装,会尝试自动 clone 仓库并执行 npm install,然后再拉起服务。也就是说,用户不必再手动预装 CamouFox,只需要本机已有 git 和 Node.js 18+ / npm,喵。

适用场景

  • 抓取微信公众号文章正文
  • 输出 Markdown 或 JSON
  • 普通静态抓取噪音过多,或浏览器兜底更稳时
  • 后续想把公众号抓取能力接到 Hermes 或自己的脚本链路里

这版 skill 提供什么

  • scripts/run.py:统一入口(推荐公开仓库用户直接使用)
  • scripts/fetch_wechat_article.py:主提取脚本
  • scripts/publish_wechat_article_to_feishu.py:抓取并发布到飞书原生文档(含正文图片)
  • templates/article_urls.example.txt:示例输入
  • 若装进 Hermes 本机环境,可继续提供命令入口:wechat-article-fetch
  • 若装进 Hermes 本机环境,可继续提供命令入口:wechat-article-to-feishu
  • 若本机已存在 camofox-browser-start / status / stop 管理脚本,会优先复用这些入口;若没有,Python 脚本也能直接完成自动安装与拉起
  • 首次运行或服务未就绪时,脚本会在 stderr 打印阶段性进度:检查健康状态、安装依赖、clone 仓库、执行 npm install、启动服务、等待健康检查通过
  • 依赖的 camofox-browser 服务管理脚本(若本机已配置):
    • camofox-browser-start
    • camofox-browser-status
    • camofox-browser-stop

这次实测后又补了两条关键经验:

  • 写飞书原生文档并做回读校验 是这条 workflow 的基本要求,不是可选项
  • 图片要按原文顺序插回正文,而不是统一堆到文末

前提条件

  1. 本机已安装 git
  2. 本机已安装 Node.js 18+ 与 npm
  3. 目标链接为可公开访问的公众号文章页

可选预检查:

bash
node --version
npm --version
git --version

camofox-browser 本身不再要求手动预装。首次运行 wechat-article-fetch / wechat-article-to-feishu 时,脚本会自动检查;若缺失,会自动 clone https://github.com/jo-inc/camofox-browser.git 并执行 npm install,然后再尝试拉起本地服务。

最常用用法

0)抓取并直接发布到飞书原生文档
bash
python3 scripts/run.py publish-feishu "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx"

这个 workflow 会执行:

  • 抓取公众号文章
  • 清洗正文与标题
  • 自动提取正文图片并按原文顺序写进飞书原生文档正文
  • 回读飞书文档做校验

如果你的任务目标里包含“放到飞书文档里”,这是优先入口。

1)抓取为 Markdown
bash
python3 scripts/run.py fetch "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx"

如果本机还没有 camofox-browser,它会先自动安装;如果服务未启动,它会自动拉起服务,再继续抓取。首次运行过程中会在 stderr 持续打印阶段性进度,例如:检查健康状态、clone 仓库、执行 npm install、启动服务、等待健康检查通过。

2)输出 JSON
bash
python3 scripts/run.py fetch "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx" --format json
3)保存到文件
bash
python3 scripts/run.py fetch "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx" --save /tmp/article.md
4)附带图片列表
bash
python3 scripts/run.py fetch "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx" --format json --include-images

Python 脚本直接调用

bash
python3 scripts/fetch_wechat_article.py \
  "https://mp.weixin.qq.com/s/xxxxxxxxxxxxxxxx" \
  --format markdown

输出说明

Markdown

默认输出:

  • 标题
  • 作者 / 发布时间(若能识别)
  • 正文清洗结果
JSON

输出字段:

  • url
  • title
  • author
  • published_at
  • content_markdown
  • images(可选)
  • source(固定为 camofox_snapshot)

提取策略

  1. 先检查本机 camofox-browser 是否健康
  2. 若未安装,则自动 clone camofox-browser 仓库并执行 npm install
  3. 若服务未运行,则自动拉起本地服务
  4. 新建隔离 tab 打开目标公众号链接
  5. 读取 snapshot(必要时翻页 offset)
  6. 解析标题 / 作者 / 时间 / 正文
  7. 过滤公众号常见噪音:
    • 视频控件
    • 点赞 / 留言 / 关注 / 分享区
    • 扫码提示
    • 页脚互动区
    • 小程序 / 二维码 / 继续访问等提示
  8. 关闭临时 tab

已知边界

  • 这是“公众号正文提取器”,不是通用网页抽取器
  • 个别文章若页面结构特殊,清洗规则可能需要补充
  • 当前已支持把正文图片按页面 snapshot 顺序插回正文,并在发布飞书文档时渲染成原生图片块
  • 当前也已修复一批常见的块级恢复问题:嵌套 listitem 的多余圆点、list item 内联 code 被拆行、blockquote 段落丢失、以及列表和后续正文之间的错误折行
  • 解析 snapshot 时,遇到 - list: / - listitem: / - paragraph: / - blockquote: 这类容器节点,应该按子树聚合成同一个块;不要把子节点里的 - text:、- code:、- strong: 当成独立段落逐行吐出,否则很容易产生假圆点、额外折行和断裂的 inline code
  • 序列化 Markdown 时,列表块结束后如果下一块不是列表,必须主动补空行;否则飞书/Markdown 渲染会把后续正文错误吞进上一个 list item
  • 但“逐块原样恢复”仍是近似重建,不保证与手机端公众号富文本 100% 像素级一致;复杂卡片、特殊组件、极细碎图文混排仍可能需要继续补规则
  • 自动安装模式仍依赖本机已有 git 与 Node.js 18+ / npm;如果这些底层依赖缺失,脚本会停止并给出明确提示
  • 当前实测下,若飞书授权缺少 space:document:delete,则无法真正删除旧文档;稳妥替代方案是用 docs +update --mode overwrite 将旧文档覆盖为“已废弃,请看新版”提示

何时优先使用这个 skill

当用户提到:

  • 微信公众号文章
  • 公众号链接抓取
  • mp.weixin.qq.com
  • 提取公众号正文
  • 微信文章转 Markdown / JSON

一句话总结

这套 skill 用 camofox-browser 解决“稳稳打开页面”的问题,再用公众号专用清洗解决“拿到干净正文”的问题。

© dracohu2025-cloud, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, assets) in wechat-article-camofox of dracohu2025-cloud/draco-skills-collection.

  • SKILL.md
  • .env.example
  • CHANGELOG.md
  • README.md
  • RELEASE.md
  • assets/wechat-article-camofox-flow.svg
  • requirements.txt
  • scripts/fetch_wechat_article.py
  • scripts/publish_wechat_article_to_feishu.py
  • scripts/run.py
  • scripts/smoke-test.sh
  • templates/article_urls.example.txt
  • tests/test_fetch_wechat_article.py

Open the folder on GitHubat commit 26e8975

Compare with similar skills

Wechat Article Camofox next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wechat Article Camofox compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wechat Article Camofox this skilldracohu2025-cloud/draco-skills-collection227—~1.1kAutomated safety check: PassMIT
Web To Markdownrookie-ricardo/erduo-skills935—~894Automated safety check: PassMIT
Claude To Imop7418/Claude-to-IM-skill2.9k—~3.4kAutomated safety check: NotesMIT
Content CollectorvigorX777/content-collector-skill240—~2kAutomated safety check: PassNone
Yichen Wechat Mp Batch Exportermcncarl/yichen-skills4.4k—~1.5kAutomated safety check: PassCustom licence
Static Deploynexu-io/nexu3.3k—~989Automated safety check: PassMIT

Similar skills

  • Web To Markdown

    rookie-ricardo/erduo-skills

    Convert a web URL into cleaned Markdown with deterministic routing.

    935 GitHub stars~894 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Claude To Im

    op7418/Claude-to-IM-skill

    Bridge THIS Claude Code or Codex session to Telegram, Discord, Feishu/Lark, QQ, or WeChat so the user can chat with Claude from their phone.

    2.9k GitHub stars~3.4k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check: notes
  • Content Collector

    vigorX777/content-collector-skill

    Collect social media content (X/Twitter, WeChat, Jike, Reddit, etc.) into Feishu bitable.

    240 GitHub stars~2k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Yichen Wechat Mp Batch Exporter

    mcncarl/yichen-skills

    批量下载微信公众号文章正文、历史文章列表、原创文章筛选、历史计数口径、阅读量、点赞/转发等指标、评论和评论回复。Use when the user asks to batch fetch mp.weixin.qq.com articles, export WeChat public-account history, distinguish publish groups vs expanded…

    4.4k GitHub stars~1.5k tokensUpdated 6 days ago
    Productivity & AutomationAuto-check passed
  • Static Deploy

    nexu-io/nexu

    Deploy static pages to nexu.space. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~989 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • Use Avibe

    avibe-bot/avibe

    Safely inspect and modify local Avibe configuration, routing, runtime settings, watches, scheduled tasks, Avibe Cloud remote access, and operational state.

    622 GitHub stars~2.5k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from dracohu2025-cloud/draco-skills-collection

All 27 skills in this repo
  • AI News Bitable Archive Dingtalk

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when parsing a DingTalk daily news document and syncing title, date, Top 3, summary, conclusion, document link, and status into a DingTalk multidimensional table.

    227 GitHub stars~795 tokensUpdated 23 days ago
    Auto-check passed
  • Feishu Seedance Video Pipeline

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when running a Feishu/Lark Base-centered Seedance video production pipeline: inspect/backfill the Base row, create/reference assets, build Row-24-style Chinese Seedance…

    227 GitHub stars~5k tokensUpdated 23 days ago
    Auto-check: notes
  • Motion Canvas

    dracohu2025-cloud/draco-skills-collection

    Production pipeline for Motion Canvas — TypeScript-based programmatic vector animation with real-time preview.

    227 GitHub stars~1.5k tokensUpdated 23 days ago
    Auto-check passed
  • News Aggregator Skill

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when collecting public news candidates from Hacker News, GitHub Trending, Hugging Face papers, and other web sources for briefings and daily reports.

    227 GitHub stars~596 tokensUpdated 23 days ago
    Auto-check passed
  • Open Design To Open Slide

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when mining Open Design visual systems and converting them into Open Slide React template kits or standalone 20-page template albums, with build, deployment, screenshot QA…

    227 GitHub stars~2.9k tokensUpdated 23 days ago
    Auto-check passed
  • Daily AI Agent Aigc Top News Dingtalk

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when generating a daily 24h AI / Agent / AIGC top-news briefing, publishing it as a DingTalk document, validating it, and optionally archiving it to a DingTalk…

    227 GitHub stars~3k tokensUpdated 23 days ago
    Auto-check passed

Questions about Wechat Article Camofox

What does Wechat Article Camofox do?

使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。. Wechat Article Camofox is an agent skill from dracohu2025-cloud/draco-skills-collection.

When should I use Wechat Article Camofox?

Wechat Article Camofox fits situations like: tasks that involve Messaging and chat bots; tasks that involve Markdown.

How do I install Wechat Article Camofox in Claude Code?

Run `npx skills add dracohu2025-cloud/draco-skills-collection --skill wechat-article-camofox -a claude-code`. Or copy the skill folder (wechat-article-camofox in dracohu2025-cloud/draco-skills-collection) into .claude/skills/wechat-article-camofox in your project. Claude Code loads it when a task matches its description.

How do I install Wechat Article Camofox in Codex?

Run `npx skills add dracohu2025-cloud/draco-skills-collection --skill wechat-article-camofox -a codex`. Or copy the skill folder (wechat-article-camofox in dracohu2025-cloud/draco-skills-collection) into .agents/skills/wechat-article-camofox in your project. Codex loads it when a task matches its description.

Can I use Wechat Article Camofox in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dracohu2025-cloud/draco-skills-collection --skill wechat-article-camofox -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wechat-article-camofox, .gemini/skills/wechat-article-camofox, .github/skills/wechat-article-camofox and .opencode/skills/wechat-article-camofox in your project.

What does Wechat Article Camofox need to run?

Going by SKILL.md and its folder, Wechat Article Camofox needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (npm, python3, node and git). Our summary lists: Python 3; Node.js; A Bash shell.

Does Wechat Article Camofox access the network?

SKILL.md names 2 domains. In commands or code: mp.weixin.qq.com and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Wechat Article Camofox safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Wechat Article Camofox use?

Wechat Article Camofox is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wechat Article Camofox use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wechat Article Camofox?

Skills that share tags, products or a category with Wechat Article Camofox: Web To Markdown (rookie-ricardo/erduo-skills, 935 stars), Claude To Im (op7418/Claude-to-IM-skill, 2.9k stars), Content Collector (vigorX777/content-collector-skill, 240 stars) and Yichen Wechat Mp Batch Exporter (mcncarl/yichen-skills, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wechat Article Camofox?

dracohu2025-cloud (a GitHub user) maintains it in dracohu2025-cloud/draco-skills-collection, which has 227 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on September 17, 2026.

Source: dracohu2025-cloud/draco-skills-collection on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.