Подключение Ollama вместо Anthropic API
★ 7.5 · ai-tooling
add-ollama-provider is a Claude Code skill that routes a NanoClaw agent group to a local Ollama instance instead of the Anthropic API, eliminating cloud API costs and enabling fully local operation. Because Ollama natively speaks the Anthropic API protocol (v1/messages), no provider code changes are required — only environment variable overrides and a model setting. The skill checks for `env` and `blockedHosts` fields in `ContainerConfig`, extends `container-config.ts` and `container-runner.ts` if needed, then writes `ANTHROPIC_BASE_URL`, `ANTHROPIC_API_KEY`, and `NO_PROXY` into the group's `container.json` and sets the chosen model (such as `gemma4` or `qwen3-coder`) in the agent's shared `settings.json`. Ideal for developers experimenting with open-weight models or cutting API spend entirely.
- #ollama
- #local-models
- #api-routing
- #cost-reduction
- #open-weight-models