← Back to Skills Marketplace
dhardie

LLM Supervisor

by dhardie · GitHub ↗ · v0.2.0
cross-platform ✓ Security Clean
1598
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install llm-supervisor-agent
Description
Automatically switches between cloud and local LLMs on rate limits, with user confirmation required for local code generation.
README (SKILL.md)

LLM Supervisor

Automatically switches OpenClaw between cloud and local Ollama models when rate limits occur.

Features

  • Detects rate-limit / overload errors from Anthropic/OpenAI
  • Switches to a local Ollama fallback model
  • Requires explicit confirmation before local code generation
  • Supports manual commands:

Commands

  • /llm status
  • /llm switch cloud
  • /llm switch local

Default Local Model

  • qwen2.5:7b

Safety

Local code generation requires the user to type:

CONFIRM LOCAL CODE

Usage Guidance
This skill is internally consistent with its stated purpose. Before installing: 1) Note it will set the agent LLM profile to your cloud provider ('anthropic:default') or to a local Ollama endpoint at http://127.0.0.1:11434 — ensure you run Ollama at that address or change the config. 2) It is enabled by default (skill.json enabledByDefault: true), so it may start affecting agents immediately; if you prefer control, disable it until tested. 3) It can notify all users and block code tasks in local mode until someone types the configured confirmation phrase, so review or change confirmationPhrase/localModel/cooldownMinutes if needed. 4) It does not request credentials or call external servers beyond a local Ollama URL; still review source if you require additional assurance. If you want extra caution, test in a non-production workspace first.
Capability Analysis
Type: OpenClaw Skill Name: Developer: Version: Description: OpenClaw Agent Skill Suspicious High-Entropy/Eval files: 12 The OpenClaw LLM Supervisor skill is designed to automatically switch between cloud and local LLM models (Ollama) when cloud rate limits are encountered. It includes a safety mechanism requiring explicit user confirmation (`CONFIRM LOCAL CODE`) before executing code-related tasks with a local LLM. The code primarily interacts with the OpenClaw SDK for state management, agent LLM profile configuration, and user notifications. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts in the code or documentation. The permissions requested (`llm`, `agents`, `notifications`, `state`) are appropriate for its stated functionality, and the local Ollama `baseUrl` is correctly set to `http://127.0.0.1:11434` in `hooks/onAgentStart.ts`.
Capability Assessment
Purpose & Capability
The skill's name/description match the implementation: hooks detect LLM errors, switch a global mode state, set agent LLM profiles (cloud vs local), and expose /llm commands. Declared permissions (llm, agents, notifications, state) align with these actions.
Instruction Scope
Runtime behavior is narrowly scoped: it only inspects LLM error messages, agent start events, and task intents; it blocks code-related tasks in local mode until the user supplies the explicit confirmation phrase. It does not read arbitrary files, environment variables, or other agents' credentials.
Install Mechanism
No install spec or external downloads are present; the skill is packaged with its code (compiled dist files). There are no external URL downloads or extract steps. This is low-risk from an installer perspective.
Credentials
The skill requests no environment variables or external credentials. It does configure a local Ollama baseUrl (http://127.0.0.1:11434) when switching to local mode, which is appropriate for its purpose.
Persistence & Privilege
skill.json sets enabledByDefault: true, so the skill will be enabled by default; however 'always' is false and it does not request system-wide privileges beyond managing agents/llm profiles and state. Because it can change agent LLM profiles and notify all users, enable-by-default means it will affect agent behavior immediately unless you disable it.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install llm-supervisor-agent
  3. After installation, invoke the skill by name or use /llm-supervisor-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.0
Cloud/local LLM switching with rate limit detection and safety confirmation
Metadata
Slug llm-supervisor-agent
Version 0.2.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is LLM Supervisor?

Automatically switches between cloud and local LLMs on rate limits, with user confirmation required for local code generation. It is an AI Agent Skill for Claude Code / OpenClaw, with 1598 downloads so far.

How do I install LLM Supervisor?

Run "/install llm-supervisor-agent" 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.2.0.

💬 Comments