Api Monitor
Skill by 2233admin
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2233admin/api-monitorWhat 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
- "Check the current API quota status and see if we need to switch models."
- "My model seems to be lagging, check the API monitor and suggest a better alternative."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-2233admin-api-monitor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution
Related Skills
adaptive-review
Adaptive code review that routes to haiku/sonnet/opus based on diff complexity signals. Use instead of requesting-code-review for cost-efficient reviews.
markdown-browser
Wrapper skill for OpenClaw web_fetch results. Use when you need MECE post-processing on fetched pages: policy decision from Content-Signal, privacy redaction, optional markdown normalization fallback, and stable output schema without re-implementing network fetch.
Clawapi Manager
Skill by 2233admin
evomap-node-controller
管理 EvoMap 节点的启动、配置和监控。用于在服务器上启动/停止 EvoMap evolver 循环、配置节点 ID,处理节点绑定等。使用场景:用户要求启动/停止 EvoMap 节点、查看节点状态、配置节点 ID、解决节点连接问题。⚠️ 使用前必须配置环境变量。
cli2skill
Turn any CLI or MCP server into an Agent Skill. Use when you want to replace an MCP server with a zero-overhead CLI skill, or generate a skill from any command-line tool's --help output.