new-api-usage
Installation
SKILL.md
New API Usage Query
Query quota and usage from a new-api deployment with explicit inputs.
Safety Rules
- Require explicit
--base-urland--key; never auto-read local config or keychain. - Never print the full API key in output.
- Only perform read-only GET requests to usage endpoints.
- If the endpoint is unknown, ask user to confirm before querying.
Usage
# Summary (today's records only)
uv run python scripts/query_usage.py \
--base-url https://your-new-api.example.com \
--key sk-xxxxx