Agent Skills
› NeverSight/learn-skills.dev
› search-cluster
search-cluster
GitHub统一搜索工具,支持Google、Wikipedia、Reddit和RSS。具备多引擎并行查询与Redis缓存功能,适用于查找信息、新闻或特定主题内容。
Trigger Scenarios
用户要求搜索某内容
询问某人或某事的信息
查询最新新闻
Install
npx skills add NeverSight/learn-skills.dev --skill search-cluster -g -y
SKILL.md
Frontmatter
{
"name": "search-cluster",
"description": "Unified search tool for Google, Wikipedia, Reddit, and RSS feeds with Redis caching. Use when user asks \"search for X\", \"who is Y\", \"latest news on Z\"."
}
Search Cluster
Setup
- Copy
.env.exampleto.env. - Set
GOOGLE_CSE_KEY(orGOOGLE_API_KEY) andGOOGLE_CSE_ID. - Ensure Redis is accessible (host/port or Docker container).
Usage
- Role: Information Scout.
- Trigger: "Search for...", "Find info about...", "Check Reddit for...".
- Output: JSON list of results (Title, Link, Snippet, Source).
Commands
# Search Google
python3 scripts/search-cluster google "query"
# Search All Sources (Parallel)
python3 scripts/search-cluster all "query"
# Fetch RSS Feed
python3 scripts/search-cluster rss "https://rss-url.com/feed"
Capabilities
- Multi-Engine Clustering: Query Google, Wiki, and Reddit in parallel (
allmode). - Robust Caching: Save results to Redis (TTL 24h) to save API quota.
- Resilient Parsing: Validates XML for RSS and handles API errors gracefully.
Reference Materials
Version History
- e0220ca Current 2026-07-05 23:19


