Agent skill

Wechat Article Search

by nexus-research-lab in nexus-research-lab/nexus

搜索微信公众号文章,并整理标题、摘要、发布时间、来源公众号和链接。用户提到微信公众号、 公众号文章、微信文章、搜一批公众号资料、按关键词找公众号内容、查某公众号相关报道, 或需要为中文研究收集微信公众平台文章时使用;即使用户只说“搜微信里的文章”也应触发。

Apache-2.0Auto-check: notesProductivity & Automation

Install Wechat Article Search

skills CLI
$ npx skills add nexus-research-lab/nexus --skill wechat-article-search -a claude-code

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

GitHub CLI
$ gh skill install nexus-research-lab/nexus 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/nexus-research-lab/nexus.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
151
Token cost
~858 tokens
SKILL.md length
130 words
Files
7 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

搜索微信公众号文章,并整理标题、摘要、发布时间、来源公众号和链接。用户提到微信公众号、 公众号文章、微信文章、搜一批公众号资料、按关键词找公众号内容、查某公众号相关报道, 或需要为中文研究收集微信公众平台文章时使用;即使用户只说“搜微信里的文章”也应触发。

  • Works in 5 steps: 从用户请求提取关键词、数量和是否需要直达微信链接。数量未指定时用 10,最大 50; → 先运行脚本。${CLAUDE_SKILL_DIR} 在 nxs 与 Claude… → 读取 stdout JSON,按结果格式回答。不要把脚本的“0… → …
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 运行依赖, 请求策略, 执行流程 and 降级检索, plus 2 more sections
  • Runs Python scripts from its folder; calls python3; reaches weixin.sogou.com

What it does

Wechat Article Search is an agent skill from nexus-research-lab/nexus. 搜索微信公众号文章,并整理标题、摘要、发布时间、来源公众号和链接。用户提到微信公众号、 公众号文章、微信文章、搜一批公众号资料、按关键词找公众号内容、查某公众号相关报道, 或需要为中文研究收集微信公众平台文章时使用;即使用户只说“搜微信里的文章”也应触发。 本 Skill 负责文章发现和结果整理,不用于批量抓取正文或长期监控。

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `meta.json`, `scripts/__init__.py` and `scripts/search.py`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with WeChat and Python. The repository describes itself as: Multi-agent collaboration platform for persistent, proactive AI agents across rooms, workspaces, skills, and external services. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “搜微信里的文章”
  • “/wechat-article-search”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Write, WebSearch, WebFetch

Workflow steps

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

  1. 从用户请求提取关键词、数量和是否需要直达微信链接。数量未指定时用 10,最大 50;
  2. 先运行脚本。${CLAUDE_SKILL_DIR} 在 nxs 与 Claude Code 中都会展开为当前 Skill
  3. 读取 stdout JSON,按结果格式回答。不要把脚本的“0 条”扩写成“网上没有”;
  4. 只有用户明确要求 mp.weixin.qq.com 直达链接,或后续任务确实需要抓取正文时,才使用
  5. 用户要求保存时才传 --output,优先写入用户指定目录;未指定目录时先给结果,不要自行

What it can do on your machine

Read from SKILL.md and the folder at commit 67f54e7. 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
    • Write
    • WebSearch
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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:

    • weixin.sogou.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 Search loads about 858 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 130 words of instructions outside code blocks.

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

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, Write, WebSearch, WebFetch

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 nexus-research-lab/nexus at commit 67f54e7, republished under its Apache-2.0 licence (© nexus-research-lab). 130 words, ~858 tokens.

Download SKILL.mdSave it as .claude/skills/wechat-article-search/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
wechat-article-search
description
搜索微信公众号文章,并整理标题、摘要、发布时间、来源公众号和链接。用户提到微信公众号、 公众号文章、微信文章、搜一批公众号资料、按关键词找公众号内容、查某公众号相关报道, 或需要为中文研究收集微信公众平台文章时使用;即使用户只说“搜微信里的文章”也应触发。 本 Skill 负责文章发现和结果整理,不用于批量抓取正文或长期监控。
allowed-tools
Bash, Read, Write, WebSearch, WebFetch
title
微信公众号文章搜索
version
1.0.0
category_key
research-analysis
category_name
研究与分析
tags
wechat, official-account, article-search, chinese-research
recommendation
适合按关键词发现微信公众号文章,并快速整理来源、时间与可访问链接。

微信公众号文章搜索

按关键词发现微信公众号文章,并把可核验的搜索结果整理给用户。默认使用内置 Python 脚本访问搜狗微信搜索;脚本依赖 requests 与 beautifulsoup4。当本机缺少 Python、 依赖未安装、来源限流或页面结构暂时不可解析时,再使用 WebSearch / WebFetch 做明确 标注的降级检索。

运行依赖

需要 Python 3.10+、requests 和 beautifulsoup4。执行前先检查:

bash
python3 --version
python3 -c "import requests, bs4"

如果 Python 包缺失,先向用户说明需要安装依赖,并在用户同意后执行:

bash
python3 -m pip install -r "${CLAUDE_SKILL_DIR}/requirements.txt"

不要静默安装依赖,也不要改动用户现有的 Python 环境。

请求策略

  • requests 负责 HTTP 会话、Cookie 和超时,BeautifulSoup 负责解析搜索结果 DOM。
  • 每次请求从有限的浏览器 User-Agent 池中选择一个,并在请求前访问搜狗视频入口预热会话。
  • 搜索请求会带基础搜狗 Cookie,并叠加预热响应提供的 SNUID;这只是兼容搜狗搜索页的 请求策略,不代表拥有微信文章访问权限。
  • 仍然采用低频人工请求、固定延迟和一次重试;遇到验证码、反爬或限流就停止。

执行流程

  1. 从用户请求提取关键词、数量和是否需要直达微信链接。数量未指定时用 10,最大 50; 不要为了默认值额外追问。
  2. 先运行脚本。${CLAUDE_SKILL_DIR} 在 nxs 与 Claude Code 中都会展开为当前 Skill 的真实目录:
bash
python3 "${CLAUDE_SKILL_DIR}/scripts/search.py" "关键词" --num 10
  1. 读取 stdout JSON,按结果格式回答。不要把脚本的“0 条”扩写成“网上没有”; 它只表示本次来源没有返回可解析结果。
  2. 只有用户明确要求 mp.weixin.qq.com 直达链接,或后续任务确实需要抓取正文时,才使用 --resolve-url。链接解析会逐条增加请求,建议一次不超过 10 篇:
bash
python3 "${CLAUDE_SKILL_DIR}/scripts/search.py" "关键词" --num 5 --resolve-url
  1. 用户要求保存时才传 --output,优先写入用户指定目录;未指定目录时先给结果,不要自行 把文件散落在 workspace 根目录:
bash
python3 "${CLAUDE_SKILL_DIR}/scripts/search.py" "关键词" --num 20 --output "research/wechat-results.json"
排序

默认保持搜索相关性顺序。用户明确要“最新”“最近”时,使用 --sort latest;这只会对本次 检索到的结果按可解析发布时间降序排列,不能宣称覆盖全部公众号文章:

bash
python3 "${CLAUDE_SKILL_DIR}/scripts/search.py" "关键词" --num 20 --sort latest

降级检索

遇到以下情况时停止重复调用脚本,改走降级链路:

  • python3 不存在,或 stderr 的错误码是 dependency_missing;
  • stderr 的错误码是 antispider、rate_limited 或 page_changed;
  • 连续一次正常重试后仍是网络错误。

使用 WebSearch 搜索:

text
site:mp.weixin.qq.com/s "关键词"

对最多 5 个高相关结果用 WebFetch 核验标题、公众号和发布时间。只返回工具真实提供的 字段;无法核验的字段写“未核验”,不要从 URL、摘要或账号习惯推断。回答中说明“搜狗微信 检索不可用,以下来自公开网页索引”,避免把降级结果伪装成同一数据源。

如果 WebSearch 也未配置或失败,直接说明当前缺少可用搜索来源,并给出可执行建议: 稍后重试、缩短关键词、去掉特殊字符,或让用户提供候选链接。不要循环请求触发更严格限流。

结果格式

脚本输出一个 JSON 对象:

json
{
  "query": "AI Agent",
  "sort": "relevance",
  "total": 1,
  "fetched_at": "2026-07-28T08:00:00.000Z",
  "articles": [
    {
      "title": "文章标题",
      "url": "https://weixin.sogou.com/link?...",
      "summary": "搜索结果摘要",
      "datetime": "2026-07-27 10:30:00",
      "date_text": "2026年07月27日",
      "date_description": "2026年07月27日",
      "source": "公众号名称"
    }
  ]
}

向用户展示时优先使用紧凑编号列表,每条包含:

text
标题 — 公众号 · 发布时间
摘要
链接
  • url_resolved: true 表示已解析为微信直达链接。
  • url_resolved: false 时保留可访问的搜狗中间链接,不要声称它是直达链接。
  • datetime 为空表示来源没有提供可解析时间;不要补造日期。
  • 用户要求“整理参考资料”时,可在结果之后按主题聚类,但保持原始链接与来源可追溯。

使用边界

  • 本 Skill 用于低频、人工发起的资料发现,不用于批量采集、持续爬取或规避验证码与明确封禁。
  • 尊重站点条款和访问限制;出现验证码、反爬或限流就停止自动重试。
  • 搜索结果只证明索引页当时返回了该条目,不证明文章观点、事实或时效性。需要引用文章 内容时,再获取原文并独立核验。

© nexus-research-lab, Apache-2.0. 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 6 other files (scripts) in skills/wechat-article-search of nexus-research-lab/nexus.

  • SKILL.md
  • meta.json
  • requirements.txt
  • scripts/__init__.py
  • scripts/search.py
  • tests/fixtures/search-results.html
  • tests/test_search.py

Open the folder on GitHubat commit 67f54e7

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 skillnexus-research-lab/nexus151—~858Automated safety check: NotesApache-2.0
Create Experkfly/ex-skill2.5k—~3.7kAutomated safety check: NotesMIT
Wechat AutomationLAVARONG/wechat-automation-api181—~1.2kAutomated safety check: PassNone
Legal Text Formatcat-xierluo/legal-skills720—~1.3kAutomated safety check: PassCC-BY-NC-4.0
Wechat Account Analyzerredfox-data/redfox-community427—~1.4kAutomated safety check: PassNone
Wechat Prohibited Wordredfox-data/redfox-community427—~1.3kAutomated safety check: PassNone

Similar skills

  • Create Ex

    perkfly/ex-skill

    Distill an ex-girlfriend into an AI Skill. An agent skill from perkfly/ex-skill.

    2.5k GitHub stars~3.7k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check: notes
  • Wechat Automation

    LAVARONG/wechat-automation-api

    微信发信能力:通过 Windows 桌面微信发送文本、图片URL或本地文件。适合各类 Agent 在本机直接发送一次性消息。触发词:给[某人]发微信、通知[某人]、把这个用微信发给[某人]、用微信发个图片、把本地文件发给[某人]

    181 GitHub stars~1.2k tokensUpdated 22 days ago
    Productivity & AutomationAuto-check passed
  • Legal Text Format

    cat-xierluo/legal-skills

    将法律文本(法律条文或法律案例)转换为规范的 Markdown 格式,删除推广冗余信息。本技能应在用户需要处理法律条文(如民法典、刑法等)、整理法律案例(如最高法典型案例、裁判文书等)、或从粘贴文本中格式化法律文档时使用。注意:本技能只负责格式化和内容清理,不包含内容抓取能力。内容获取应由其他 skill(如 wechat-article-fetch)完成,AI 会自动判断技能协作顺序。内置…

    720 GitHub stars~1.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Wechat Account Analyzer

    redfox-data/redfox-community

    公众号账号诊断工具是对任意公众号账号进行四维度量化评分(内容健康度、用户活跃度、内容核心数据、运营规范性),对标行业平均水平,输出可落地的运营优化建议。

    427 GitHub stars~1.4k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Wechat Prohibited Word

    redfox-data/redfox-community

    扫描公众号文案、文件或网页中的违禁词与敏感表述,标注风险并提供合规替换建议,帮你安全过审、避免删文限流. An agent skill from redfox-data/redfox-community.

    427 GitHub stars~1.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Wechat Search

    redfox-data/redfox-community

    公众号搜索工具,支持按关键词搜索爆款文章,展示推荐热门文章,助力内容创作者把握趋势与获取灵感;当用户需要搜索公众号文章、查找爆款内容、获取创作灵感时使用

    427 GitHub stars~2.7k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from nexus-research-lab/nexus

All 17 skills in this repo
  • Imagegen

    nexus-research-lab/nexus

    Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, UI mockups, product shots, or transparent-background…

    151 GitHub stars~600 tokensUpdated today
    Auto-check passed
  • Caixun Work Hours

    nexus-research-lab/nexus

    彩讯(RichPMS)工时填报助手:把当前会话、代码记录或用户口述整理成日报,按 8 小时分配,经用户确认后写入工时系统。用户提到“填日报、报工、补报、本周工时、日报被驳回”时使用。

    151 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • XLSX

    nexus-research-lab/nexus

    只要电子表格文件(.xlsx、.xlsm、旧版 .xls、.csv、.tsv)是任务的主要输入或输出,或者需要 被打开、读取、创建、修改,就使用本 Skill。也适用于公式、格式、图表、数据清洗和表格格式转换。

    151 GitHub stars~501 tokensUpdated today
    Auto-check passed
  • Automation

    nexus-research-lab/nexus

    通过宿主提供的 nexus.command 结构化工具查询、规划、确认并管理 scheduled task。用户要求提醒、延迟执行、周期检查、定时报表、补跑、结果重投递、持续关注、修改或删除任务、处理任务权限阻塞时使用;同时适用于定时任务后台 run 检查自身状态。

    151 GitHub stars~541 tokensUpdated today
    Auto-check passed
  • Execution Orchestrator

    nexus-research-lab/nexus

    选择执行结构、委派子智能体、管理 Nexus 工作图与可复用模板;遵守本轮权限,简单任务直接完成. An agent skill from nexus-research-lab/nexus.

    151 GitHub stars~821 tokensUpdated today
    Auto-check passed
  • Goal Manager

    nexus-research-lab/nexus

    在当前 Nexus round 中创建、读取、明确纠正、审计、完成或阻塞 durable Goal。只处理用户或系统明确的跨轮目标生命周期;普通任务、提醒和执行图责任分别使用直接执行、Automation 或 Execution。

    151 GitHub stars~616 tokensUpdated today
    Auto-check passed

Works with

Questions about Wechat Article Search

What does Wechat Article Search do?

搜索微信公众号文章,并整理标题、摘要、发布时间、来源公众号和链接。用户提到微信公众号、 公众号文章、微信文章、搜一批公众号资料、按关键词找公众号内容、查某公众号相关报道, 或需要为中文研究收集微信公众平台文章时使用;即使用户只说“搜微信里的文章”也应触发。. Wechat Article Search is an agent skill from nexus-research-lab/nexus.

When should I use Wechat Article Search?

Wechat Article Search fits situations like: tasks that involve Messaging and chat bots.

How do I install Wechat Article Search in Claude Code?

Run `npx skills add nexus-research-lab/nexus --skill wechat-article-search -a claude-code`. Or copy the skill folder (skills/wechat-article-search in nexus-research-lab/nexus) 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 nexus-research-lab/nexus --skill wechat-article-search -a codex`. Or copy the skill folder (skills/wechat-article-search in nexus-research-lab/nexus) 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 nexus-research-lab/nexus --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 Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, WebSearch, WebFetch.

Does Wechat Article Search access the network?

SKILL.md names 1 domain. In commands or code: weixin.sogou.com; the agent is likely to contact it when it follows the instructions. 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 Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wechat Article Search use?

About 858 tokens (SKILL.md is roughly 3.4k 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: Create Ex (perkfly/ex-skill, 2.5k stars), Wechat Automation (LAVARONG/wechat-automation-api, 181 stars), Legal Text Format (cat-xierluo/legal-skills, 720 stars) and Wechat Account Analyzer (redfox-data/redfox-community, 427 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?

nexus-research-lab (a GitHub organization) maintains it in nexus-research-lab/nexus, which has 151 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 10, 2026.

Source: nexus-research-lab/nexus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.