Cost analytics

From modimihir07/agentic-os · View interactive version

Cost analytics is an AI agent skill from the GitHub repository modimihir07/agentic-os. Tracks token usage and API costs across all providers

How to use this skill

Skill file

Cost Analytics

Description

Tracks token consumption and API costs across opencode, Hermes, and Gemini CLI. Computes daily/weekly/monthly projections and alerts when approaching free-tier limits.

When to Use

Process

  1. Read latest cost-history.json
  2. Compute today's total tokens by agent
  3. Compute weekly and monthly projections
  4. Compare against free-tier limits from settings.json
  5. Generate alert if approaching limits (80%, 90%, 95%)
  6. Update cost-analytics chart data

Output

Cost report with: per-agent breakdown, projections, alerts, recommendations

Agent Assignment

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.