← 返回 Skills 市场
sunnydou

Ollama Web Search CLI

作者 SunnyDoy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ⚠ suspicious
121
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install ollama-web-search-cli
功能描述
使用 Ollama Web Search API 进行网络搜索和网页抓取
安全使用建议
What to consider before installing: - The script and SKILL.md require OLLAMA_API_KEY, but the registry metadata lists no required env vars — verify with the skill author or registry whether the package should declare that secret requirement. Do not rely on registry metadata alone. - Confirm the endpoints (https://ollama.com/api/web_search and /api/web_fetch) are legitimate for your account; test with a low-privilege or ephemeral key first and avoid using high-privilege credentials. - The package source/homepage is missing/unknown. Prefer skills that publish a maintainer homepage or repository so you can audit updates and provenance. - Because this skill will send requested URLs and queries to an external API, do not use it with sensitive URLs or confidential queries unless you trust the Ollama account and have confirmed the privacy/retention policy. - If you proceed: supply the minimal-scoped API key, monitor its usage, and rotate the key after testing. If the registry metadata is updated to explicitly declare OLLAMA_API_KEY and the skill source is verified, this would reduce the concern.
功能分析
Type: OpenClaw Skill Name: ollama-web-search-cli Version: 1.0.5 The ollama-web-search-cli skill is a well-implemented tool for performing web searches and fetching content via the Ollama API. The main script, `ollama-web-search.sh`, demonstrates good security practices, including input validation for query and URL lengths, protocol checks (HTTPS/HTTP), and a `safe_error` function that redacts the OLLAMA_API_KEY from error logs. It safely handles JSON processing using inline Python scripts to prevent shell injection, and its behavior strictly aligns with the documented purpose.
能力评估
Purpose & Capability
The skill name/description (Ollama web search/fetch) matches what the script and SKILL.md do: POST to Ollama web_search and web_fetch endpoints. However the registry metadata lists no required env vars/credentials while SKILL.md and the bundled script both require OLLAMA_API_KEY — this mismatch is unexpected.
Instruction Scope
Runtime instructions and the shell script limit themselves to constructing JSON, calling Ollama API endpoints with curl, parsing JSON with python3, and printing results. The script validates inputs (length, URL scheme), redacts the API key in error messages, and uses a temp dir; it does not attempt to read unrelated files or other environment variables.
Install Mechanism
No install spec is provided (instruction-only packaging) and the included shell script is executed directly. No downloads from third-party URLs or archive extraction are performed by the skill itself.
Credentials
The SKILL.md and the script explicitly require OLLAMA_API_KEY (used as an Authorization: Bearer header). The registry-level metadata in the provided package claims no required environment variables or primary credential — this inconsistency could lead to the platform failing to surface the secret requirement or to users being surprised when a credential is requested. Otherwise, the number and type of env vars requested (a single API key) is proportionate to the stated purpose.
Persistence & Privilege
The skill does not request always:true, has no special OS or persistent privileges, and does not modify other skills or system-wide settings. It runs as an on-demand CLI invocation, which is appropriate.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ollama-web-search-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ollama-web-search-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Enhanced metadata: proper credential declaration and env var documentation
v1.0.0
Initial release: Ollama Web Search API wrapper with secure input handling
v1.0.2
Security: remove config file reading, require env var only
v1.0.1
Security: add input validation and JSON escaping
元数据
Slug ollama-web-search-cli
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Ollama Web Search CLI 是什么?

使用 Ollama Web Search API 进行网络搜索和网页抓取. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 Ollama Web Search CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ollama-web-search-cli」即可一键安装,无需额外配置。

Ollama Web Search CLI 是免费的吗?

是的,Ollama Web Search CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ollama Web Search CLI 支持哪些平台?

Ollama Web Search CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ollama Web Search CLI?

由 SunnyDoy(@sunnydou)开发并维护,当前版本 v1.0.5。

💬 留言讨论