360 Secure SkillHub
360 安全技能中心

Ollama Web Search

该 Skill 提供网页搜索能力:以搜索关键词为输入,可选用 -n 或 --max-results 指定结果数量,通过 Node 脚本调用 Ollama 的 web_search 接口,并把接口响应以 JSON 形式输出。使用需要 OLLAMA_API_KEY 环境变量与网络访问。

分类:搜索
cndaqiang
cndaqiang
热度 50.54
最近更新 2026-05-11 17:29:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cndaqiang/ollama-web-search
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
ollama-web-search
description
Web search via Ollama API. Returns relevant results from Ollama web search for AI agents.
homepage
https://github.com/QAA-Tools/skills
metadata
{"clawdbot":{"emoji":"🔎","requires":{"bins":["node"],"env":["OLLAMA_API_KEY"]},"primaryEnv":"OLLAMA_API_KEY"}}

Ollama Web Search

Web search using Ollama's web_search API.

Search

node {baseDir}/scripts/search.mjs "query"
node {baseDir}/scripts/search.mjs "query" -n 10
node {baseDir}/scripts/search.mjs "query" --max-results 10

Options

  • -n <count>: Number of results to request (default: 5)
  • --max-results <count>: Same as -n

Notes

  • Needs OLLAMA_API_KEY
  • Outputs Ollama API response as JSON
  • Uses POST https://ollama.com/api/web_search