openrouter-usage
БесплатноЗапускает вложенные скриптыНе проверенTrack OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.
от aAAaqwq★ 123 звезды на GitHubОб этом скилле
openrouter-usage
- Author: Daniel Li
- Copyright © Daniel Li. All rights reserved.
Track your OpenRouter spending directly from your OpenClaw agent. Shows credit balance, per-model cost/token breakdown, and spending projections.
Trigger
Use when the user asks about OpenRouter credits, costs, spending, balance, usage, billing, or the /usage command.
Commands
Full report (recommended — combines everything)
openrouter-usage report # credits + today's usage + projection
openrouter-usage report --week # credits + last 7 days
openrouter-usage report --month # credits + last 30 days
Credit balance only
openrouter-usage credits
Per-model breakdown only
openrouter-usage sessions --today
openrouter-usage sessions --week
openrouter-usage sessions --month
openrouter-usage sessions --date 2026-02-25
openrouter-usage sessions --from 2026-02-01 --to 2026-02-15
Filtering and output
openrouter-usage report --agent main # specific agent only
openrouter-usage report --format json # JSON output
openrouter-usage sessions --today --utc # use UTC instead of local timezone
Notes
- API key auto-discovered from OpenClaw auth store or
OPENROUTER_API_KEYenv var. - Session parsing is fully local — reads
~/.openclaw/agents/*/sessions/*.jsonl. - Date filters use local timezone by default. Pass
--utcto override. - Zero dependencies beyond Python 3 stdlib.
Установить openrouter-usage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openrouter-usage?
Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.
Как установить скилл openrouter-usage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openrouter-usage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic