websearch

GitHub

通过 Serper API 执行 Google 网络搜索,返回标题、URL、摘要及知识图谱数据。支持配置超时和结果数量,适用于需要实时获取互联网信息的场景。

packages/coding-agent/skills/websearch/SKILL.md PrimeIntellect-ai/prime-agent

触发场景

需要查询最新信息 需要搜索网页内容

安装

npx skills add PrimeIntellect-ai/prime-agent --skill websearch -g -y
更多选项

非标准路径

npx skills add https://github.com/PrimeIntellect-ai/prime-agent/tree/main/packages/coding-agent/skills/websearch -g -y

不安装直接使用

npx skills use PrimeIntellect-ai/prime-agent@websearch

指定 Agent (Claude Code)

npx skills add PrimeIntellect-ai/prime-agent --skill websearch -a claude-code -g -y

安装 repo 全部 skill

npx skills add PrimeIntellect-ai/prime-agent --all -g -y

预览 repo 内 skill

npx skills add PrimeIntellect-ai/prime-agent --list

SKILL.md

Frontmatter
{
    "name": "websearch",
    "description": "Search Google via the Serper API. Configure access via \/login, then MCP Connections, 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 /login in Prime Agent, switch to MCP Connections, 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"))

版本历史

  • bc0fa76 当前 2026-08-27 09:01

同 Skill 集合

packages/coding-agent/skills/agent-message/SKILL.md
packages/coding-agent/skills/agent-observe/SKILL.md
packages/coding-agent/skills/attach-image/SKILL.md
packages/coding-agent/skills/compact/SKILL.md
packages/coding-agent/skills/edit/SKILL.md
packages/coding-agent/skills/goal/SKILL.md
packages/coding-agent/skills/linear/SKILL.md
packages/coding-agent/skills/notion/SKILL.md
packages/coding-agent/skills/prime-intellect/SKILL.md
packages/coding-agent/skills/refine/SKILL.md
packages/coding-agent/skills/rlm-heartbeat/SKILL.md
packages/coding-agent/skills/skill-creator/SKILL.md
packages/coding-agent/examples/extensions/dynamic-resources/SKILL.md

元信息

文件数
0
版本
bc0fa76
Hash
039ab81c
收录时间
2026-08-27 09:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 21:54
浙ICP备14020137号-1 $访客地图$