AgentStack
SKILL verified MIT Self-run

Cost Analytics

skill-modimihir07-agentic-os-cost-analytics · by modimihir07

Tracks token usage and API costs across all providers

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-modimihir07-agentic-os-cost-analytics

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Cost Analytics? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

  • After each agent API call (auto-triggered)
  • Daily cost report generation
  • When checking budget status

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

  • Primary: opencode

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.