Token导航 LogoToken导航

Agent Skill · 运维

ollama(Ollama 搜索)

ollama 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ollama 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在运维类的 954 个 Skill 里排第 147。

总安装 24,960周安装 959GitHub Stars 公开资料未说明下载 8,080核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ollama(Ollama 搜索)
来源仓库:https://github.com/ivangdavila/ollama
安装命令:
openclaw skills install ollama
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ollama

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

使用可靠的 API 模式、模型文件、嵌入和硬件感知部署工作流程来运行、调整本地 Ollama 模型并对其进行故障排除。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ollama;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ollama 怎么安装?

在终端执行 openclaw skills install ollama。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ollama 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ollama 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ollama 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ollama 用的人多吗?

公开数据是累计安装 24,960 次,近一周安装 959 次,下载 8,080 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ollama 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
docker-essentials

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
ollama

Ollama 搜索 · 本页

24,960—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
Ollama
slug
ollama
version
1.0.0
homepage
https://clawic.com/skills/ollama
description
Run, tune, and troubleshoot local Ollama models with reliable API patterns, Modelfiles, embeddings, and hardware-aware deployment workflows.
changelog
Initial release with local model setup, stable JSON output, custom model workflows, safer remote access, and recovery playbooks.
metadata
{"clawdbot":{"emoji":"🦙","requires":{"bins":["ollama"],"anyBins":["curl","jq"],"config":["~/ollama/","~/.ollama/"]},"os":["linux","darwin","win32"],"configPaths":["~/ollama/","~/.ollama/"]}}

When to Use

User needs to install, run, integrate, tune, or debug Ollama for local or self-hosted model workflows. Agent handles smoke tests, model selection, API usage, Modelfile customization, embeddings, RAG fit checks, and safe operations.

Use this instead of generic AI advice when the blocker is specific to local runtime behavior: wrong model tag, broken JSON output, poor retrieval, slow inference, context sizing, GPU fallback, or unsafe remote exposure.

Architecture

Memory lives in ~/ollama/. If ~/ollama/ does not exist, run setup.md. See memory-template.md for structure.

~/ollama/
|-- memory.md          # Durable context and activation boundaries
|-- environment.md     # Host, GPU, OS, runtime, and service notes
|-- model-registry.md  # Approved models, tags, quants, and fit notes
|-- modelfiles.md      # Reusable Modelfile patterns and parameter decisions
|-- rag-notes.md       # Embedding choices, chunking, retrieval checks, vector dimensions
`-- incident-log.md    # Repeated failures, fixes, and rollback notes

Quick Reference

Load only the file needed for the current blocker.

TopicFile
Setup guidesetup.md
Memory templatememory-template.md
Install and smoke-test workflowinstall-and-smoke-test.md
Local API and OpenAI-compatible patternsapi-patterns.md
Modelfile creation and context controlmodelfile-workflows.md
Embeddings and local RAG checksembeddings-and-rag.md
Runtime operations and performance tuningoperations-and-performance.md
Failure recovery and incident triagetroubleshooting.md

Requirements

  • Local ollama access on the target machine, or permission to guide installation.
  • Enough RAM, VRAM, and disk for the exact model and context window being proposed.
  • Explicit user approval before exposing Ollama beyond localhost, changing service managers, or deleting model files.
  • Exact model tags and runtime facts must be verified with live commands such as ollama list, ollama ps, and ollama show.

Never assume model capabilities, context length, quantization, or GPU usage from memory alone.

Operating Coverage

This skill is for practical Ollama execution, not abstract local-LLM discussion. It covers:

  • local installs on macOS, Linux, and Windows
  • CLI workflows for pull, run, copy, show, create, and remove
  • REST API usage on http://127.0.0.1:11434/api and OpenAI-compatible usage on /v1
  • hardware-aware model sizing, context tuning, and throughput tradeoffs
  • Modelfile-based customization for prompts, parameters, adapters, and reproducible model names
  • embeddings and local RAG pipelines where indexing, querying, and retrieval must stay consistent

Data Storage

Keep only durable operational context in ~/ollama/:

  • host facts that materially change advice: OS, GPU class, CPU-only constraints, service manager, remote or local deployment
  • approved model tags, copied aliases, quant choices, and context limits that worked in practice
  • Modelfile defaults, JSON output patterns, and safe OpenAI-compatible mappings
  • embedding model choices, vector dimensions, chunking defaults, and retrieval checks
  • recurring failures such as partial pulls, CPU fallback, port conflicts, or broken upgrades

Core Rules

1. Verify the Runtime Before Giving Advice

  • Confirm ollama is installed and reachable before proposing any deeper fix.
  • Start with the smallest factual checks: ollama --version, ollama list, ollama ps, and one minimal generation or /api/tags request.
  • Treat "it runs" and "it runs correctly" as different states.

2. Pin Exact Model Names and Inspect Them Live

  • Use exact tags, not vague family names, for anything reproducible or production-adjacent.
  • Inspect the real model with ollama show or /api/show before claiming context length, quantization, or capabilities.
  • Avoid silent drift from floating tags when stability matters.

3. Separate Runtime, Modelfile, and App Prompt Responsibilities

  • Debug local behavior in layers: runtime first, then model definition, then application prompt.
  • If output quality changed, check whether SYSTEM, TEMPLATE, or PARAMETER settings in the Modelfile are fighting the app prompt.
  • Put durable defaults in a named model, not in ad hoc copy-pasted prompts.

4. Choose Models by Hardware and Latency Budget

  • A model that technically loads but falls back to CPU or swaps memory is not a good fit.
  • Use ollama ps to confirm processor split before promising performance.
  • Keep separate defaults for chat, coding, extraction, vision, and embeddings instead of forcing one model to do everything.

5. Make API and Structured Output Flows Deterministic

  • Prefer non-streaming responses when the next step needs strict parsing.
  • Use format: "json" or a JSON schema, set low temperature, and validate the parsed result before taking downstream actions.
  • For OpenAI-compatible clients, verify /v1 assumptions instead of assuming every feature maps 1:1.

6. Treat Embeddings and RAG as a Single System

  • Use the same embedding model for indexing and querying unless you intentionally migrate and re-index.
  • Inspect retrieved chunks before blaming the model for weak answers.
  • Fix chunking, metadata, top-k, and vector dimensions before increasing prompt size.

7. Treat Remote Access and Upgrades as Operational Changes

  • Do not bind Ollama to non-localhost or open port 11434 without explicit approval and a minimal-risk network plan.
  • Record service manager changes, environment variables, and rollback steps before upgrading.
  • Protect model storage and disk headroom before large pulls or replacements.

Ollama Traps

  • Using latest everywhere -> upgrades silently change behavior and break reproducibility.
  • Testing only with ollama run -> app integration still fails on /api or /v1.
  • Assuming slow responses mean "bad model" -> often it is CPU fallback, oversized context, or disk pressure.
  • Letting app prompts and Modelfile instructions fight each other -> outputs become inconsistent and hard to debug.
  • Re-indexing with one embedding model and querying with another -> retrieval quality collapses without obvious errors.
  • Exposing the API on a LAN without auth or scoping -> local convenience becomes a security problem.
  • Chasing larger context before fixing retrieval or prompt shape -> memory use rises while answer quality barely improves.

External Endpoints

Use external network access only when the task requires model downloads, official docs lookup, or optional cloud execution explicitly approved by the user.

EndpointData SentPurpose
https://ollama.com/*model identifiers, optional doc queries, and optional cloud API requestsOfficial docs, library lookups, model pulls managed by the Ollama runtime, and optional cloud execution

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • model identifiers and download requests when pulling models through Ollama
  • optional prompts and attachments only if the user explicitly chooses https://ollama.com/api instead of local inference
  • optional documentation lookups against official Ollama pages

Data that stays local:

  • prompts and outputs served through the local Ollama runtime on the user machine
  • durable workflow notes under ~/ollama/
  • local Modelfiles, retrieval notes, and performance baselines unless the user exports them

This skill does NOT:

  • expose Ollama remotely without explicit approval
  • store OLLAMA_API_KEY or other secrets in skill files
  • mix local and cloud execution silently
  • invent unsupported model features, GPU behavior, or API compatibility
  • recommend remote installers or destructive cleanup without explaining risk first

Trust

By using this skill, model pulls and optional cloud requests may go to Ollama infrastructure when the user explicitly chooses those paths. Only install if you trust Ollama with that data.

Scope

This skill ONLY:

  • installs, verifies, operates, and troubleshoots Ollama workflows
  • helps choose, pin, inspect, and customize models with reproducible patterns
  • keeps local memory for host constraints, model defaults, and recurring failure fixes

This skill NEVER:

  • claim that every Ollama model supports the same tools, context, or JSON reliability
  • recommend unauthenticated remote exposure as a default
  • treat local RAG quality as solved without checking embeddings, chunking, and retrieval results
  • modify its own skill files

Related Skills

Install with clawhub install <slug> if user confirms:

  • ai - Frame when local Ollama is the right fit versus cloud inference.
  • models - Compare local model families, sizes, and capability tradeoffs before pinning defaults.
  • api - Reuse robust HTTP request, retry, and parsing patterns around local services.
  • embeddings - Extend vector search and chunking strategy beyond the Ollama runtime itself.
  • langchain - Integrate Ollama into multi-step chains, agents, and retrieval pipelines.

Feedback

  • If useful: clawhub star ollama
  • Stay updated: clawhub sync

平台分布

OpenClaw

78.78%
按下载量换算6,365

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills