← 返回 Skills 市场
newolf20000

Ollama Updater

作者 newolf20000 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
755
总下载
2
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install ollama-updater
功能描述
Ollama Updater installs or updates Ollama with curl-based breakpoint resume, auto-retry, progress display, old version cleanup, and GPU driver detection.
安全使用建议
This package appears to be an Ollama installer and its shell script behavior (resumable curl, extraction, systemd, user/group changes) is coherent with that purpose — but there are multiple red flags you should resolve before installing: 1) The manifest/docs reference files (main.py, CLI wrapper) that are not present; SKILL.md even shows 'bash .../main.py' which is wrong. This indicates sloppy packaging and increases risk of user/agent confusion. 2) The installer runs as root and will create users, write to /usr/local and /etc/systemd — review the script content (ollama-install.sh) line-by-line to confirm it only downloads from trusted hosts (ollama.com, GitHub) and makes expected changes. 3) Prefer to verify download integrity (checksums or signatures) for the Ollama binaries it fetches; consider running the script in a container or VM first if you’re unsure. 4) If you intend to let an agent invoke this skill autonomously, restrict that until you confirm the missing files and documentation inconsistencies are resolved. If you want, provide the missing files (main.py, wrapper) or a trustworthy upstream repository URL and I can re-evaluate with higher confidence.
功能分析
Type: OpenClaw Skill Name: ollama-updater Version: 1.0.1 The skill's primary purpose is to install/update Ollama with resumable downloads, which is a legitimate function. However, the `ollama-install.sh` script is vulnerable to shell injection. The `OLLAMA_VERSION` environment variable, intended for specifying Ollama versions, is directly interpolated into a `curl` command's URL without proper sanitization. This allows for potential Remote Code Execution (RCE) if an attacker can control the `OLLAMA_VERSION` input, making the skill suspicious due to this critical vulnerability.
能力评估
Purpose & Capability
The stated purpose (install/update Ollama with resumable curl downloads) aligns with the included shell script (ollama-install.sh) and uses expected endpoints (ollama.com, GitHub raw URLs). However package metadata and docs claim additional files (main.py, a CLI wrapper 'ollama-updater', package.json 'bin' target) that are not present in the provided file manifest — this is a packaging/documentation mismatch.
Instruction Scope
SKILL.md and other docs instruct the agent/user to run commands that require root (sudo), create systemd units, add users/groups, and modify /usr/local/bin — all expected for an installer but high‑impact. More importantly, SKILL.md shows incorrect/ambiguous run instructions (e.g. 'bash /path/to/ollama-updater/main.py' — running bash on a .py and referencing main.py which is not present in the manifest), which is inconsistent and could lead an agent to attempt to run non-existent files or the wrong interpreter.
Install Mechanism
This is an instruction-only skill (no automated install spec). The script itself downloads from known domains (https://ollama.com and GitHub raw URLs) rather than obscure hosts. The script will write files and create systemd units when executed (expected for an installer), but there is no opaque third‑party binary download host or URL shortener in the provided content.
Credentials
No secrets or unrelated environment variables are requested. The script supports optional environment variables (OLLAMA_VERSION, OLLAMA_NO_START) but these are benign and documented. The SKILL.md does not declare these in a formal requires.env list, so the agent might not surface them clearly to users.
Persistence & Privilege
The installer intentionally requests elevated privileges (sudo/root) to install binaries, create a system user, and configure a systemd service — appropriate for a system service installer but high privilege. The skill is not always-enabled and does not request permanent automatic inclusion, which limits autonomous reach, but running it will modify system-wide settings and services.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ollama-updater
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ollama-updater 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Bug 修复:增强 CLI 包装器错误检测,添加路径验证和清晰的错误提示
v1.0.0
初始版本 - 支持断点续传的 Ollama 安装工具
元数据
Slug ollama-updater
版本 1.0.1
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Ollama Updater 是什么?

Ollama Updater installs or updates Ollama with curl-based breakpoint resume, auto-retry, progress display, old version cleanup, and GPU driver detection. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 755 次。

如何安装 Ollama Updater?

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

Ollama Updater 是免费的吗?

是的,Ollama Updater 完全免费(开源免费),可自由下载、安装和使用。

Ollama Updater 支持哪些平台?

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

谁开发了 Ollama Updater?

由 newolf20000(@newolf20000)开发并维护,当前版本 v1.0.1。

💬 留言讨论