360 Secure SkillHub
360 安全技能中心

Wechat Collect

该 Skill 读取含微信公众号文章链接的文本文件,抓取公开文章页面,提取标题、作者、日期与候选正文段落,生成可供下游写作流程直接使用的 brief,并把原始 HTML 归档到 inbox/raw 目录;仅适用于公开可访问的文章,删除或反爬变体可能失败或提取质量下降。

abigale-cyber
abigale-cyber
热度 50.25
最近更新 2026-05-11 17:41:04
分类:效率依赖:联网浏览搜索 / 读写文件 / 代码执行应用场景:工作流 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wechat-collect
Metadata
name
wechat-collect
description
Fetch a public WeChat article URL, archive the raw HTML, and convert the article into a stage-1 compatible brief in `content-production/inbox/`. Use when Codex needs to collect公众号文章素材 or start the Stage 2 collect-to-create pipeline from a public `mp.weixin.qq.com` URL.

WeChat Collect

Collect a public WeChat article and transform it into a brief that can be passed directly to case-writer-hybrid.

Quick Start

Run the default command:

.venv/bin/python -m skill_runtime.cli run-skill wechat-collect --input content-production/inbox/20260403-wechat-collect-url.txt

Prepare Input

Pass a text file containing at least one URL. The first detected URL is used.

Example input file:

content-production/inbox/20260403-wechat-collect-url.txt

Follow Collection Workflow

  1. Fetch the public article HTML from the first detected URL.
  2. Extract title, author, date, and candidate正文段落 from the page.
  3. Build a stage-1 compatible brief that downstream writing steps can reuse.
  4. Archive the raw HTML for traceability and later extraction tuning.

Write Output

Write the brief to:

content-production/inbox/<date>-<slug>-gzh-brief.md

Write the raw archive to:

content-production/inbox/raw/wechat/<date>-<slug>.html

Respect Constraints

  • Only works for publicly reachable article URLs
  • Deleted articles or anti-crawl variants may produce reduced-quality extraction or fail explicitly
  • Current extraction is usable for pipeline intake, but still needs quality tuning for cleaner argument mining

Read Related Files

  • Shared runtime: skills/wechat-collect/runtime.py
  • Pipeline entry: skill_runtime/engine.py
  • Stage 2 workflow: workflows/stage2-wechat-pipeline.json
  • Planning reference: docs/content-skills-implementation-plan.md