← 返回
安全合规 中文

Wechat Search Release

Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.
使用 OpenClaw 的网络搜索与抓取功能检索微信公众号文章,符合合规设计。
jixsonwang
安全合规 clawhub v1.0.3 1 版本 99669.2 Key: 无需
★ 3
Stars
📥 1,748
下载
💾 242
安装
1
版本
#latest

概述

WeChat Search Skill

Search for WeChat Official Account (微信公众号) articles using a compliant, two-layer approach that prioritizes legal search APIs and falls back to respectful web scraping when needed.

Features

  • Compliant Design: Prioritizes legal search APIs, respects robots.txt and rate limits
  • Two-Layer Strategy:
  • Primary: Web search with site:mp.weixin.qq.com filter
  • Fallback: Direct page fetching with proper delays and headers
  • Recent Results: Returns the 5 most recent articles by default (configurable)
  • Time Filtering: Support for date range and recency filters
  • Multiple Output Formats: Text, JSON, and markdown formats available

Prerequisites

  • OpenClaw Web Tools: Requires web_search and web_fetch tools to be available
  • Tavily API Key (optional): For enhanced search capabilities via Tavily integration

Usage

Basic Search

wechat-search "人工智能"

Advanced Options

# Return 10 results instead of default 5
wechat-search "机器学习" --max-results 10

# Search within past week
wechat-search "大模型" --past-week

# Custom date range
wechat-search "AI应用" --from 2026-01-01 --to 2026-02-01

# JSON output format
wechat-search "开源AI" --output json

# Force web fetch strategy
wechat-search "最新技术" --strategy web_fetch

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)"
}

Compliance & Ethics

  • Respects robots.txt: Checks and follows robots.txt directives
  • Rate limiting: Minimum 5-second delay between requests
  • Transparent identification: Clear User-Agent string identifying the bot
  • Public content only: Only accesses publicly available articles
  • No data retention: Does not store full article content, only metadata

Error Handling

  • Automatic retry on network failures (up to 3 attempts)
  • Graceful fallback between search strategies
  • Clear error messages for debugging

Future Enhancements

  • RSS feed integration support
  • Article content summarization
  • Author/subscription management
  • Enhanced filtering options

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.

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-28 22:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Aliyun Asr

jixsonwang
纯阿里云ASR技能,用于语音消息转录,支持飞书等多渠道。
★ 2 📥 2,863
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,150
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,699