← Back to Skills Marketplace
sunnydou

Ollama Web Search CLI

by SunnyDoy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ⚠ suspicious
121
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install ollama-web-search-cli
Description
使用 Ollama Web Search API 进行网络搜索和网页抓取
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ollama-web-search-cli
  3. After installation, invoke the skill by name or use /ollama-web-search-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug ollama-web-search-cli
Version 1.0.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is Ollama Web Search CLI?

使用 Ollama Web Search API 进行网络搜索和网页抓取. It is an AI Agent Skill for Claude Code / OpenClaw, with 121 downloads so far.

How do I install Ollama Web Search CLI?

Run "/install ollama-web-search-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ollama Web Search CLI free?

Yes, Ollama Web Search CLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ollama Web Search CLI support?

Ollama Web Search CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ollama Web Search CLI?

It is built and maintained by SunnyDoy (@sunnydou); the current version is v1.0.5.

💬 Comments