Cost

Monitor AI token consumption and costs across sessions, agents, and sprints.

1|Updated Jun 26, 2025
One-click install
npx skills add https://github.com/intrale/platform --skill cost-intrale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cost
Source: https://github.com/intrale/platform/tree/main/.claude/skills/cost
Command: npx skills add https://github.com/intrale/platform --skill cost-intrale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fs, path, child_process, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of monitoring and understanding the token consumption of AI agents, providing clear cost breakdowns and budget tracking.

Core Features & Use Cases

  • Token Cost Estimation: Calculates estimated token usage and associated costs based on session duration and tool calls.
  • Usage Reporting: Generates detailed reports on consumption by session, agent, and sprint.
  • Budget Monitoring: Tracks spending against a weekly budget and provides visual progress indicators.
  • Use Case: A project manager can use this Skill to get a weekly summary of AI token expenses, identify the most costly agents, and ensure the project stays within its allocated budget.

Quick Start

Show me the cost breakdown for the current sprint.

Frequently Asked Questions about Cost

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

FAQPage Schema
How do I track AI token usage and calculate costs by agent?

AI token usage and costs are tracked by monitoring session duration and tool calls, then calculating monetary expenses against configurable rates to break down consumption by agent.

How does token cost estimation work for AI sessions?

Token cost estimation calculates expected token usage by analyzing session duration and tool calls, then applies configurable rates to compute the monetary cost of the AI sessions.

Can I monitor token spending against a weekly budget?

Yes, budget monitoring tracks token spending against a defined weekly budget and provides visual progress indicators to ensure your project stays within the allocated limit.

How do I generate reports for AI token consumption across sprints?

You can generate detailed HTML and PDF reports analyzing token consumption across sessions, agents, and sprints to distribute and review AI token cost metrics.

What is the best way to analyze sprint costs for AI agents?

Sprint analysis for AI agents is performed by estimating token usage from tool calls and duration, then matching those estimates against configurable rates and weekly budgets.

Does this cost tracking tool require specific dependencies to run?

Yes, the cost tracking tool requires standard file system, path, and child process dependencies to execute scripts, estimate usage, and generate detailed reports.