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

Ruflo Cost Tracker

插件 已验证 活跃
属于:Ruflo

Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations — uses memory_* (namespace-routed) for cost-tracking and cost-patterns; pairs with federation budget circuit breaker (ADR-097)

13 个 Skill 0 个 MCP
目的

To provide AI agents and their operators with granular control and visibility over token usage costs, enabling efficient budgeting and optimization.

功能

  • Token usage tracking per agent, task, model
  • USD cost attribution using current model pricing
  • Configurable budget monitoring with tiered alerts
  • Cost optimization recommendations with estimated savings
  • Telemetry export to Prometheus and webhooks
  • Integration with Agent Booster for zero-cost transforms

使用场景

  • Monitor daily/weekly/monthly AI agent spending.
  • Identify agents or conversations consuming excessive budget.
  • Receive alerts when approaching or exceeding budget thresholds.
  • Optimize AI agent workflows to reduce LLM token costs.

非目标

  • Replacing core LLM functionality.
  • Directly managing LLM model pricing (assumes fixed, documented rates).
  • Real-time, in-flight LLM cost modification (focuses on post-usage analysis and optimization).

安装

请先添加 Marketplace

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

包含 13 个扩展

Skill (13)

Cost Benchmark 技能

Run the corpus benchmark — booster locally, optional Gemini/Sonnet/Opus baselines — and persist a verifiable measured-vs-claimed table

99
Cost Booster Edit 技能

Apply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.

95
Cost Booster Route 技能

Route tasks through hooks_route, partition by Agent Booster availability, and report Tier 1 bypass utilization with $0 cost

99
Cost Budget Check 技能

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

99
Cost Compact Context 技能

Wrap getTokenOptimizer().getCompactContext() to retrieve compacted ReasoningBank context for cost-analysis queries; report bridge-reported tokensSaved

97
Cost Conversation View 技能

Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost

98
Cost Export 技能

Export cost-tracking telemetry in Prometheus textfile or webhook JSON formats — for external observability (Grafana, Datadog, custom dashboards)

98
Cost Federation 技能

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

98
Cost Optimize 技能

Analyze token usage patterns and recommend cost optimizations with estimated savings

95
Cost Report 技能

Generate a cost report showing token usage and USD costs by agent and model

78
Cost Summary 技能

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

98
Cost Track 技能

Auto-capture per-session token usage from the Claude Code session jsonl and persist to the cost-tracking namespace

97
Cost Trend 技能

Read every docs/benchmarks/runs/*.json and surface drift in win rate, latency, escalation rate, and LLM-baseline cost over time

97

质量评分

已验证
98 /100
1 day ago 分析

信任信号

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