本文へ移動
cccskills
無料GitHub で公開日本語紹介

omni-usage-logs

AIへの呼び出し履歴を提供元・モデル・期間・費用などで絞り込み、利用量を集計します。ログの書き出し、予算設定、応答速度やキャッシュの状況確認にも対応します。

原文原文の説明を見る

Access detailed call logs and usage analytics. Filter by provider, model, time range, status, and cost. Export logs and aggregate token usage across all connections.

AI評価70点/ 100インストール方法を見る

こんなときに便利

  • ログを絞り込んで失敗を調べたいとき
  • 接続全体のトークン使用量と費用の集計
  • 予算とトークン上限の設定
  • 提供元・モデル別の応答速度比較
  • プロンプトキャッシュの利用状況確認

日本語での紹介

できること

AIへの呼び出し履歴と利用状況を調べます。提供元、モデル、期間、ステータス、費用でログを絞り込み、個別の呼び出しや接続ごとの利用量を確認できます。ログの書き出しや全接続のトークン使用量の集計に加え、予算とAPIキー別のトークン上限の設定にも対応します。モデル・提供元別の応答時間や、同じ入力を再利用するプロンプトキャッシュの状況も取得できます。

こんなときに便利

費用や使用量の内訳を調べたいとき、失敗したリクエストを追いたいときに向いています。モデルごとの応答速度を比較したり、キャッシュへの書き込み・読み出しの傾向を確認したりする運用作業にも使えます。

使い方の例

  • 「指定期間の呼び出しをモデル別に絞り込み、使用量を集計して」
  • 「現在の予算上限と消費状況を確認して」
  • 「提供元とモデル別の応答時間を比較して」

注意点

APIには有効なBearerトークンまたはセッションCookieが必要です。キャッシュ統計の対象は、キャッシュ情報が記録された成功呼び出しです。応答時間の統計は、成功件数が指定の最低件数に満たない場合、失敗を含む全サンプルへ切り替わります。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

客観評価

SKILL.md の中身だけを根拠に、AI が 4 つの観点で判定しました。スター数や人気は判定に入れていません。

指示の明確さいつ使い、何をするかが読み取れるか
A良好概要にログの絞り込みと使用量集計が明記されています。
手順の具体性手順・入出力・例が具体的に書かれているか
B一部不足各APIにcurl例がありますが、予算設定の本文は空で必須項目が不明です。
安全面送信・削除・コマンド実行などの扱いが明示されているか
B一部不足予算変更とトークン上限削除のAPIがありますが、実行前の確認手順はありません。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足認証トークンの取得先はありますが、ローカルAPIの起動手順はありません。

合計点は、各項目を A=25点・B=15点・C=5点として足したものです。 2026年10月22日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md7.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Access detailed call logs and usage analytics. Filter by provider, model, time range, status, and cost. Export logs and aggregate token usage across all connections.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/usage/analytics

Get usage analytics

curl http://localhost:20128/api/usage/analytics \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/call-logs

Get call logs

curl http://localhost:20128/api/usage/call-logs \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/call-logs/filters

Get call log filter options

Distinct providers, models, accounts and API keys seen in call logs, plus every configured API key (id and name only). Feeds the Logs tab filter dropdowns.

curl http://localhost:20128/api/usage/call-logs/filters \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/call-logs/{id}

Get a specific call log

curl http://localhost:20128/api/usage/call-logs/{id} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/{connectionId}

Get usage for a specific connection

curl http://localhost:20128/api/usage/{connectionId} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/history

Get usage history

curl http://localhost:20128/api/usage/history \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/logs

Get usage logs

curl http://localhost:20128/api/usage/logs \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/proxy-logs

Get proxy logs

curl http://localhost:20128/api/usage/proxy-logs \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/request-logs

Get request logs

curl http://localhost:20128/api/usage/request-logs \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/budget

Get usage budget status

Returns current budget limits and consumption.

curl http://localhost:20128/api/usage/budget \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/usage/budget

Configure usage budget

Set or update budget limits for usage tracking.

curl -X POST http://localhost:20128/api/usage/budget \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/usage/cache-health

Get prompt-cache health summary

Summarizes the write/read cache ratio from call_logs for a time window: distribution (p50/p90/p99/max of cache-write tokens), warm/cold/rewrite/uncached call counts, the "heavy write" outlier share (10x the window median, floored at 1024 tokens — Anthropic's cache-creation minimum), and a per-model breakdown. Only successful (status = 200) calls with a non-null cache column are counted.

curl http://localhost:20128/api/usage/cache-health \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/model-latency-stats

Get per-model/provider latency statistics

Aggregates usage_history rows into per-(provider, model) latency stats (avg/p50/p95/p99, std-dev, TTFT, tokens/sec) over a rolling window. Falls back from successful-only to all-sample rows when the successful count is below minSamples.

curl http://localhost:20128/api/usage/model-latency-stats \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/budget/bulk

GET usage › budget › bulk

curl http://localhost:20128/api/usage/budget/bulk \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/codex-reset-credit

GET usage › codex reset credit

curl http://localhost:20128/api/usage/codex-reset-credit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/usage/codex-reset-credit

POST usage › codex reset credit

curl -X POST http://localhost:20128/api/usage/codex-reset-credit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/usage/combo-forecast

GET usage › combo forecast

curl http://localhost:20128/api/usage/combo-forecast \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/combo-health

GET usage › combo health

curl http://localhost:20128/api/usage/combo-health \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/combo-health-autopilot

GET usage › combo health autopilot

curl http://localhost:20128/api/usage/combo-health-autopilot \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/combo-health-dashboard

GET usage › combo health dashboard

curl http://localhost:20128/api/usage/combo-health-dashboard \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/combo-scoring-inspector

GET usage › combo scoring inspector

curl http://localhost:20128/api/usage/combo-scoring-inspector \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/combo-trace/{id}

GET usage › combo trace › <id>

curl http://localhost:20128/api/usage/combo-trace/{id} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/om-usage

GET usage › om usage

curl http://localhost:20128/api/usage/om-usage \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/provider-limits

GET usage › provider limits

curl http://localhost:20128/api/usage/provider-limits \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/usage/provider-limits

POST usage › provider limits

curl -X POST http://localhost:20128/api/usage/provider-limits \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/usage/provider-window-costs

GET usage › provider window costs

curl http://localhost:20128/api/usage/provider-window-costs \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/quota

GET usage › quota

curl http://localhost:20128/api/usage/quota \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/requests-by-provider-date

GET usage › requests by provider date

curl http://localhost:20128/api/usage/requests-by-provider-date \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/route-explain/{id}

GET usage › route explain › <id>

curl http://localhost:20128/api/usage/route-explain/{id} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/token-limits

GET usage › token limits

curl http://localhost:20128/api/usage/token-limits \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/usage/token-limits

POST usage › token limits

Save a per-key token limit. A key holds one limit per scope and reset interval, so daily, weekly and monthly limits for the same scope coexist. Without id, a new limit is added (or the key's limit for the same scope and interval is updated); with id, that limit is updated.

curl -X POST http://localhost:20128/api/usage/token-limits \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/usage/token-limits

DELETE usage › token limits

curl -X DELETE http://localhost:20128/api/usage/token-limits \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

GET /api/usage/utilization

GET usage › utilization

curl http://localhost:20128/api/usage/utilization \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

cli-a2a

無料概要ありAI評価 90点

コマンドラインからOmniRouteのA2Aサーバーへタスクを送り、実行履歴やログの確認、進行状況の監視、エージェント間通信のテストを行うスキル。

  • サーバー状態とスキルを確認したいとき
  • JSON入力でスキルを呼び出したいとき
  • タスクの実行履歴やログの確認
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-backup-sync

無料概要ありAI評価 70点

OmniRouteのデータをコマンドでバックアップ・復元するスキル。差分保存、暗号化、クラウド同期、定期実行の設定や同期用ファイルの入出力を扱います。

  • 設定変更前にバックアップしたいとき
  • 定期バックアップと保持数の設定
  • クラウドへデータを同期したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-batches

無料概要あり

AIへの推論リクエストをまとめてコマンドから投入し、進行状況の確認から結果・エラーの保存まで扱います。処理用ファイルの管理やCI/CDへの組み込みにも使えます。

  • JSONLからAIリクエストを一括投入
  • バッチの進行確認と完了待ち
  • 処理結果とエラーの保存
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-chat

無料概要ありAI評価 90点

端末からLLMに質問を送り、回答の逐次表示や対話を行うスキルです。ファイル入力、モデル選択、システムプロンプトの指定にも対応します。

  • 端末からAIに質問したいとき
  • ファイルの内容を質問に使いたいとき
  • 回答を逐次表示して保存したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-compression

無料概要ありAI評価 80点

プロンプトを短くする圧縮設定をコマンドラインで管理し、RTKやCavemanのルール、複数方式の組み合わせを調整して、実際の入力で結果を確認するスキル。

  • 実際の入力で圧縮結果を確認したいとき
  • RTKやCavemanのルール調整
  • 複数の圧縮方式を比較したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-contexts

無料概要ありAI評価 80点

コマンドラインでAIに渡す情報の処理設定やフィルターを調整し、OmniRouteの接続先の切り替えと会話セッションの確認・管理を行うスキル。

  • トークン予算やフィルターを調整したいとき
  • 登録済みの接続先を切り替えたいとき
  • 接続設定をJSONで入出力したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cheaper-inference のスキルをすべて見る

このスキルの問題を報告する