🦀 ClawHub
Wechat Search
by @jixsonwang
Search WeChat Official Account articles using OpenClaw's web search, Tavily API, and web fetch capabilities with compliance-focused design.
TERMINAL
clawhub install wechat-search📖 About This Skill
name: wechat-search description: Search WeChat Official Account articles using OpenClaw's web search, Tavily API, and web fetch capabilities with compliance-focused design.
WeChat Search Skill
Search for WeChat Official Account (微信公众号) articles using a compliant, three-layer approach that prioritizes legal search APIs and falls back to respectful web scraping when needed.
Features
Prerequisites
web_search, web_fetch tools to be availableUsage
Basic Search
wechat-search "人工智能"
Advanced Options
# Return 10 results instead of default 5
wechat-search "机器学习" --max-results 10Search within past week
wechat-search "大模型" --past-weekCustom date range
wechat-search "AI应用" --from 2026-01-01 --to 2026-02-01JSON output format
wechat-search "开源AI" --output jsonForce specific strategy
wechat-search "最新技术" --strategy tavily_only
Configuration
Create~/.openclaw/wechat-search-config.json to customize behavior:{
"defaultMaxResults": 5,
"maxResultsLimit": 20,
"requestDelayMs": 5000,
"cacheDurationHours": 1,
"userAgent": "OpenClaw-WeChat-Search-Bot/1.0 (+https://github.com/your-username/wechat-search-skill)"
}
Search Strategy Details
Layer 1: OpenClaw Web Search (Brave Search)
site:mp.weixin.qq.com filterLayer 2: Tavily Search API
Layer 3: Direct Web Fetch
Compliance & Ethics
Error Handling
Future Enhancements
This skill is designed to be both useful and responsible, providing access to valuable WeChat Official Account content while respecting platform rules and legal requirements.
💡 Examples
Basic Search
wechat-search "人工智能"
Advanced Options
# Return 10 results instead of default 5
wechat-search "机器学习" --max-results 10Search within past week
wechat-search "大模型" --past-weekCustom date range
wechat-search "AI应用" --from 2026-01-01 --to 2026-02-01JSON output format
wechat-search "开源AI" --output jsonForce specific strategy
wechat-search "最新技术" --strategy tavily_only
⚙️ Configuration
Create ~/.openclaw/wechat-search-config.json to customize behavior:
{
"defaultMaxResults": 5,
"maxResultsLimit": 20,
"requestDelayMs": 5000,
"cacheDurationHours": 1,
"userAgent": "OpenClaw-WeChat-Search-Bot/1.0 (+https://github.com/your-username/wechat-search-skill)"
}