Cost Conversation
Per-conversation cost view that ranks sessions by spend, message count, and top model.
- CCM score
- 63 of 100
- skills.sh installs
- 682
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a per-session rollup of every entry in the cost-tracking namespace, shown as a markdown table or JSON
- Reports started-at, session ID prefix, message count, top model, and total cost, plus a grand total and per-tier rollup
- Supports
CONV_LIMITto show only the most recent sessions andCONV_NAMESPACEfor per-project rollups - Designed for retrospectives on long sessions and for checking whether a project's session pattern is sustainable
Install
$ npx -y skills add ruvnet/ruflo --skill cost-conversation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
-
Run the script from anywhere:
node plugins/ruflo-cost-tracker/scripts/conversation.mjsOptional env:
CONV_FORMAT=json— emit JSON instead of markdownCONV_LIMIT=20— show only the most recent N conversationsCONV_NAMESPACE=cost-tracking— override target namespace
-
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
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Agent Workflow & Planning, Finance & Trading, Memory & Context
- First seen
- Jun 3, 2026
Questions
What does the cost-conversation skill do?
The cost-conversation skill gives a per-conversation cost view, listing every session in cost-tracking with its start time, message count, top model and total cost. It aggregates by session rather than by agent or model, which shows which conversations cost the most. The script prints a markdown table with per-tier rollups and can emit JSON instead.
How do I install the cost-conversation skill?
Run npx -y skills add ruvnet/ruflo --skill cost-conversation -y in your project. This installs the skill from the ruvnet/ruflo repository. Once installed, the agent can run the conversation cost script to report spend per session.
Which skills lead the cost-conversation skill in its category?
In the Agent Workflow & Planning category, cost-conversation sits alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Its distinct lens is session-level cost, which differs from the agent and model views of cost-report and cost-optimize. It suits retrospectives on which sessions ran long on expensive models.
Can I limit or filter the cost-conversation output?
Yes, the script accepts environment variables. CONV_LIMIT=20 shows only the most recent N conversations, CONV_FORMAT=json switches output to JSON, and CONV_NAMESPACE overrides the target namespace, for example cost-tracking-<project> for per-project rollups.
More from ruvnet/ruflo
All 236- Cost Export681
- Cost Benchmark679
- Cost Booster Edit679
- Browser674
- Witness656
- Swarm Orchestration2.1K
- Agent Arch System Design1.4K
- Security Audit1.4K
- Agent Workflow1.4K
- Github Project Management1.4K
- Workflow Automation1.3K
- Github Code Review1.3K
- Agent Swarm1.3K
- Agent Spec Mobile React Native1.3K
- Agent Trading Predictor1.3K
- Github Workflow Automation1.3K
- Agent Analyze Code Quality1.2K
- Agent Ops Cicd Github1.2K
- Agent Workflow Automation1.2K
- Memory Management1.2K
- Agent Performance Optimizer1.2K
- Agent Architecture1.2K
- Github Multi Repo1.2K
- Agent Coordination1.2K
Similar to Cost Conversation
More Agent Workflow & Planningcost-summarySkillruvnet/ruflo684 installsSingle-call JSON or markdown snapshot of total spend, per-tier costs, budget status, and federation totals.
cost-trackSkillruvnet/ruflo685 installsCaptures per-session Claude Code token usage and USD cost into the cost-tracking namespace for reporting.
McpspendMCP serverandreisirbu91-lab59 starsCost and usage data from MCPSpend: today's spend, monthly limits, top tools, and sessions.
cost-trackingSkillaffaan-m/ecc8.6K installsReports Claude Code token usage and spend from the local cost-tracker log, with per-session and per-model breakdowns.
session-reportSkillanthropics/claude-plugins-official4.9K installsGenerates an explorable HTML usage report from local Claude Code session transcripts, with anomaly callouts.
ChatsumMCP servermcpso1K starsRead access to a local chat message database, with summaries and insights from stored conversations.