add-ollama-tool
Add Ollama MCP server so the container agent can call local models for cheaper/faster tasks like summarization, translation, or general queries.
npx skills add majiayu000/claude-skill-registry --skill add-ollama-tool-dingyanglyu-matclaw --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. Tools added: - `ollama_list_models` — lists installed Ollama models - `ollama_generate` — sends a prompt to a specified model and returns the response ## Phase 1: Pre-flight ### Check if already applied Read `.matclaw/state.yaml`. If `ollama` is in `applied_skills`, skip to Phase 3 (Configure). The code changes are already in place. ### 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 are installed, suggest pulling one: > You need at least one model. I recommend: > > ```bash > 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) > ``` ## Phase 2: Apply Code Changes Run the skills engine to apply this skill's code package. ### Initialize skills system (if needed) If `.matclaw/` directory doesn't exist yet: ```bash npx tsx scripts/apply-skill.ts --init
- Phase 1: Pre-flight
- Check if already applied
- Check prerequisites
- Phase 2: Apply Code Changes
- Initialize skills system (if needed)
- Apply the skill
- Copy to per-group agent-runner
- Validate code changes
- Phase 3: Configure
- Set Ollama host (optional)
- Restart the service
- Phase 4: Verify
- Test via WhatsApp
- Monitor activity (optional)
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) npx tsx scripts/apply-skill.ts --init npx tsx scripts/apply-skill.ts .claude/skills/add-ollama-tool for dir in data/sessions/*/agent-runner-src; do cp container/agent-runner/src/ollama-mcp-stdio.ts "$dir/" cp container/agent-runner/src/index.ts "$dir/" done
What does the add-ollama-tool skill do?
Add Ollama MCP server so the container agent can call local models for cheaper/faster tasks like summarization, translation, or general queries.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill add-ollama-tool-dingyanglyu-matclaw --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.
