← 返回 Skills 市场
ayflying

Ollama

作者 乔焰阳 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
186
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install ollama-2
功能描述
Ollama 本地大模型调用技能。支持通过 API 与 Ollama 实例交互进行文本生成。 Use when: (1) 需要调用本地或远程 Ollama 模型 (2) 需要执行 LLM 推理任务 (3) 需要通过 Python 脚本与特定 Ollama 实例 (如 qwen3.5:9b) 交互。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ollama-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ollama-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug ollama-2
版本 0.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Ollama 是什么?

Ollama 本地大模型调用技能。支持通过 API 与 Ollama 实例交互进行文本生成。 Use when: (1) 需要调用本地或远程 Ollama 模型 (2) 需要执行 LLM 推理任务 (3) 需要通过 Python 脚本与特定 Ollama 实例 (如 qwen3.5:9b) 交互。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 186 次。

如何安装 Ollama?

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

Ollama 是免费的吗?

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

Ollama 支持哪些平台?

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

谁开发了 Ollama?

由 乔焰阳(@ayflying)开发并维护,当前版本 v0.1.0。

💬 留言讨论