Claude Controller — AI skill for Claude Code
claude-controller is a bash script that gives you a single command to switch Claude Code between four AI backends — Ollama (local/free), Anthropic API (your existing login), OpenAI via LiteLLM, and Ge.
How to install Claude Controller
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open itssujeeth/claude-controller and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Controller does
claude-controller is a bash script that gives you a single command to switch Claude Code between four AI backends — Ollama (local/free), Anthropic API (your existing login), OpenAI via LiteLLM, and Gemini via LiteLLM — and launches Claude Code automatically after selection. No manual environment variable juggling required.
Alternatives in AI
- Debate — AI Debate Hub - Structured four-way debates between Claude, Sonnet, Gemini, and Codex 2.8k ★
- Cc Mirror — Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM) 2.1k ★
- Agmsg — Cross-vendor messaging for CLI AI coding agents — let Claude Code, Codex, Gemini & Copilot talk to each other 1.5k ★
README
claude-controller
A backend/model switcher for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). One command picks your inference backend, sets the right environment, and launches Claude Code — no manual `export` juggling, no stale env vars between sessions.
Architecture

`claude-controller` sits between you and Claude Code. It resolves dynamic model facts from the Ollama API, merges them with curated compatibility knowledge, pre-flight checks the target endpoint, then hands off to Claude Code with a clean environment. After your session, `cc-health` and `cc-diagnose` analyse what happened.
Repository structure
claude-controller/
├── claude-controller.sh # main entry point — interactive picker, env manager, launcher
├── ollama_resolver.py # queries Ollama API live for installed models, num_ctx, architecture
├── model_profiles.json # curated compatibility knowledge: tool_compat, known_issues
├── README.md
├── docs/
│ └── architecture.svg # system architecture diagram
└── tools/
├── cc-health # post-session JSONL analyser — flags anomalies and failure patterns
└── cc-diagnose # Ollama performance diagnostic — VRAM, tok/s, GPU offload
Installation
# Clone or copy the repo, then make scripts executable
chmod +x claude-controller.sh tools/cc-health tools/cc-diagnose
# Optional: symlink to PATH
ln -sf "$(pwd)/claude-controller.sh" ~/.local/bin/claude-controller
ln -sf "$(pwd)/tools/cc-health" ~/.local/bin/cc-health
ln -sf "$(pwd)/tools/cc-diagnose" ~/.local/bin/cc-diagnose
**Prerequisites:** Claude Code CLI, Python 3, `nc`/`ss`/`lsof`, `curl`
For Ollama backend: [install Ollama](https://ollama.com) and pull at least one model.
For OpenAI or Gemini backends, install LiteLLM:
pip install 'litellm[proxy]' --break-system-packages
Quick start
claude-controller
Pick a backend, pick a mod
Related Skills
Module Feature
Add a new feature (model + service + controller + views + routes + tests) to an existing module
Herdr Gamepad
Drive Herdr with a game controller. Patrol your AI agents, split panes and switch workspaces from the couch —
Dsh CLI Switch
LLM-provider plugin for DeepSeek Harness: use local AI CLIs (claude / opencode / gemini / cursor / codex) as m
Dev Sandbox
Run untrusted code and AI agents in isolated Podman containers with krun microVMs. Network control, SSH, Privo
AnyCoder
AI coding agent in your terminal. Works with any LLM - DeepSeek, Qwen, GPT-5, Claude, Gemini, Kimi, Ollama. 10
Hamsters
Composable AI workers for macOS, each a native GUI in a single script. No installer or extra dependencies. Con
Related Agents
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS