cost-tracker

Aggregate tokens, API usage, and execution time to generate per-skill and session cost reports.

22|6|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/felvieira/claude-skills-fv --skill cost-tracker-felvieira
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cost-tracker
Source: https://github.com/felvieira/claude-skills-fv/tree/main/skills/30-cost-tracker
Command: npx skills add https://github.com/felvieira/claude-skills-fv --skill cost-tracker-felvieira

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tracks and consolidates cost drivers in a session-based workflow by aggregating tokens, API calls, model usage, and runtime to produce a detailed budget view.

Core Features & Use Cases

  • Tracks tokens consumed per skill, external API calls, and model usage across the session.
  • Generates per-skill and total session cost reports and persists cost history for benchmarking.
  • Use case: end-of-session cost review for budgeting and optimization.

Quick Start

Run the Cost Tracker at the end of a session to produce a detailed cost report.

Frequently Asked Questions about cost-tracker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track token usage and API call costs in a session-based pipeline?▼

Token usage and API call cost tracking is achieved by aggregating consumed tokens, external API calls, and execution time across a session. The tracker calculates per-skill cost breakdowns and a final cost report for budgeting.

What is pipeline observability for session costs and how does it work?▼

Pipeline observability for session costs involves tracking model usage and token accounting per skill within a pipeline. It ensures external API usage tracking and execution time monitoring to produce a comprehensive cost breakdown.

Does this cost tracking tool support historical cost persistence for benchmarking?▼

Historical cost persistence is supported to enable budgeting and benchmarking. The tracker persists cost history alongside per-skill cost breakdowns, allowing you to compare past session costs and optimize future token usage.

How do I generate a per-skill cost breakdown for an end-of-session review?▼

To generate a per-skill cost breakdown, run the tracker at the end of a session to aggregate token consumption and execution time. It produces a final cost report detailing individual skill expenses and total session cost.

What is the best way to monitor external API usage and model usage visibility across a session?▼

Monitoring external API usage and model visibility is best handled by applying a cost tracker to your session pipeline. It aggregates API calls and model usage data to calculate session costs and generate a final cost report.