‹ 首页

wechat-article-search-api-skill

@browser-act · 收录于 1 周前 · 上游提交 2 天前

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 WeChat, getting author and publication date for WeChat articles, or automating WeChat content extraction without scraping.

适合你,如果需要从微信公众号批量获取文章全文用于分析或监控。

/ 下载安装
wechat-article-search-api-skill.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add browser-act/skills/wechat-article-search-api-skill
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- browser-act/skills/wechat-article-search-api-skill
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify browser-act/skills/wechat-article-search-api-skill
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
4386GitHub stars
~1.2K最小装载
~2K含声明引用
~2K文本包总量
镜像托管

怎么用

商店整理自技能原文 · 版本 51daea1 · 表述以原文为准
它做什么

安装后,Claude 能根据关键词搜索微信公众号文章,并提取完整正文、标题、作者、发布日期等信息。

什么时候触发

当用户需要查找特定关键词的微信文章、追踪公众号动态、或提取微信文章内容时触发。

装好后可以这样说
Claude 会调用技能搜索并返回文章列表。
Claude 会按日期过滤并返回结果。
技能原文 SKILL.md作者撰写 · MIT · 51daea1

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
  1. No hallucinations, ensuring stable and precise data extraction: Pre-configured workflows avoid AI-generated hallucinations.
  2. No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP restrictions or geo-blocking: No need to handle regional IP limitations.
  4. Faster execution: Task execution is faster compared to pure AI-driven browser automation solutions.
  5. 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:

  1. keywords (Search Keywords)
  2. Type: string
  3. Description: Search keywords used to find WeChat articles. Can be an industry term, topic, or specific phrase.
  4. Example: openclaw, AI agent, browser automation
  1. Date_limit (Extraction Limit)
  2. Type: number
  3. Description: Maximum number of articles to extract. For the first run, a smaller default value is recommended.
  4. Default Value: 10
  5. Suggestions: Use 5 to 10 for quick testing, larger numbers for batch research.
  1. publication_date (Publication Date Filter)
  2. Type: string
  3. Description: Filter articles by their publication date.
  4. Example: 3月11日, March 10, 2026-03-11
🚀 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 URL
  • publication_date: Article publication date
  • author: Article author or publishing account name
  • image_url: Main image URL or article cover image URL
  • body_content: Full body content of the article
  • title: 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:

  1. Check the output content:
  2. 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.
  3. If the output does not contain "Invalid authorization" but the task fails (e.g., output starts with Error: or returns an empty result), the Agent should automatically try to execute the script one more time.
  1. Retry limit:
  2. 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
  1. Content Monitoring: Track mentions of specific brands or topics across WeChat articles.
  2. Media Research: Analyze full text of articles published by top WeChat accounts.
  3. Trend Tracking: Collect articles about rising industry trends (e.g., AI agents) for comprehensive reading.
  4. Knowledge Base Building: Extract deep-dive articles into an internal repository.
  5. Competitor Analysis: Review full-length posts released by competitor accounts.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。