Agent skill · Backend & API

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-llm/add-ollama-tool-dingyanglyu-matclaw/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. 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

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. Initialize skills system (if needed)
  6. Apply the skill
  7. Copy to per-group agent-runner
  8. Validate code changes
  9. Phase 3: Configure
  10. Set Ollama host (optional)
  11. Restart the service
  12. Phase 4: Verify
  13. Test via WhatsApp
  14. Monitor activity (optional)
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)
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
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 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.

Keep going