跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Cost Budget Check

技能 已验证 活跃

Read accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder

目的

To automatically monitor and alert on cloud cost utilization against predefined budgets, ensuring cost control and preventing overspending.

功能

  • Compute cost utilization against budget
  • Emit 4-tier alert ladder (INFO, WARNING, CRITICAL, HARD_STOP)
  • Support for filtering by time period (today, week, month, all)
  • Provide machine-readable JSON output
  • Allow setting and retrieving budget limits

使用场景

  • Automatically alert teams when cost utilization reaches predefined thresholds
  • Prevent accidental overspending by halting non-essential operations at 100% utilization
  • Integrate cost monitoring into CI/CD pipelines or agent workflows
  • Continuously monitor costs via cron jobs or agent loops

非目标

  • Performing actual cost optimization actions
  • Tracking costs for non-LLM related services
  • Providing historical cost trend analysis beyond the current budget period

工作流

  1. Read accumulated cost-tracking spend and budget configuration
  2. Compute current utilization percentage
  3. Compare utilization against the 4-tier alert ladder
  4. Emit a markdown summary or JSON output detailing status and recommended action
  5. Exit with code 1 if utilization reaches 100% (HARD_STOP)

实践

  • Cost Management
  • Alerting
  • Budgeting

先决条件

  • Node.js runtime
  • Access to cost-tracking data (session-* records from cost-track)

安装

请先添加 Marketplace

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-cost-tracker@ruflo

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标50.2k
许可证MIT
状态
查看源代码

类似扩展

Cost Tracker

98

Track session costs, set budget alerts, and optimize token spend. Use to check costs mid-session or set spending limits.

技能
rohitg00

Ops Revenue

100

Revenue and costs tracker. AWS spend via aws ce, credits tracker, project revenue stages. Shows burn rate, runway estimate, credits expiring.

技能
Lifecycle-Innovations-Limited

Usage Tracker

100

跟踪每次本地 Claude Code 使用情况并进行报告:消耗的 token 数、预估成本(欧元)、会话数、项目数以及工具细分。当用户询问有关消耗、积分、使用情况、每次请求的成本、想要查看报告、询问特定请求为何昂贵、怀疑某个进程正在消耗 token、想要优化 Claude Code 使用情况或想要审核每次请求的工具使用情况时使用。还会触发对西班牙语短语的响应:'cuánto me está costando', 'cuántos tokens', 'consumo de hoy', 'qué petición fue cara', 'está consumiendo mucho', 'optimizar consumo', 'reporte de uso', 'ver uso', 'instalar tracker', 'hook no registra'。命令:/usage-tracker report [hoy|semana|mes|all] [proyecto], /usage-tracker top-requests [hoy|semana], /usage-tracker install, /usage-tracker status

技能
j4rk0r

Mcp Audit

99

Audit connected MCP servers for token overhead, redundancy, and security. Use when sessions feel slow or before adding new MCPs.

技能
rohitg00

Cost Summary

98

Single-shot programmatic dump of all cost data — total spend, per-tier, top session, budget status, federation aggregate. JSON or markdown.

技能
ruvnet

Cost Federation

98

Consumer-side wiring for ADR-097 Phase 3 federation_spend events — per-peer rolling windows + suspension-threshold check

技能
ruvnet