Local web search without API Key. Supports Bing, DuckDuckGo, Yandex multi-engine search with built-in cache and automatic failover. Use when users need to search for network information, find materials, or query real-time information.
无需API密钥的本地网页搜索技能,支持多引擎自动切换和内置缓存。
当用户提出以下请求时使用此技能:
bash
python3 scripts/search.py -q 关键词
bash
python3 scripts/search.py -q 关键词 -e bing # Bing(默认)
python3 scripts/search.py -q 关键词 -e auto # 自动故障转移
python3 scripts/search.py -q 关键词 -e webfetch # urllib回退
bash
python3 scripts/search.py -q 关键词 -l 5 # 限制结果数量
python3 scripts/search.py -q 关键词 --fast # 快速模式,跳过cookies
python3 scripts/search.py -q 关键词 --no-cache # 跳过缓存
python3 scripts/search.py -q 关键词 -f text # 文本格式输出
python3 scripts/search.py -q 关键词 -o file.json # 输出到文件
python3 scripts/search.py -q 关键词 -v # 详细日志
| 引擎 | 描述 |
|---|---|
| bing | 默认主引擎,支持RSS和HTML双模式 |
| auto |
默认为bing,失败时使用auto。
bash
python3 scripts/search.py --cache-stats # 查看缓存统计
python3 scripts/search.py --cache-clear # 清除缓存
bash
python3 scripts/search.py -q 关键词 -f json
json
{
query: 搜索关键词,
engine: bing,
count: 3,
results: [
{title: 页面标题, url: https://..., snippet: 摘要描述}
],
elapsed_seconds: 0.58
}
bash
python3 scripts/search.py -q 关键词 -f text
搜索:Python编程
引擎:bing
结果:2
============================================================
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 web-search-local-1776128342 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 web-search-local-1776128342 技能
skillhub install web-search-local-1776128342
文件大小: 22.33 KB | 发布时间: 2026-4-17 16:32