Websearch
ResearchwebsearchWebsearch is an Agent Skill for research published in the ZimoLiao/scholaraio repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when the user needs current web results, recent information, source discovery, live Bing search, or GUILessBingSearch MCP search_bing support before ScholarAIO ingestion.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ZimoLiao/scholaraio/blob/HEAD/.claude/skills/websearch/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/websearch, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
websearch — 实时网页搜索
通过本地或远端 GUILessBingSearch 服务执行实时 Bing 搜索,获取互联网最新信息。
优先使用 MCP search_bing tool;HTTP /search 保留为兼容 fallback。
前置要求
-
安装并启动 GUILessBingSearch 服务:
# 安装 git clone https://github.com/wszqkzqk/GUILessBingSearch cd GUILessBingSearch pip install -r requirements.txt # 启动服务 python guiless_bing_search.py -
服务默认运行在
http://127.0.0.1:8765 -
推荐 MCP endpoint 为
http://127.0.0.1:8765/mcp
用法
# 基本搜索
scholaraio websearch "深度学习 congestion control"
# 指定结果数量
scholaraio websearch "transformer architecture" --count 20
配置
推荐在 config.yaml 中配置 MCP:
websearch:
transport: mcp
mcp_url: http://127.0.0.1:8765/mcp
api_key: null # 如服务配置了认证
mcp_tool: search_bing
HTTP 兼容配置:
websearch:
transport: http
base_url: http://127.0.0.1:8765
api_key: null # 如服务配置了认证
或通过环境变量:
export WEBSEARCH_TRANSPORT=mcp
export WEBSEARCH_MCP_URL=http://127.0.0.1:8765/mcp
export WEBSEARCH_URL=http://127.0.0.1:8765
export WEBSEARCH_API_KEY=your_key
输出示例
找到 10 条结果('深度学习 congestion control'):
[1] On the Design of High-throughput Congestion Control
https://example.com/paper1
深度学习方法在拥塞控制中的应用...
[2] Learning-based Congestion Control Survey
https://example.com/paper2
本文综述了基于学习的拥塞控制算法...
与其他功能配合
搜索结果可用于:
- 发现新的研究论文和 arXiv 链接
- 获取最新技术动态
- 验证本地知识库的信息完整性
- 为文献综述补充最新资料
故障排除
服务不可用
搜索服务未启动或不可达: http://127.0.0.1:8765
解决方案:
- 确认 GUILessBingSearch 服务已启动
- 检查端口是否被占用
- MCP 模式下确认
/mcpendpoint 可访问,tool 名为search_bing - HTTP fallback 下验证
config.yaml中的websearch.base_url配置