ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

Api Monitor

Skill by 2233admin

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/2233admin/api-monitor
Or

What This Skill Does

The Api Monitor skill, developed by 2233admin, is a specialized utility designed to manage OpenClaw model API usage proactively. It functions as a watchdog for your API quota, preventing unexpected service interruptions by monitoring error rates and usage statistics. When it detects that your current model is running low on quota or experiencing repeated errors, the skill alerts you and enters an 'ask' state, ensuring you explicitly confirm any switch before it happens. This design philosophy prevents unauthorized changes while providing a seamless failover mechanism for high-availability AI usage.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/2233admin/api-monitor. Ensure your environment has Python 3.8+ and the jq utility installed. You will need to verify that your system has the necessary file permissions for the OpenClaw directory, as the skill needs to modify configuration files and potentially trigger a service restart to apply model changes.

Use Cases

This skill is perfect for power users and developers who rely on multiple AI models and cannot afford downtime. It is particularly useful when you are juggling different model tiers (e.g., high-speed vs. standard versions) and want to automate the transition to a backup provider like Claude or Volcano Engine if your primary provider hits a rate limit. It also serves as a diagnostic tool for checking the health status of your current API connections.

Example Prompts

  1. "Check the current API quota status and see if we need to switch models."
  2. "My model seems to be lagging, check the API monitor and suggest a better alternative."
  3. "Switch the active model to volcengine/ark-code-latest immediately."

Tips & Limitations

Always remember that switching models involves restarting the Gateway, which will briefly interrupt active sessions. We highly recommend configuring the provided cron job to run every 30 minutes for hands-off monitoring. Avoid scheduling automatic switches during critical business hours to prevent unexpected service interruptions. Always check the logs located at /var/log/api-monitor.log if you encounter unexpected behavior during a model transition.

Metadata

Author@2233admin
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-2233admin-api-monitor": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#api-management#monitoring#automation#openclaw
Safety Score: 3/5

Flags: file-write, file-read, external-api, code-execution