π¦ ClawHub
Aiclient2api Usage
by @limingdev-tech-2024
Check AIClient2API usage statistics, quotas, and account status. Use when the user asks about AIClient2API usage, credits, quotas, subscription status, or wh...
TERMINAL
clawhub install aiclient2api-usageπ About This Skill
name: aiclient2api-usage description: Check AIClient2API usage statistics, quotas, and account status. Use when the user asks about AIClient2API usage, credits, quotas, subscription status, or when they want to monitor their API consumption.
AIClient2API Usage Checker
Query and display AIClient2API usage statistics, including credits consumed, remaining quotas, subscription type, and expiration dates.
Quick Start
Check current usage:
bash scripts/check_usage.sh
Refresh usage data:
bash scripts/refresh_usage.sh
Or read the usage cache file directly:
cat ~/web/AIClient-2-API/configs/usage-cache.json
Usage Information
The script reads from ~/web/AIClient-2-API/configs/usage-cache.json and displays:
Key Metrics
Notes
~/web/AIClient-2-API/configs/usage-cache.jsonhttp://127.0.0.1:16825 (requires authentication)http://127.0.0.1:16825
2. Login with password from configs/pwd
3. Navigate to Providers section and click refresh button
π‘ Examples
Check current usage:
bash scripts/check_usage.sh
Refresh usage data:
bash scripts/refresh_usage.sh
Or read the usage cache file directly:
cat ~/web/AIClient-2-API/configs/usage-cache.json
π Tips & Best Practices
~/web/AIClient-2-API/configs/usage-cache.jsonhttp://127.0.0.1:16825 (requires authentication)http://127.0.0.1:16825
2. Login with password from configs/pwd
3. Navigate to Providers section and click refresh button