websearch
Search Google via the Serper API. Takes a single query. Returns titles, URLs, snippets, and knowledge-graph data.
- License 许可
- MIT
- 最近更新
- 2026-08-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- websearch
- description
- Search Google via the Serper API. Takes a single query. Returns titles, URLs, snippets, and knowledge-graph data.
02 资源文件 3
- 其他pyproject.toml415 B
- 脚本src/websearch/__init__.py71 B
- 脚本src/websearch/websearch.py6.2 KB
03 SKILL.md 正文
Web Search
Search the web via the Serper Google Search API.
Setup
Get a free API key at https://serper.dev, then run /login 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 IPython kernel:
print(await websearch("latest Prime Agent release"))
04 同仓库更多 Skills
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
python-skill
A Python-backed skill for testing.
python-package-missing
A Python skill missing its import package.