跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的全部技能

报告此技能的问题