wechat-article-search-api-skill
它能做什么
这项技能按你选择的关键词搜索 WeChat 文章,并返回完整的文章内容。适合追踪中国公众号和行业新闻的研究人员与分析人员。
适用场景
- ✓当你需要某个主题的 WeChat 文章全文时。
- ✓当你想追踪某个行业里 WeChat 公众号的发布内容时。
- ✓当你在 WeChat 上研究媒体报道或竞争对手的时候。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/social-listening/wechat-article-search-api-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我找出本月发布的关于电动汽车的 WeChat 文章,并给我每篇的完整正文。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能把关键词和可选的日期筛选发送给 BrowserAct 模板。模板会搜索 WeChat 文章,并返回结构化记录,包括文章的完整正文。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
WeChat Article Search API
📖 Introduction
This skill provides users with automated WeChat article extraction through the BrowserAct WeChat Article Search API template. It allows for the direct extraction of full-content, structured WeChat articles based on keyword searches. Simply provide search keywords and optional date filters, and you can obtain comprehensive article data including the full body text.
✨ Features
- No hallucinations, ensuring stable and precise data extraction: Pre-configured workflows avoid AI-generated hallucinations.
- No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
- No IP restrictions or geo-blocking: No need to handle regional IP limitations.
- Faster execution: Task execution is faster compared to pure AI-driven browser automation solutions.
- Extremely high cost-effectiveness: Significantly reduces data acquisition costs compared to AI solutions that consume a large number of tokens.
🔑 API Key Guidance Flow
Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other actions; request and wait for the user to provide it.
The Agent must inform the user:
"Since you have not configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key."
🛠️ Input Parameters
When invoking the script, the Agent should flexibly configure the following parameters based on user needs:
keywords (Search Keywords)
- Type:
string - Description: Search keywords used to find WeChat articles. Can be an industry term, topic, or specific phrase.
- Example:
openclaw,AI agent,browser automation
- Type:
Date_limit (Extraction Limit)
- Type:
number - Description: Maximum number of articles to extract. For the first run, a smaller default value is recommended.
- Default Value:
10 - Suggestions: Use
5to10for quick testing, larger numbers for batch research.
- Type:
publication_date (Publication Date Filter)
- Type:
string - Description: Filter articles by their publication date.
- Example:
3月11日,March 10,2026-03-11
- Type:
🚀 Invocation Method
The Agent should execute the following independent script to achieve "one command, direct results":
# Example invocation
python -u ./scripts/wechat_article_search_api.py "keywords" limit "publication_date"
⏳ Run Status Monitoring
Because this task involves automated browser operations, it may take a long time (several minutes). While running, the script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running).
Agent Instructions:
- Keep monitoring the terminal output while waiting for the script to return results.
- As long as the terminal continues to output new status logs, it means the task is running normally; do not misjudge it as deadlocked or unresponsive.
- Only consider triggering the retry mechanism if the status remains unchanged for a long time, or the script stops outputting without returning results.
📊 Output Data Explanation
Upon successful execution, the script will parse and print the results directly from the API response. The results include:
url_link: Original article URLpublication_date: Article publication dateauthor: Article author or publishing account nameimage_url: Main image URL or article cover image URLbody_content: Full body content of the articletitle: Full article title
⚠️ Error Handling & Retry
During script execution, if an error occurs (such as network fluctuation or task failure), the Agent should follow this logic:
Check the output content:
- If the output contains
"Invalid authorization", it means the API Key is invalid or expired. In this case, do not retry; guide the user to re-check and provide the correct API Key. - If the output does not contain
"Invalid authorization"but the task fails (e.g., output starts withError:or returns an empty result), the Agent should automatically try to execute the script one more time.
- If the output contains
Retry limit:
- Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.
🌟 Typical Use Cases
- Content Monitoring: Track mentions
常见问题
我需要设置日期范围吗?
不需要。日期筛选是可选的。
它只返回文章标题吗?
不是。描述中说明,它会返回完整的文章正文以及其他结构化字段。
我需要密钥吗?
需要。你需要在 BROWSERACT_API_KEY 设置中填写 BrowserAct API 密钥。
详情
作者的原始描述
This skill helps users extract full article contents from WeChat using the BrowserAct API. The Agent should proactively apply this skill when users express needs like finding full WeChat articles for specific keywords, tracking WeChat public accounts for industry trends, extracting WeChat article contents for media research, monitoring public relations on WeChat platforms, collecting competitor updates from WeChat, getting full article body from WeChat links, monitoring brand exposure on WeChat articles, retrieving structured WeChat data for sentiment analysis, summarizing daily news from WeCh
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14316
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。