Agent skill · Backend & API

add-ollama-tool

Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill add-ollama-tool --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/add-ollama-tool/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Add Ollama Integration This skill adds a stdio-based MCP server that exposes local Ollama models as tools for the container agent. Claude remains the orchestrator but can offload work to local models, and can optionally manage the model library directly. Core tools (always available): - `ollama_list_models` — list installed Ollama models with name, size, and family - `ollama_generate` — send a prompt to a specified model and return the response Management tools (opt-in via `OLLAMA_ADMIN_TOOLS=true`): - `ollama_pull_model` — pull (download) a model from the Ollama registry - `ollama_delete_model` — delete a locally installed model to free disk space - `ollama_show_model` — show model details: modelfile, parameters, and architecture info - `ollama_list_running` — list models currently loaded in memory with memory usage and processor type ## Phase 1: Pre-flight ### Check if already applied Check if `container/agent-runner/src/ollama-mcp-stdio.ts` exists. If it does, skip to Phase 3 (Configure). ### Check prerequisites Verify Ollama is installed and running on the host: ```bash ollama list ``` If Ollama is not installed, direct the user to https://ollama.com/download. If no models ar

What's inside
Steps it walks through
  1. Phase 1: Pre-flight
  2. Check if already applied
  3. Check prerequisites
  4. Phase 2: Apply Code Changes
  5. Ensure upstream remote
  6. Merge the skill branch
  7. Copy to per-group agent-runner
  8. Validate code changes
  9. Phase 3: Configure
  10. Enable model management tools (optional)
  11. Set Ollama host (optional)
  12. Restart the service
  13. Phase 4: Verify
  14. Test inference
Ships with 1 file
  • metadata.json
Commands it runs
ollama list
ollama pull gemma3:1b    # Small, fast (1GB)
ollama pull llama3.2     # Good general purpose (2GB)
ollama pull qwen3-coder:30b  # Best for code tasks (18GB)
git remote -v
git remote add upstream https://github.com/qwibitai/nanoclaw.git
git fetch upstream skill/ollama-tool
git merge upstream/skill/ollama-tool
for dir in data/sessions/*/agent-runner-src; do
cp container/agent-runner/src/ollama-mcp-stdio.ts "$dir/"
More from claude-skill-registry
All skills →
About this skill
What does the add-ollama-tool skill do?

Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill add-ollama-tool --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going