Clawapi Manager
Skill by 2233admin
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2233admin/clawapi-managerWhat This Skill Does
ClawAPI Manager is a professional-grade infrastructure tool for OpenClaw that serves as the central nervous system for your LLM API integrations. It is designed to act as an abstraction layer between your workspace and over 40 distinct AI providers. By centralizing management, it effectively solves the problem of "key rot," where API keys expire or hit rate limits unexpectedly. The skill excels at cost optimization; its intelligent routing engine analyzes task complexity and historical pricing data, automatically rerouting simple, high-volume requests to cheaper or free-tier models, potentially reducing your monthly operational expenses by up to 90%. Beyond simple proxying, it features a robust monitoring suite that tracks per-token spending in real-time, providing immediate visibility into usage spikes or anomalies. The integrated failover mechanism ensures that if a primary model provider goes offline or returns a 429 error, the manager instantly rotates to a healthy backup key, maintaining high availability for your AI agent operations.
Installation
Installation is streamlined for OpenClaw environments. You can install it directly via the hub or via git clone. For the git approach: ensure you have a Python 3.10+ environment, navigate to ~/.openclaw/workspace/skills, and run git clone https://github.com/2233admin/clawapi-manager.git. Once cloned, execute pip install -r requirements.txt. After installation, copy the template files from the config/ directory to their active counterparts and populate them with your provider secrets. Finally, verify the installation by running python3 claw_api_manager_central.py validate to ensure your local environment is correctly configured to communicate with the provider APIs.
Use Cases
This skill is ideal for power users and teams building complex automation workflows. Use it when you are scaling an OpenClaw deployment and need to manage multiple provider keys (e.g., mixing OpenAI, Claude, and local models) without hardcoding credentials. It is indispensable for budget-conscious organizations that need automated, multi-channel alerts (via Discord or Telegram) when monthly budgets reach specific thresholds. Developers also leverage this for automated failover during critical production tasks, ensuring that infrastructure issues do not interrupt business-critical AI operations.
Example Prompts
- "Check my current API spend across all providers and show me which models are costing the most this week."
- "My Claude key is returning 429 errors; can you run the configuration fix tool to check for health and rotate to a new key?"
- "Add a new OpenAI budget alert set to 50 dollars and notify me via Discord when I hit 80 percent of that limit."
Tips & Limitations
To maximize the efficacy of this skill, prioritize setting up health check intervals in the key_rotation.py settings. Regular monitoring prevents downtime. Be aware that the auto-fix feature requires proper write permissions for the configuration directory. This skill interacts with third-party APIs, so it is strictly bound by the terms of service of the providers you link. Users should periodically audit their managed_keys_central.json file to remove deprecated keys or unused providers to maintain a clean security posture.
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-clawapi-manager": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api, code-execution
Related Skills
Api Monitor
Skill by 2233admin
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.
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.