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.

Install it, pinned
mdr add nanocoai/nanoclaw/add-ollama-provider@git:20260819.a977c3e

Pins 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

The exact contents, by fingerprint
mdr add nanocoai/nanoclaw/add-ollama-provider@sha256:33de02478ba43a27

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_famhgu3sdqjzlr6q.svg)](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.

versioncommittedcommitsizeaudit
git:20260819.a977c3e latest2026-08-19 a977c3e 6,202 BA view · diff
git:20260515.43ff3a42026-05-15 43ff3a4 6,191 BA view · diff
git:20260515.f3d5b822026-05-15 f3d5b82 6,192 BA view · diff
git:20260515.5fff2d22026-05-15 5fff2d2 6,153 BA view · diff
git:20260506.0d7458c2026-05-06 0d7458c 6,103 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from nanocoai/nanoclaw

add-anydoc SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-anydoc/SKILL.md · Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use…
git:20260807.bc6e9e2 · audit A · 31,085 stars
convert-documents-to-markdown SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-anydoc/container-skills/convert-documents-to-markdown/SKILL.md · Convert an attached Word document, presentation, spreadsheet, OpenDocument file, RTF, EPUB, CSV, or text-based PDF into…
git:20260807.bc6e9e2 · audit A · 31,085 stars
add-atomic-chat-tool SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-atomic-chat-tool/SKILL.md · Add Atomic Chat MCP server so the container agent can call local models served by the Atomic Chat desktop app via its…
git:20260819.a977c3e · audit B · 31,085 stars
add-clidash SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-clidash/SKILL.md · Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that…
git:20260704.6c2d268 · audit B · 31,085 stars
add-codex SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-codex/SKILL.md · Use Codex (OpenAI's codex app-server) as a full agent provider — planning, tool orchestration, MCP tools, server-side…
git:20261019.fb4797e · audit A · 31,085 stars
AGENTS.md@.claude/skills/add-codex/payload/container AGENTS.md file
nanocoai/nanoclaw · .claude/skills/add-codex/payload/container/AGENTS.md
git:20261016.a46db60 · audit A · 31,085 stars
add-cursor SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-cursor/SKILL.md · Use Cursor (local Agent SDK) as a full agent provider — planning, tool orchestration, MCP tools, session resume —…
git:20261019.953c13d · audit A · 31,085 stars
add-dashboard SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-dashboard/SKILL.md · Add a monitoring dashboard to NanoClaw. Installs @nanoco/nanoclaw-dashboard and a pusher that sends periodic JSON…
git:20260606.ff22a2b · audit A · 31,085 stars
add-deltachat SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-deltachat/SKILL.md · Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter — no Chat SDK bridge. Email-based…
git:20260806.8772ec9 · audit B · 31,085 stars
add-dial-number SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-dial-number/SKILL.md · Add another phone number to an existing Dial channel — a second (or third) public line for the agent, so one NanoClaw…
git:20260821.ee8d990 · audit A · 31,085 stars
add-dial-tool SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-dial-tool/SKILL.md · Give chosen NanoClaw agents a real phone number as a container tool — the `dial` CLI baked into the agent image plus…
git:20261022.e88b843 · audit A · 31,085 stars
dial-cli SKILL.md skill
nanocoai/nanoclaw · .claude/skills/add-dial-tool/container-skills/dial-cli/SKILL.md · Reference for the `dial` CLI — gives you a real phone number to send SMS, place AI voice calls, and receive inbound…
git:20261022.27a0ef7 · audit A · 31,085 stars

Every file in nanocoai/nanoclaw

Browse by kind, by grade A, or by owner.