本文へ移動
cccskills
無料GitHub で公開

model-usage

Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kitスター 2(GitHub 2 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

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

Model usage

Overview

Get per-model usage cost from CodexBar's local cost logs. Supports "current model" (most recent daily entry) or "all models" summaries for Codex or Claude.

TODO: add Linux CLI support guidance once CodexBar CLI install path is documented for Linux.

Quick start

  1. Fetch cost JSON via CodexBar CLI or pass a JSON file.
  2. Use the bundled script to summarize by model.
python {baseDir}/scripts/model_usage.py --provider codex --mode current
python {baseDir}/scripts/model_usage.py --provider codex --mode all
python {baseDir}/scripts/model_usage.py --provider claude --mode all --format json --pretty

Current model logic

  • Uses the most recent daily row with modelBreakdowns.
  • Picks the model with the highest cost in that row.
  • Falls back to the last entry in modelsUsed when breakdowns are missing.
  • Override with --model <name> when you need a specific model.

Inputs

  • Default: runs codexbar cost --format json --provider <codex|claude>.
  • File or stdin:
codexbar cost --provider codex --format json > /tmp/cost.json
python {baseDir}/scripts/model_usage.py --input /tmp/cost.json --mode all
cat /tmp/cost.json | python {baseDir}/scripts/model_usage.py --input - --mode current

Output

  • Text (default) or JSON (--format json --pretty).
  • Values are cost-only per model; tokens are not split by model in CodexBar output.

References

  • Read references/codexbar-cli.md for CLI flags and cost JSON fields.

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

Agent islemlerini policy'ye gore denetle. Hassas islem oncesi governance kontrolu calistir. Tetikleyiciler: destructive komut, dosya sistemi erisimi, rate limit, butce kontrolu, trust score yonetimi.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

Evaluate and improve AgentSystem learning quality for memory/self-compound jobs. Use when bots forget, write filler summaries, fail to update learnings, or memory quality regresses over time.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

Operate and validate AgentSystem live quality alarm (systemd timer + alert state) to keep memory/proactivity/consistency regressions visible in real time.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

Audit and improve AgentSystem memory retention, proactive behavior, learning quality, and agent consistency. Use when bots forget context, skip memory writes, wait for explicit prompts, or repeat the same errors across runs.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

Audit and remediate AgentSystem cron output hygiene by detecting raw tool logs, stack traces, and noisy summaries. Use when jobs leak 403/429/internal details, summaries are not user-safe, or post-change validation is required.

日本語の概要は準備中です。原文の説明を表示しています。

mahsumaktas/agent-evolution-kit22026年3月4日 更新

mahsumaktas のスキルをすべて見る

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