Agent skill

WeChat Article Search

by zjp1997720 in zjp1997720/wechat-article-search

Searches WeChat public account articles by keyword through Sogou WeChat Search and returns titles, summaries, dates, source accounts and links.

MITAuto-check: notesProductivity & Automation

SKILL.md written in Chinese; this summary is our English description.

Install WeChat Article Search

skills CLI
$ npx skills add zjp1997720/wechat-article-search --skill wechat-article-search -a claude-code

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

GitHub CLI
$ gh skill install zjp1997720/wechat-article-search wechat-article-search --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/zjp1997720/wechat-article-search.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/wechat-article-search .claude/skills/wechat-article-search && 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-search
GitHub stars
269
Used in
1 other repo
Token cost
~730 tokens
SKILL.md length
146 words
Files
8 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Searches WeChat public account articles by keyword through Sogou WeChat Search and returns titles, summaries, dates, source accounts and links.

  • Works in 3 steps: 执行包含数量限制的搜索命令 → 如果用户需要保存结果到文件,执行命令 → 若想要获取微信文章域名的真实链接”,执行如下命令
  • Finding recent WeChat public account articles on a topic
  • SKILL.md covers 适用场景, 工作流程, 特殊流程(可选) and 参数说明, plus 4 more sections
  • Runs JavaScript scripts from its folder; calls node and npm

What it does

Written in Chinese, this skill runs a small Node script that searches WeChat public account articles by keyword and returns structured results: title, summary, publish time, source account and link. No API key is needed, since the data source is Sogou WeChat Search.

The script takes the keyword, a result count (default ten, at most 50), an optional output file for the JSON, and a flag that tries to resolve the intermediate Sogou link to the real WeChat article address. Resolving costs an extra request per result and often fails because of anti-scraping limits, in which case the intermediate link is kept and marked as unresolved. Empty results usually call for different keywords or a retry later.

The cheerio package must be installed first. The tool is meant for study and research, not commercial use or large-scale scraping, and heavy use can get an IP address blocked. A note in the file describes pairing it with a second skill that fetches full article text.

When your agent uses it

  • Finding recent WeChat public account articles on a topic
  • Collecting article titles, summaries and sources as reference material
  • Saving a keyword search result as a JSON file

Example prompts

  • “Search WeChat public accounts for recent articles about AI agents and return ten results.”
  • “Find the latest articles on AI training programs and save them to result.json.”
  • “Resolve the real WeChat links for the top five results on remote work.”

Requirements

  • Node.js with the cheerio package installed
  • Network access to Sogou WeChat Search
  • Pre-approved tools (allowed-tools): Bash, Read

Workflow steps

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

  1. 执行包含数量限制的搜索命令
  2. 如果用户需要保存结果到文件,执行命令
  3. 若想要获取微信文章域名的真实链接”,执行如下命令

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npm

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

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    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 Search loads about 730 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 146 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read

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 zjp1997720/wechat-article-search at commit 7e1be9a, republished under its MIT licence (© zjp1997720). 146 words, ~730 tokens.

Download SKILL.mdSave it as .claude/skills/wechat-article-search/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
wechat-article-search
description
搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。
allowed-tools
Bash, Read
description_zh
搜索微信公众号文章(标题、摘要、发布时间、来源账号、链接)
description_en
Search WeChat public account articles by keyword
version
0.1.0
display_name
wechat-article-search
display_name_en
wechat-article-search
visibility
public

微信公众号文章搜索说明

适用场景

  • 用户说“帮我搜某个关键词的公众号文章/最近文章”
  • 需要快速拿到:标题、摘要、发布时间、公众号名称、可访问链接

工作流程

步骤1: 确认已安装依赖包

该脚本依赖NodeJS依赖包 cheerio,建议先执行全局安装或在项目中安装:

bash
npm install -g cheerio
步骤2: 确认搜索词语数量

1、 确认关键词与数量

步骤3: 执行搜索命令

1、执行常规搜索命令

bash
node scripts/search_wechat.js "关键词" 

特殊流程(可选)

  1. 执行包含数量限制的搜索命令
bash
node scripts/search_wechat.js "关键词"  -n 15
  1. 如果用户需要保存结果到文件,执行命令
bash
node scripts/search_wechat.js "关键词" -n 20 -o result.json
  1. 若想要获取微信文章域名的真实链接”,执行如下命令
bash
node scripts/search_wechat.js "关键词" -n 5 -r

参数说明

  • query:搜索关键词(必填)
  • -n, --num:返回数量(默认 10,最大 50)
  • -o, --output:输出 JSON 文件路径(可选)
  • -r, --resolve-url:尝试把中间链接解析成微信文章真实链接(会额外请求每条结果)

输出字段(文章对象)

文章标题、文章地址、文章概要、发布时间、来源公众号名称

常见问题处理

  • 结果为空:尝试更换关键词、更少的特殊字符、或稍后重试
  • 解析真实 URL 失败:这是常态(反爬限制);可提示用户用浏览器打开中间链接

注意事项

  • 本工具仅用于学习和研究目的,请勿用于商业用途或大规模爬取。
  • 使用本工具时请遵守相关网站的使用条款和规定。
  • 过度使用可能导致 IP 被封禁,请谨慎使用。

Vault 适配说明(deepsight_vault 专属,原版无此段)

以下内容由大鹏的 vault 自动追加,用于把本 skill 接入 Obsidian 仓库生态。原版说明见上方。

依赖安装(本仓库约定)

本 skill 在仓库内自包含依赖,不要全局安装。首次使用或克隆仓库后,在本 skill 目录执行一次:

bash
cd .claude/skills/wechat-article-search
npm install

cheerio 会装到本目录的 node_modules/,已被 .gitignore 排除。脚本通过 Node 的向上查找机制能 require('cheerio'),无需配 NODE_PATH。

单一真源与同步
  • 真源:.claude/skills/wechat-article-search/
  • 同步:由 scripts/sync-claude-skills.sh 自动软链到 .agents/skills/、.opencode/skills/、~/.codex/skills/、~/.config/opencode/skills/、.workbuddy/skills/(LaunchAgent 监听 .claude/skills 目录变化 + git hook 兜底)。
  • 改 skill 只改 .claude/skills/wechat-article-search/,不要直接改其它位置的软链。
与 wxmp-article-harvester 的衔接

两个 skill 职责互补,可串联使用:

环节skill输入输出
关键词发现(本 skill)wechat-article-search关键词,如「AI Agent」文章列表 JSON(标题/链接/摘要/来源/时间)
按账号/URL 抓正文wxmp-article-harvester公众号名或 mp.weixin.qq.com/s/... 链接结构化索引 + Markdown 正文

典型链路:先用本 skill 按关键词发现一批文章 URL 和来源公众号 → 再用 harvester 对感兴趣的账号或具体 URL 抓取正文导出到 ~/.dapeng/wxmp-harvester/exports/。

输出落点建议
  • 临时检索:直接看 stdout JSON,不落盘。
  • 需要留档:用 -o 写到 00_收件箱/Clippings/ 或对应项目的来源目录,文件名带关键词和日期,如 wechat-search-AI培训-2026-07-06.json。
  • 不要把搜索结果散落到仓库根目录。
反爬与免责(重要)
  • 数据源是搜狗微信搜索(weixin.sogou.com),受反爬策略影响,偶发返回空结果或被 antispider 拦截属正常现象,换关键词或稍后重试即可。
  • -r 解析真实链接在反爬收紧时成功率低,失败会保留搜狗中间链接并标记 url_resolved: false。
  • 仅用于学习研究和个人资料整理,不要高频调用、不要做大规模商业爬取。

© zjp1997720, 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 7 other files (scripts) in skills/wechat-article-search of zjp1997720/wechat-article-search.

  • SKILL.md
  • LICENSE
  • agents/openai.yaml
  • package-lock.json
  • package.json
  • scripts/search_wechat.js
  • tests/fixtures/search-results.html
  • tests/parser.test.js

Open the folder on GitHubat commit 7e1be9a

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in zjp1997720/wechat-article-search, which our catalogue first saw on October 7, 2026.

Compare with similar skills

WeChat Article Search 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 Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
WeChat Article Search this skillzjp1997720/wechat-article-search2691 repos~730Automated safety check: NotesMIT
Web Access via Browser CDPeze-is/web-access9.1k4 repos~2.2kAutomated safety check: PassMIT
Brightdata SDK JSbrightdata/skills264—~3kAutomated safety check: PassMIT
Web Content Fetcheryaomindong1996/forge-admin126—~898Automated safety check: PassApache-2.0
Agent ReachPanniantong/Agent-Reach95k—~1.4kAutomated safety check: PassMIT
Reddit JSON Fetcherykdojo/claude-code-tips10k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Routes every web task, from searching to logged-in browsing, through a tiered choice of search, fetch, curl or a real Chrome or Edge session driven over CDP.

    9.1k GitHub starsUsed in 4 repos~2.2k tokens
    Productivity & AutomationAuto-check passed
  • Brightdata SDK JS

    brightdata/skills

    Web data extraction and discovery using the Bright Data JavaScript/TypeScript SDK (@brightdata/sdk).

    264 GitHub stars~3k tokensUpdated 3 days ago
    Productivity & AutomationAuto-check passed
  • Web Content Fetcher

    yaomindong1996/forge-admin

    Extract article content from any URL as clean Markdown. An agent skill from yaomindong1996/forge-admin.

    126 GitHub stars~898 tokensUpdated today
    Writing & ContentAuto-check passed
  • Agent Reach

    Panniantong/Agent-Reach

    Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.

    95k GitHub stars~1.4k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Reddit JSON Fetcher

    ykdojo/claude-code-tips

    Fetches Reddit posts, threads and search results as JSON through a browser session, using a DuckDuckGo redirect to get past Reddit's automated-access block.

    10k GitHub stars~1.4k tokensUpdated 15 days ago
    Productivity & AutomationAuto-check passed
  • Browser Search

    Johell1NS/browser-search

    Multi-engine web search (SearXNG) + browsing/scraping (Camofox, CloakBrowser).

    530 GitHub stars~2.5k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

Works with

Questions about WeChat Article Search

What does WeChat Article Search do?

Searches WeChat public account articles by keyword through Sogou WeChat Search and returns titles, summaries, dates, source accounts and links. Written in Chinese, this skill runs a small Node script that searches WeChat public account articles by keyword and returns structured results: title, summary, publish time, source account and link. No API key is needed, since the data source is Sogou WeChat Search.

When should I use WeChat Article Search?

WeChat Article Search fits situations like: finding recent WeChat public account articles on a topic; collecting article titles, summaries and sources as reference material; saving a keyword search result as a JSON file.

How do I install WeChat Article Search in Claude Code?

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

How do I install WeChat Article Search in Codex?

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

Can I use WeChat Article Search 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 zjp1997720/wechat-article-search --skill wechat-article-search -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-search, .gemini/skills/wechat-article-search, .github/skills/wechat-article-search and .opencode/skills/wechat-article-search in your project.

What does WeChat Article Search need to run?

Going by SKILL.md and its folder, WeChat Article Search needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and npm). Our summary lists: Node.js with the cheerio package installed; Network access to Sogou WeChat Search. Its frontmatter pre-approves these tools: Bash, Read.

Does WeChat Article Search access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is WeChat Article Search safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. 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 Search use?

WeChat Article Search is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does WeChat Article Search use?

About 730 tokens (SKILL.md is roughly 2.9k 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 Search?

Skills that share tags, products or a category with WeChat Article Search: Web Access via Browser CDP (eze-is/web-access, 9.1k stars), Brightdata SDK JS (brightdata/skills, 264 stars), Web Content Fetcher (yaomindong1996/forge-admin, 126 stars) and Agent Reach (Panniantong/Agent-Reach, 95k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains WeChat Article Search?

zjp1997720 (a GitHub user) maintains it in zjp1997720/wechat-article-search, which has 269 GitHub stars. The repository was last updated on July 17, 2026.

Source: zjp1997720/wechat-article-search on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.