Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add znlgis/opengis-skills --skill ollamagit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/znlgis/opengis-skills/ollama)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/ollama"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/ollama/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/ollama"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/ollama.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.06041 |
| Opus 5.5 | $0.00050 | $0.02416 |
| Sonnet 5.5 | $0.00025 | $0.01208 |
| Haiku 4.5 | $0.00012 | $0.00604 |
Grade E, and why
ollama scanned grade E with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
resp = requests.post( "http://localhost:11434/api/chat", Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo systemctl edit ollama.service Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://ollama.com/install.sh | sh Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://ollama.com/install.sh | sh How it starts
The opening of the file, as written. The whole thing — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/ollama/ollama
官方文档: https://docs.ollama.com/(仓库文档目录:https://github.com/ollama/ollama/tree/main/docs)
许可证: MIT
最新版本: v0.40.16(截至 2026-11,实测
releases/latest重定向;2026-11-09 发布,v0.40.17 仍为-rc0预发布;见 GitHub Releases)npm SDK:
ollama(0.6.4,实测 npm registry)
v0.40.16 变化(可选读):新增 Ripple Preview(65B 稠密模型,面向 agentic coding,
ollama run ripple-preview);Qwen3.8 Flash Next 在 Apple silicon 上少占约 27 GiB 内存;ollama launch claude总是把 Claude Code 路由到所选模型;/v1/responses遵守 truncation、不再静默截断;/v1/models无模型时返回空数组而非 null;支持 Windows on ARM 的 CUDA 13.5。
概述
Ollama 是本地运行与管理大语言模型的开源工具,用 Modelfile 把模型权重、提示词模板与运行参数打包成可复用的本地模型。服务默认监听 127.0.0.1:11434,自动检测 NVIDIA CUDA、AMD ROCm、Apple Metal、Vulkan 并调度 GPU 加速。除原生 REST API 外还提供 OpenAI 兼容层,现有 OpenAI SDK 代码可基本零改动切换到本地模型。支持文本生成、多模态输入、工具调用、结构化输出与嵌入向量。
- 模型管理:pull / ls / ps / rm / cp / create,模型库覆盖 Llama、Qwen、DeepSeek、Gemma、gpt-oss 等
- Modelfile:FROM / PARAMETER / SYSTEM / TEMPLATE / MESSAGE,定义私有模型
- REST API:
/api/generate、/api/chat、/api/embed、/api/tags、/api/ps、/api/pull等,默认 NDJSON 流式 - OpenAI 兼容:
/v1/chat/completions、/v1/completions、/v1/embeddings、/v1/models、/v1/responses - GPU 加速:CUDA / ROCm / Metal / Vulkan 自动调度,多卡按显存分摊
- 性能调优:num_ctx、num_gpu、keep_alive 与一组
OLLAMA_*环境变量
环境准备
方式一:Linux / macOS 一键脚本
curl -fsSL https://ollama.com/install.sh | sh
方式二:Windows(PowerShell)
irm https://ollama.com/install.ps1 | iex
方式三:Docker
# CPU
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
# NVIDIA GPU
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
# AMD GPU(ROCm 镜像)
docker run -d --device /dev/kfd --device /dev/dri -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama:rocm
# 在容器内运行模型
docker exec -it ollama ollama run llama3.2
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 19d ago Changed · +5 lines 503eaf265f73
- 21d ago Changed · -6 lines fc2602bde58f
- 1mo ago Changed · +1 lines · +41 tokens per session fc520433f2e0
- 1mo ago First seen · 450 lines · 83 tokens per session scan E 44c6b2b0a25e
ollama is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 124 tokens to every session and 6,041 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it E with 4 findings (sends data to an external url, asks for root, downloads and executes remote code). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.
ollama compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ollamaznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | E | 124 | Claude Code, Codex |
| agent-platform-model-registrygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-evaluationsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 25 | Claude Code |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 35 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 30 | Claude Code |