Skip to content
Skillpedia
Misc81k Β· #1597

cost-conversation

What it does

This skill lists each AI session you have recorded, with its start time, message count, main model and total cost. It is for people who want to see which conversations cost the most.

When to use it

  • βœ“When you want to review which past conversations were expensive.
  • βœ“When you plan a long session and want to see typical costs first.
  • βœ“When you want a cost summary grouped by project.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-conversation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œShow me which of my AI conversations cost the most.”

5 new skills a week. 1 minute to read.

How it works

The skill reads the recorded session data and builds a table with a total and a per-model breakdown. You can limit it to recent conversations or ask for JSON output.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

Can I see only the latest conversations?

Yes. A limit setting shows only the most recent conversations.

How is this different from the cost report?

The cost report groups spending by agent and model, while this one groups it by conversation.

Can I get a machine-readable format?

Yes. A setting switches the output to JSON.

Details

Original description by the author

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

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1597
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills