Rechercher

PythonReactSEOPDF
OpenClaw

Clawapi Manager

ClawAPI Manager

2233admin0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install 2233admin/clawapi-manager

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

ClawAPI Manager

🔧 Professional API management and cost optimization for OpenClaw deployments

English | 中文


English

Overview

ClawAPI Manager is an OpenClaw-native tool for managing API keys, monitoring costs, and optimizing API spending through intelligent routing. It saves 30-90% on API costs by automatically routing simple tasks to free models.

Capabilities
  • Multi-Provider Management: Manage keys for OpenAI, Anthropic, Google, and 40+ providers
  • Cost Tracking: Real-time monitoring of API usage and spending
  • Smart Routing: Automatically route tasks to cost-effective models
  • Key Health Monitoring: Detect expired, rate-limited, or invalid keys
  • Config Validation: Detect and auto-fix configuration issues
  • Budget Alerts: Multi-channel notifications (Telegram, Discord, Slack, Feishu, QQ)
  • Automated Failover: Round-robin key rotation with health checks
How to Use
1. Installation
cd ~/.openclaw/workspace/skills
git clone https://github.com/2233admin/clawapi-manager.git
cd clawapi-manager
pip install -r requirements.txt
2. Basic Commands
# List all providers
python3 claw_api_manager_central.py list

# Validate configuration
python3 claw_api_manager_central.py validate

# Auto-fix configuration issues
python3 claw_api_manager_central.py fix

# Update API key
python3 claw_api_manager_central.py update provider-name new-key

# Add new provider
python3 claw_api_manager_central.py add provider-name https://api.example.com sk-key anthropic-messages
3. Configuration
# Create example configs
cp config/managed_keys_central.json.example config/managed_keys_central.json
cp config/openrouter_keys.json.example config/openrouter_keys.json

# Edit with your keys
nano config/managed_keys_central.json
Example Usage

Scenario 1: Validate Configuration

User: "Check if my OpenClaw config is valid"
Assistant: [Runs validate command, repo...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/2233admin/clawapi-manager
Version
—
Commit
b62e5c7ecd3fb46751326ae053ea412fd7e1dbb6
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

ClawAPI Manager

🔧 Professional API management and cost optimization for OpenClaw deployments

English | 中文


English

Professional API management and cost optimization for OpenClaw deployments.

What It Does

Manages API keys, monitors costs, and routes tasks to the most cost-effective models automatically. Saves 30-90% on API costs through intelligent routing and free model integration.

Professional API management and cost optimization for OpenClaw deployments.

What It Does

Manages API keys, monitors costs, and routes tasks to the most cost-effective models automatically. Saves 30-90% on API costs through intelligent routing and free model integration.

Key Features

  • Smart Routing: Automatically routes simple tasks to free models (Qwen, Llama) via OpenRouter
  • Cost Tracking: Real-time monitoring of API usage and spending
  • Multi-Provider: Supports OpenAI, Anthropic, Google, and 40+ providers
  • Budget Alerts: Get notified before you exceed spending limits
  • Key Health: Automatic detection of expired or rate-limited keys
  • Multi-Channel Alerts: Telegram, Discord, Slack, Feishu, QQ, DingTalk

Quick Start

# Install
cd ~/.openclaw/workspace/skills
git clone https://github.com/2233admin/clawapi-manager.git
cd clawapi-manager
pip install -r requirements.txt

# Configure notifications (optional)
cp config/notify.json.example config/notify.json
# Edit with your webhook URLs

# Test
python3 lib/cost_monitor.py health

How It Saves Money

The system analyzes each task and routes it intelligently:

  • Simple tasks (search, weather, translate) → Free models (100% savings)
  • Medium tasks (summaries, basic code) → Cost-effective models (50-70% savings)
  • Complex tasks (architecture, analysis) → Premium models (Opus, GPT-4)
Example Savings
Task Type Before After Savings
Weather check $0.015 $0.00 100%
Code rev...

Contenu extrait

SKILL.md
# ClawAPI Manager

> 🔧 Professional API management and cost optimization for OpenClaw deployments

[English](#english) | [中文](#中文)

---

## English

### Overview

ClawAPI Manager is an OpenClaw-native tool for managing API keys, monitoring costs, and optimizing API spending through intelligent routing. It saves 30-90% on API costs by automatically routing simple tasks to free models.

### Capabilities

- **Multi-Provider Management**: Manage keys for OpenAI, Anthropic, Google, and 40+ providers
- **Cost Tracking**: Real-time monitoring of API usage and spending
- **Smart Routing**: Automatically route tasks to cost-effective models
- **Key Health Monitoring**: Detect expired, rate-limited, or invalid keys
- **Config Validation**: Detect and auto-fix configuration issues
- **Budget Alerts**: Multi-channel notifications (Telegram, Discord, Slack, Feishu, QQ)
- **Automated Failover**: Round-robin key rotation with health checks

### How to Use

#### 1. Installation

```bash
cd ~/.openclaw/workspace/skills
git clone https://github.com/2233admin/clawapi-manager.git
cd clawapi-manager
pip install -r requirements.txt
```

#### 2. Basic Commands

```bash
# List all providers
python3 claw_api_manager_central.py list

# Validate configuration
python3 claw_api_manager_central.py validate

# Auto-fix configuration issues
python3 claw_api_manager_central.py fix

# Update API key
python3 claw_api_manager_central.py update provider-name new-key

# Add new provider
python3 claw_api_manager_central.py add provider-name https://api.example.com sk-key anthropic-messages
```

#### 3. Configuration

```bash
# Create example configs
cp config/managed_keys_central.json.example config/managed_keys_central.json
cp config/openrouter_keys.json.example config/openrouter_keys.json

# Edit with your keys
nano config/managed_keys_central.json
```

### Example Usage

**Scenario 1: Validate Configuration**
```
User: "Check if my OpenClaw config is valid"
Assistant: [Runs validate command, repo...
README
# ClawAPI Manager

> 🔧 Professional API management and cost optimization for OpenClaw deployments

[English](#english) | [中文](#中文)

---

## English

Professional API management and cost optimization for OpenClaw deployments.

### What It Does

Manages API keys, monitors costs, and routes tasks to the most cost-effective models automatically. Saves 30-90% on API costs through intelligent routing and free model integration.

Professional API management and cost optimization for OpenClaw deployments.

## What It Does

Manages API keys, monitors costs, and routes tasks to the most cost-effective models automatically. Saves 30-90% on API costs through intelligent routing and free model integration.

## Key Features

- **Smart Routing**: Automatically routes simple tasks to free models (Qwen, Llama) via OpenRouter
- **Cost Tracking**: Real-time monitoring of API usage and spending
- **Multi-Provider**: Supports OpenAI, Anthropic, Google, and 40+ providers
- **Budget Alerts**: Get notified before you exceed spending limits
- **Key Health**: Automatic detection of expired or rate-limited keys
- **Multi-Channel Alerts**: Telegram, Discord, Slack, Feishu, QQ, DingTalk

## Quick Start

```bash
# Install
cd ~/.openclaw/workspace/skills
git clone https://github.com/2233admin/clawapi-manager.git
cd clawapi-manager
pip install -r requirements.txt

# Configure notifications (optional)
cp config/notify.json.example config/notify.json
# Edit with your webhook URLs

# Test
python3 lib/cost_monitor.py health
```

## How It Saves Money

The system analyzes each task and routes it intelligently:

- **Simple tasks** (search, weather, translate) → Free models (100% savings)
- **Medium tasks** (summaries, basic code) → Cost-effective models (50-70% savings)
- **Complex tasks** (architecture, analysis) → Premium models (Opus, GPT-4)

### Example Savings

| Task Type | Before | After | Savings |
|-----------|--------|-------|---------|
| Weather check | $0.015 | $0.00 | 100% |
| Code rev...

Skills associés

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...