據 AlphaMoat 統計,截至 2026-10,Ollama Local 累計下載 16,582 次、獲 13 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 1,702 位,在「AI 智慧體」分類(1,632 個)中排名第 236 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 7533 | 11 | - |
| SkillHub ↗ | 1.7萬 | 13 | — |
各平台的計數口徑不同,統計時間不一致。
這個技能是做什麼的
管理本地 Ollama 模型並用於對話、補全、嵌入和工具呼叫,也介紹 OpenClaw 子代理整合與模型選擇。可用能力取決於本機已安裝模型及資源;拉取或刪除模型前檢查名稱與儲存空間。
資料釋出於 2026-10-27
可以用來做什麼
- 管理本地模型和推理任務
- 使用本地模型生成嵌入或呼叫工具
什麼時候用
- 需要在本機執行 Ollama 模型時
- 下載或刪除模型前
示例提示詞
以下是根據技能文件生成的示例,不代表實際執行結果。
月度資料趨勢
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 1.7萬 | — | 13 |
| 2026-09 | 7309 | — | 11 |
| 2026-08 | 8701 | +25.0% | 13 |
| 2026-07 | 6962 | -15.9% | 11 |
| 2026-06 | 8275 | +2.9% | 12 |
| 2026-05 | 8039 | — | 11 |
| 2026-03 | 6819 | — | 10 |
SKILL.md 原文
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: ollama-local description: Manage and use local Ollama models. Use for model management (list/pull/remove), chat/completions, embeddings, and tool-use with local LLMs. Covers OpenClaw sub-agent integration and model selection guidance. --- # Ollama Local Work with local Ollama models for inference, embeddings, and tool use. ## Configuration
展開全部(共 149 行)收起
Set your Ollama host (defaults to `http://localhost:11434`):
```bash
export OLLAMA_HOST="http://localhost:11434"
# Or for remote server:
export OLLAMA_HOST="http://192.168.1.100:11434"
```
## Quick Reference
```bash
# List models
python3 scripts/ollama.py list
# Pull a model
python3 scripts/ollama.py pull llama3.1:8b
# Remove a model
python3 scripts/ollama.py rm modelname
# Show model details
python3 scripts/ollama.py show qwen3:4b
# Chat with a model
python3 scripts/ollama.py chat qwen3:4b "What is the capital of France?"
# Chat with system prompt
python3 scripts/ollama.py chat llama3.1:8b "Review this code" -s "You are a code reviewer"
# Generate completion (non-chat)
python3 scripts/ollama.py generate qwen3:4b "Once upon a time"
# Get embeddings
python3 scripts/ollama.py embed bge-m3 "Text to embed"
```
## Model Selection
See [references/models.md](references/models.md) for full model list and selection guide.
**Quick picks:**
- Fast answers: `qwen3:4b`
- Coding: `qwen2.5-coder:7b`
- General: `llama3.1:8b`
- Reasoning: `deepseek-r1:8b`
## Tool Use
Some local models support function calling. Use `ollama_tools.py`:
```bash
# Single request with tools
python3 scripts/ollama_tools.py single qwen2.5-coder:7b "What's the weather in Amsterdam?"
# Full tool loop (model calls tools, gets results, responds)
python3 scripts/ollama_tools.py loop qwen3:4b "Search for Python tutorials and summarize"
# Show available example tools
python3 scripts/ollama_tools.py tools
```
**Tool-capable models:** qwen2.5-coder, qwen3, llama3.1, mistral
## OpenClaw Sub-Agents
Spawn local model sub-agents with `sessions_spawn`:
```python
# Example: spawn a coding agent
sessions_spawn(
task="Review this Python code for bugs",
model="ollama/qwen2.5-coder:7b",
label="code-review"
)
```
Model path format: `ollama/<model-name>`
### Parallel Agents (Think Tank Pattern)
Spawn multiple local agents for collaborative tasks:
```python
agents = [
{"label": "architect", "model": "ollama/gemma3:12b", "task": "Design the system architecture"},
{"label": "coder", "model": "ollama/qwen2.5-coder:7b", "task": "Implement the core logic"},
{"label": "reviewer", "model": "ollama/llama3.1:8b", "task": "Review for bugs and improvements"},
]
for a in agents:
sessions_spawn(task=a["task"], model=a["model"], label=a["label"])
```
## Direct API
For custom integrations, use the Ollama API directly:
```bash
# Chat
curl $OLLAMA_HOST/api/chat -d '{
"model": "qwen3:4b",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'
# Generate
curl $OLLAMA_HOST/api/generate -d '{
"model": "qwen3:4b",
"prompt": "Why is the sky blue?",
"stream": false
}'
# List models
curl $OLLAMA_HOST/api/tags
# Pull model
curl $OLLAMA_HOST/api/pull -d '{"name": "phi3:mini"}'
```
## Troubleshooting
**Connection refused?**
- Check Ollama is running: `ollama serve`
- Verify OLLAMA_HOST is correct
- For remote servers, ensure firewall allows port 11434
**Model not loading?**
- Check VRAM: larger models may need CPU offload
- Try a smaller model first
**Slow responses?**
- Model may be running on CPU
- Use smaller quantization (e.g., `:7b` instead of `:30b`)
**OpenClaw sub-agent falls back to default model?**
- Ensure `ollama:default` auth profile exists in OpenClaw config
- Check model path format: `ollama/modelname:tag`
「AI 智慧體」分類下的熱門技能
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
把盛唐詩人李白的詩學觀、意象系統與口吻,蒸餾成 AI 可呼叫的角色包。
資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。