websearch
GitHub通过 Serper API 执行网络搜索,返回标题、URL、摘要及知识图谱数据。支持配置超时和结果数量,用于获取实时互联网信息。
Trigger Scenarios
Install
npx skills add PrimeIntellect-ai/prime-agent --skill websearch -g -y
SKILL.md
Frontmatter
{
"name": "websearch",
"description": "Search Google via the Serper API. Configure access via \/mcp, then Serper (web search). Takes one query and returns titles, URLs, snippets, and knowledge-graph data."
}
Web Search
Search the web via the Serper Google Search API.
Setup
Get a free API key at https://serper.dev, then run /mcp in Prime Agent and
choose Serper (web search) to paste it.
The key is stored in Prime Agent and made available to this skill automatically.
If web search reports a missing key, walk the user through those two steps; don't ask them to set environment variables.
Optional overrides (environment variables):
PRIME_AGENT_WEBSEARCH_TIMEOUT- HTTP timeout in seconds (default 45).PRIME_AGENT_WEBSEARCH_NUM_RESULTS- number of organic results to return (default 5).
Usage
Call the prepared websearch import directly in the Python kernel:
print(await websearch("latest Prime Agent release"))
Version History
- 7cbffa7 Current 2026-10-18 17:11


