← Back to Skills Marketplace
186
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install ollama-2
Description
Ollama 本地大模型调用技能。支持通过 API 与 Ollama 实例交互进行文本生成。 Use when: (1) 需要调用本地或远程 Ollama 模型 (2) 需要执行 LLM 推理任务 (3) 需要通过 Python 脚本与特定 Ollama 实例 (如 qwen3.5:9b) 交互。
Usage Guidance
This skill appears to be a straightforward Ollama HTTP client. Before installing or running: (1) inspect and, if necessary, change the default OLLAMA_HOST — the provided default uses an unusual IP (http://100.66.1.2:11434) which may not be what you expect; (2) ensure you run it against a trusted Ollama instance (local or remote) because the script will send prompts to that host; (3) note the SKILL.md mentions a .env.example that wasn't included in the manifest — create or verify your .env to supply OLLAMA_HOST/OLLAMA_MODEL as needed; (4) install only the Python packages you trust (requests, optional python-dotenv); and (5) as with any third-party skill, review the scripts yourself if you plan to run them with sensitive input or in an environment with access to internal networks.
Capability Analysis
Type: OpenClaw Skill
Name: ollama-2
Version: 0.1.0
The skill provides a standard interface for interacting with an Ollama LLM API. The core logic in `scripts/ollama_query.py` is well-implemented with proper error handling and retry logic, and it contains no evidence of data exfiltration, malicious execution, or prompt injection. While it uses a specific internal IP address (100.66.1.2) as a default host, this appears to be a configuration preference rather than a malicious indicator.
Capability Assessment
Purpose & Capability
The name/description state an Ollama client and the code implements exactly that: it issues POSTs to an Ollama /api/generate endpoint, supports setting host/model via environment variables, and includes a connectivity test. The declared requirements (none) are plausible for an instruction-only skill that expects the host to be provided or the service to run locally.
Instruction Scope
SKILL.md instructs use of the provided Python scripts and references an .env.example for env-based configuration. The scripts only read OLLAMA_HOST and OLLAMA_MODEL (and optionally load a .env via python-dotenv if available). There is no code reading unrelated system files or exfiltrating data. Note: SKILL.md lists .env.example in the tree, but the provided file manifest does not include it — small documentation / packaging mismatch.
Install Mechanism
No install spec is present; the skill is instruction + scripts only. That minimizes install-time risk (nothing is downloaded or installed by the skill itself). The scripts rely on standard Python libraries and requests; dotenv is optional.
Credentials
The skill requests no required environment variables in metadata, but the code uses OLLAMA_HOST and OLLAMA_MODEL (with defaults). This is proportionate to an HTTP client for Ollama. One item to review: the default OLLAMA_HOST is a hardcoded IP (http://100.66.1.2:11434) rather than localhost or empty, which is unusual and should be validated before running in your environment.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not modify agent/system configuration. It will only run when invoked and does not grant itself elevated platform privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ollama-2 - After installation, invoke the skill by name or use
/ollama-2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the Ollama skill for local LLM inference.
- Supports interaction with Ollama models via API for text generation.
- Allows customizing the host, model name, and prompt.
- Includes example scripts for querying models and connectivity testing.
- Provides detailed usage instructions and environment setup guidance.
Metadata
Frequently Asked Questions
What is Ollama?
Ollama 本地大模型调用技能。支持通过 API 与 Ollama 实例交互进行文本生成。 Use when: (1) 需要调用本地或远程 Ollama 模型 (2) 需要执行 LLM 推理任务 (3) 需要通过 Python 脚本与特定 Ollama 实例 (如 qwen3.5:9b) 交互。 It is an AI Agent Skill for Claude Code / OpenClaw, with 186 downloads so far.
How do I install Ollama?
Run "/install ollama-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ollama free?
Yes, Ollama is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ollama support?
Ollama is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ollama?
It is built and maintained by 乔焰阳 (@ayflying); the current version is v0.1.0.
More Skills