Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-cost-conversation-f569ec964b74 ,按照其中的说明把「cost-conversation」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
cost-report and cost-optimize aggregate by agent and model. This skill aggregates by conversation (session) — a different lens that surfaces which conversations cost the most. Useful for retrospectives ("which sessions ran long on Opus?") and for evaluating whether a given project's session pattern is sustainable.
CONV_NAMESPACE=cost-tracking-<project>.Run the script from anywhere:
node plugins/ruflo-cost-tracker/scripts/conversation.mjs
Optional env:
CONV_FORMAT=json — emit JSON instead of markdownCONV_LIMIT=20 — show only the most recent N conversationsCONV_NAMESPACE=cost-tracking — override target namespaceInspect the markdown table — total cost across all conversations, per-tier rollup, then a per-session table (started-at, sessionId prefix, message count, top model, cost).
cost-track — the producer that populates cost-tracking:session-*cost-report — same data, per-agent / per-model lenscost-trend — drift across bench runs (different axis: corpus runs vs conversations)cost-budget-check — sums across conversations to evaluate the budget threshold