One-click install
npx skills add https://github.com/Bartunek/nanoclaw --skill add-ollama-provider-bartunek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-ollama-provider
Source: https://github.com/Bartunek/nanoclaw/tree/main/.claude/skills/add-ollama-provider
Command: npx skills add https://github.com/Bartunek/nanoclaw --skill add-ollama-provider-bartunek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Route a NanoClaw agent group to a local Ollama model instead of the Anthropic API, enabling offline operation and reduced cloud costs.

Core Features & Use Cases

  • Local Ollama routing: override base API to point to a local model.
  • Per-agent-group configuration: apply env overrides and model selection per group.
  • Quick experimentation: switch between local/offline and cloud providers with minimal changes.

Quick Start

Configure the specified agent group to point to Ollama, update the shared Claude settings with your chosen model, and restart the NanoClaw service.

Frequently Asked Questions about add-ollama-provider

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route NanoClaw agents to a local Ollama model instead of the Anthropic API?

Route a NanoClaw agent group to a local Ollama model by overriding the base API in the container configuration and updating the shared Claude settings file with your chosen model, then restart the service.

Can I configure different Ollama models for separate NanoClaw agent groups?

Yes, per-agent-group configuration allows you to apply environment overrides and model selection individually. Each agent group requires its own Claude settings file to specify the chosen local model.

Does ContainerConfig need to support env and blockedHosts to use local Ollama routing?

Yes, ContainerConfig must support env and blockedHosts to route NanoClaw agents to a local Ollama model. This allows environment overrides for the API base URL and blocks cloud endpoint access.

What's the best way to switch NanoClaw between local Ollama and cloud providers?

The best way to switch providers is to update the shared Claude settings file for your agent group with the chosen model and restart the NanoClaw service. This enables quick experimentation between offline and cloud setups.

Why do I need to restart the NanoClaw service after applying Ollama env overrides?

Restarting the NanoClaw service is required to apply the updated environment overrides and Claude settings file changes. The service must restart to successfully route agent traffic to the local Ollama model.