askill
llm-supervisor

llm-supervisorSafety 90Repository

Graceful rate limit handling with Ollama fallback. Notifies on rate limits, offers local model switch with confirmation for code tasks.

0 stars
1.2k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

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):

  1. Tell the user immediately โ€” Don't silently fail or retry endlessly
  2. Offer local fallback โ€” Ask if they want to switch to Ollama
  3. 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 null
  • localConfirmedForCode: boolean

Reset to cloud at session start.

Install

Download ZIP
Requires askill CLI v1.0+โ–ถ

AI Quality Score

70/100Analyzed 2/25/2026

Solid skill for handling LLM rate limits with Ollama fallback. Well-structured with clear commands and confirmation workflow. Penalized for internal-only signals (deeply nested path in archive folder, project-specific context). Missing explicit trigger section but otherwise actionable and complete for its domain."

90
85
60
75
85

Metadata

Licenseunknown
Version-
Updated2/22/2026
Publisherariffazil

Tags

llmprompting