cost-analytics
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cost-analytics":https://skillpi.com/zh/skills/deepskill-b1c9927b4ab63fc9e779493d5b4c2af7c7d0e10dd89e6b6b395005b468bca927。安装前核对上游来源和版本:https://github.com/modimihir07/agentic-os。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
跟踪所有提供商的令牌使用情况和 API 成本:记录并汇总各供应方的令牌/调用使用与对应成本数据。
介绍来源: third_party · modimihir07 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: cost-analytics
description: Tracks token usage and API costs across all providers
version: 1.0.0
author: Agentic OS
tags: [cost, analytics, tracking, budget]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
版本历史
-
v1.0
GitHub ↗
原版更新说明
## Agentic OS v1.0 — Initial Release Agentic OS is an autonomous, self-improving multi-agent work operating system coordinating **opencode**, **Hermes Agent**, and **agy**. ### Highlights - **3-Agent Execution Engine**: opencode (code/DevOps), Hermes (memory/scheduling/channels), and agy (research/analysis) - **7-Layer Architecture**: Identity, Self-Evolution, Scheduler & Awareness, Memory Graph, Skills Hub & Eval, Business Brain, and Agent Router - **Skills Hub**: 15 modular, self-improving skills with learnings, evaluation scoring, and context memory - **Persistent Memory Layer**: Shared business brain, context memory, and decision logs - **Interactive Web Dashboard**: Glassmorphism SPA built with FastAPI and Tailwind with real-time health, cost analytics, and one-click skill execution - **Automated Scheduling & Heartbeat**: Periodic awareness and health checks - **Disaster Recovery & Git Auto-Versioning**: One-click system snapshots and rollback support
-
v4.0
GitHub ↗
原版更新说明
## Agentic OS v4.0 ### Major Changes - **agy (Antigravity) replaces Gemini CLI** across backend, routing, frontend, skills, agents/, and docs - **Port auto-kill** in start.sh for clean restarts - **APScheduler auto-install** in scheduler.py ### New Features - Chat History Search with query, agent, and limit filters - Chat File Attachments (multipart upload, 2MB allowlist, 24h TTL) - Memory Knowledge Graph with Canvas renderer - Code Diff Viewer integrated into Skills page ### Testing - 74 tests (up from 59), including 15 new isolated v4.0 feature tests ### Bug Fixes - Cache and layout fixes across dashboard - Stale pip references updated for uv
-
v3.0
GitHub ↗
原版更新说明
## Agentic OS v3.0 ### New Features - Event-Driven Scheduler with webhook triggers - Error Dashboard for tracking and diagnosing issues - Persistent Memory Search via SQLite FTS5 - Auto-Skill Generator for creating skills from templates - Webhooks integration for external service triggers - Mobile PWA support for on-the-go access - Circuit Breaker pattern for resilient agent communication ### Security - Path traversal prevention - XSS sanitization - Information disclosure fixes - Security headers hardening
-
v2.0
GitHub ↗
原版更新说明
## Agentic OS v2.0 ### New Features - Kanban Board with drag-and-drop task management - Goals tracker with progress visualization - Journal with daily markdown entries - Agent Health monitoring dashboard - Smart Router for intelligent task delegation - Learning Analytics with skill performance trends - Session Replay for reviewing past interactions ### UI Modernization - 58 API endpoints (28 original + 30 new) - 7 new dashboard pages - Refreshed design with modern components
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供跨提供商的令牌使用和 API 成本跟踪功能
- 支持每日/每周/每月预测和预算警报
- 适用于需要监控预算和成本的用户场景
待提升项
-
触发词覆盖不全 原报告严重程度:轻微
触发词未覆盖所有可能的成本相关查询场景
改进建议:建议增加更多成本相关的触发词,如 'expense', 'spending', 'usage' 等
亮点
- description 明确描述了核心功能
- tags 包含相关关键词
待提升项
-
缺少端到端示例 原报告严重程度:轻微
文档中缺少具体的执行示例
改进建议:建议添加一个完整的成本分析执行示例,展示输入和输出格式
-
文档结构可优化 原报告严重程度:轻微
Process 步骤可以更详细地描述每个步骤的具体操作
改进建议:建议为每个步骤添加更详细的说明和预期行为
亮点
- 包含清晰的 Process 步骤划分
- 有明确的 When to Use 场景描述
- Output 部分描述了预期的输出内容
待提升项
-
工具来源不明 原报告严重程度:重大
未明确说明 cost-history.json 和 settings.json 的来源和格式
改进建议:建议明确说明这些配置文件的来源、格式要求和默认位置
-
异常处理缺失 原报告严重程度:重大
未提及文件读取失败、数据格式错误等异常情况的处理机制
改进建议:建议添加异常处理逻辑,如文件不存在时的默认行为、数据验证等
亮点
- 提到了与设置文件的集成
- 有明确的输出格式描述
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。