add-ollama-provider SKILL.md skillA
add-ollama-provider from nanocoai/nanoclaw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add nanocoai/nanoclaw/add-ollama-provider@git:20260819.a977c3ePins git:20260819.a977c3e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- nanocoai/nanoclaw
- Path
.claude/skills/add-ollama-provider/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260819.a977c3e, committed Aug 19, 2026
- First version recorded
- May 6, 2026
- Size
- 6,202 bytes
- Repository stars
- 31,085
- License
- MIT
Route a NanoClaw agent group to a local Ollama model instead of the Anthropic API. Ollama speaks the Anthropic API natively (v1/messages), so no provider code changes are needed — just env var overrides and a model setting. Use when the user wants to run their agent locally, cut API costs, or experiment with open-weight models. See docs/ollama.md for background.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Add Ollama Provider Routes an agent group to a local Ollama instance instead of the Anthropic API. See `docs/ollama.md` for how this works and the tradeoffs involved. ## Prerequisites 1. **Ollama is installed and running** on the host — verify: `curl -s http://localhost:11434/api/tags` 2. **A model is pulled** — e.g. `ollama pull gemma4` or `ollama pull qwen3-coder` 3. **The agent group already exists** — run `/init-first-agent` first if needed ## 1. Check source support The feature requires two fields in `ContainerConfig` (`env` and `blockedHosts`) and their corresponding wiring in `container-runner.ts`. Check if already present: ```bash grep -c 'blockedHosts' src/container-config.ts src/container-runner.ts ``` If either count is 0, apply the changes in steps 1a and 1b. Otherwise skip to step 2. ### 1a. Extend ContainerConfig In `src/container-config.ts`, add to the `ContainerConfig` interface: ```typescript env?: Record<string, string>; blockedHosts?: string[]; ``` And in `readContainerConfig`, add inside the returned object: ```typescript env: raw.env, blockedHosts: raw.blockedHosts, ``` ### 1b. Wire into container-runner …
Read the whole file at its exact version.
How to install
mdr add nanocoai/nanoclaw/add-ollama-provider@sha256:33de02478ba43a27The line at the top of this page pins the label git:20260819.a977c3e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_famhgu3sdqjzlr6q)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 6, 2026 and Aug 19, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260819.a977c3e latest | 2026-08-19 | a977c3e | 6,202 B | A | view · diff |
| git:20260515.43ff3a4 | 2026-05-15 | 43ff3a4 | 6,191 B | A | view · diff |
| git:20260515.f3d5b82 | 2026-05-15 | f3d5b82 | 6,192 B | A | view · diff |
| git:20260515.5fff2d2 | 2026-05-15 | 5fff2d2 | 6,153 B | A | view · diff |
| git:20260506.0d7458c | 2026-05-06 | 0d7458c | 6,103 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6202 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
nanocoai/nanoclaw · 31,085 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_famhgu3sdqjzlr6q GET https://markdownregistry.com/api/v1/resolve?ref=nanocoai/nanoclaw/add-ollama-provider GET https://markdownregistry.com/api/v1/blob/33de02478ba43a271ae748cb95162b65895ec9e60f5ecbab51076efc88b87f3a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.