TopRank Skills

Home / Claw Skills / Others / Llm Supervisor Agent
Official OpenClaw rules 15%

Llm Supervisor Agent

LLM Supervisor

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Llm Supervisor Agent 技能。 若已安装,则直接安装 Llm Supervisor Agent 技能。

Overview

Skill Key
dhardie/llm-supervisor-agent
Author
dhardie
Source Repo
openclaw/skills
Version
-
Source Path
skills/dhardie/llm-supervisor-agent
Latest Commit SHA
ec812ca3f1b49ebe6ba6f6b2c70330219706249f

Extracted Content

SKILL.md excerpt

# 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`

README excerpt

# LLM Supervisor

Automatically switches OpenClaw between cloud and local LLMs when rate limits occur — without silently degrading code quality.

## What this skill does

- Monitors cloud LLM errors (e.g. Anthropic rate limits)
- Automatically switches the **main agent** to a local Ollama model
- Ensures **new agents inherit** the active LLM mode
- Requires **explicit user confirmation** before running code tasks on local LLMs
- Automatically switches back to cloud when manually requested

## Why this exists

Cloud LLMs are powerful but rate-limited.  
Local LLMs are reliable but weaker for code.

This skill provides:
- Reliability without dead bots
- Transparency when switching models
- Safety for production codebases

## Default behavior

- Enabled by default
- Auto-switches to local on cloud rate limit
- Chat and planning are always allowed
- Code tasks on local require confirmation:
  `CONFIRM LOCAL CODE`

## Commands

- `/llm status` — show current mode
- `/llm switch local` — force local mode
- `/llm switch cloud` — return to cloud

## Configuration

The following options are configurable:

- `localModel` (default: `qwen2.5:7b`)
- `cooldownMinutes`
- `requireConfirmationForLocalCode`
- `confirmationPhrase`

## Safety

This skill will never:
- Silently downgrade code generation quality
- Burn cloud credits unexpectedly
- Modify existing agents mid-task

## License

MIT

Related Claw Skills