/install llm-supervisor
LLM Supervisor 🔮
Handles rate limits and model fallbacks gracefully.
Behavior
On Rate Limit / Overload Errors
When I encounter rate limits or overload errors from cloud providers (Anthropic, OpenAI):
- Tell the user immediately — Don't silently fail or retry endlessly
- Offer local fallback — Ask if they want to switch to Ollama
- Wait for confirmation — Never auto-switch for code generation tasks
Confirmation Required
Before using local models for code generation, ask:
"Cloud is rate-limited. Switch to local Ollama (
qwen2.5:7b)? Reply 'yes' to confirm."
For simple queries (chat, summaries), can switch without confirmation if user previously approved.
Commands
/llm status
Report current state:
- Which provider is active (cloud/local)
- Ollama availability and models
- Recent rate limit events
/llm switch local
Manually switch to Ollama for the session.
/llm switch cloud
Switch back to cloud provider.
Using Ollama
# Check available models
ollama list
# Run a query
ollama run qwen2.5:7b "your prompt here"
# For longer prompts, use stdin
echo "your prompt" | ollama run qwen2.5:7b
Installed Models
Check with ollama list. Configured default: qwen2.5:7b
State Tracking
Track in memory during session:
currentProvider: "cloud" | "local"lastRateLimitAt: timestamp or nulllocalConfirmedForCode: boolean
Reset to cloud at session start.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install llm-supervisor - After installation, invoke the skill by name or use
/llm-supervisor - Provide required inputs per the skill's parameter spec and get structured output
What is LLM Supervisor?
Graceful rate limit handling with Ollama fallback. Notifies on rate limits, offers local model switch with confirmation for code tasks. It is an AI Agent Skill for Claude Code / OpenClaw, with 2900 downloads so far.
How do I install LLM Supervisor?
Run "/install llm-supervisor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is LLM Supervisor free?
Yes, LLM Supervisor is completely free (open-source). You can download, install and use it at no cost.
Which platforms does LLM Supervisor support?
LLM Supervisor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created LLM Supervisor?
It is built and maintained by dhardie (@dhardie); the current version is v0.3.0.