Install
$ agentstack add skill-modimihir07-agentic-os-cost-analytics ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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
- Read latest cost-history.json
- Compute today's total tokens by agent
- Compute weekly and monthly projections
- Compare against free-tier limits from settings.json
- Generate alert if approaching limits (80%, 90%, 95%)
- 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.
- Author: modimihir07
- Source: modimihir07/agentic-os
- License: MIT
- Homepage: https://modimihir07.github.io/agentic-os/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.