# Provider

> Switch the entire Claude Code provider lineup between native Claude OAuth and the BACKS Ollama model pool, inspect status, show resolved fallbacks, or update provider control.

- Skill: `tcuzzo/provider` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tcuzzo/provider`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tcuzzo/provider/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Tcuzzo (https://skillmd.com/u/tcuzzo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tcuzzo/provider

---


Treat `$ARGUMENTS` as exactly one provider action: `claude`, `ollama`, `status`, `models`, or `update`.
If it is empty, use `status`. Reject any other value.

Execute the BACKS provider controller:

```bash
python3 "$HOME/.local/share/backs-aios/provider-control/current/provider/backs_provider.py" "$ARGUMENTS"
```

Semantics:

- `ollama` discovers the current Ollama catalog and resolves the whole Claude model-family lineup from ordered role preferences in one atomic settings transaction.
- `claude` restores only BACKS-managed provider settings and returns Claude Code to the user's existing Anthropic/Claude OAuth path. Never log out, inspect, print, copy, or modify Claude OAuth credentials.
- `status` reports the active provider and selected role mappings without exposing custom/private endpoint hostnames.
- `models` shows the currently discovered Ollama selections and ordered fallbacks. It does not change provider state.
- `update` fast-forwards only the provider-control source from GitHub, refreshes its links, and executes provider safety tests. It does not replace the host's existing BACKS runtime deployment.

Do not perform per-model provider switching here. `/provider` is the control plane for the whole lineup.
Never print `OLLAMA_API_KEY`, Claude credentials, key-file contents, or secret-bearing environment values.

