本文へスキップ
Skillpedia
その他81k · #1597

cost-conversation

できること

このスキルは、記録されたAIのセッションを1つずつ、開始時刻、メッセージ数、主なモデル、合計コストとともに一覧にします。どの会話が最もコストがかかったかを知りたい人向けです。

使う場面

  • ✓過去のどの会話が高額だったかを振り返りたいとき。
  • ✓長いセッションを計画していて、先に典型的なコストを見たいとき。
  • ✓プロジェクトごとにまとめたコストの概要がほしいとき。

スキルのリンク

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-conversation/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-conversation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のAIの会話のうち、どれが最も高額でしたか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは記録されたセッションデータを読み、合計とモデルごとの内訳を含む表を作成します。最近の会話だけに絞ったり、JSON形式で出力させたりできます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Cost per Conversation

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.

When to use

  • After multiple sessions, to see total spend per conversation.
  • Before scoping a long session, to understand typical cost-per-conversation.
  • For per-project rollups via CONV_NAMESPACE=cost-tracking-<project>.

Steps

  1. Run the script from anywhere:

    node plugins/ruflo-cost-tracker/scripts/conversation.mjs
    

    Optional env:

    • CONV_FORMAT=json — emit JSON instead of markdown
    • CONV_LIMIT=20 — show only the most recent N conversations
    • CONV_NAMESPACE=cost-tracking — override target namespace
  2. Inspect 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).

Cross-references

  • cost-track — the producer that populates cost-tracking:session-*
  • cost-report — same data, per-agent / per-model lens
  • cost-trend — drift across bench runs (different axis: corpus runs vs conversations)
  • cost-budget-check — sums across conversations to evaluate the budget threshold
よくある質問

最新の会話だけを見られますか?

はい。上限の設定で、最新の会話だけを表示できます。

コストレポートとは何が違いますか?

コストレポートはエージェントとモデルごとに支出をまとめますが、このスキルは会話ごとにまとめます。

機械が読める形式で取得できますか?

はい。設定で、出力をJSON形式に切り替えられます。

詳細

作者による元の説明

Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1597
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル