Ruflo Cost Tracker

Ruflo Cost Tracker from gabrielmoreira/agent-skills-mirror.

by @gabrielmoreira 20 skills

Skills in this plugin

20
  1. Cost Burn · gabrielmoreira
    Burn-rate trend over time with optional drift-alert exit code. Bins session spend into buckets, surfaces window-over-window delta, and can exit 1 when latest bucket exceeds prior mean by a configurable %. Distinct from `cost-trend` (benchmark drift); this tracks PRODUCTION spend trajectory.
    17 repo stars
  2. Cost Diff · gabrielmoreira
    Snapshot delta between two cost-summary JSON outputs. PR-level cost regression detection — answers "what changed between these two specific snapshots?". Pairs with cost-summary's stable JSON contract.
    17 repo stars
  3. Cost Track · gabrielmoreira
    Auto-capture per-session token usage from the Claude Code session jsonl and persist to the cost-tracking namespace
    17 repo stars
  4. Cost Trend · gabrielmoreira
    Read every docs/benchmarks/runs/*.json and surface drift in win rate, latency, escalation rate, and LLM-baseline cost over time
    17 repo stars
  5. Cost Export · gabrielmoreira
    Export cost-tracking telemetry in Prometheus textfile or webhook JSON formats — for external observability (Grafana, Datadog, custom dashboards)
    17 repo stars
  6. Cost Health · gabrielmoreira
    Composite CI gate — runs cost-budget-check + cost-burn + cost-anomaly + cost-projection in parallel and surfaces a single combined health status with max exit code. The operationally-useful entry point — one shell-out covers all four alert ladders.
    17 repo stars
  7. Cost Report · gabrielmoreira
    Generate a cost report showing token usage and USD costs by agent and model
    17 repo stars
  8. Cost Anomaly · gabrielmoreira
    MAD-based outlier detection on session spend. Robust to the very outliers it hunts (unlike mean+sigma). Surfaces specific anomalous sessions with modified-z scores; optional --alert-on-outliers exit code for CI gates. Distinct from cost-burn (aggregate trend) — this answers "which INDIVIDUAL session is the outlier?".
    17 repo stars
  9. Cost Session · gabrielmoreira
    Per-message cost breakdown within a single session. The drill-down companion to cost-anomaly — when an outlier session is flagged, this surfaces the specific expensive messages so operators can see whether the cost came from output tokens, cache writes, or model escalations.
    17 repo stars
  10. Cost Summary · gabrielmoreira
    Single-shot programmatic dump of all cost data — total spend, per-tier, top session, budget status, federation aggregate. JSON or markdown.
    17 repo stars
  11. Cost Optimize · gabrielmoreira
    Analyze token usage patterns and recommend cost optimizations with estimated savings
    17 repo stars
  12. Cost Benchmark · gabrielmoreira
    Run the corpus benchmark — booster locally, optional Gemini/Sonnet/Opus baselines — and persist a verifiable measured-vs-claimed table
    17 repo stars
  13. Cost Federation · gabrielmoreira
    Consumer-side wiring for ADR-097 Phase 3 federation_spend events — per-peer rolling windows + suspension-threshold check
    17 repo stars
  14. Cost Projection · gabrielmoreira
    Forward-looking spend extrapolation. Computes a USD-per-day rate from the recent measurement window, projects to 7d/30d/90d/365d horizons, and surfaces "days until budget exhausted" when a budget is configured. Predictive counterpart to `cost-budget-check` (reactive).
    17 repo stars
  15. Cost Booster Edit · gabrielmoreira
    Apply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.
    17 repo stars
  16. Cost Budget Check · gabrielmoreira
    Read accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder
    17 repo stars
  17. Cost Conversation · gabrielmoreira
    Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
    17 repo stars
  18. Cost Booster Route · gabrielmoreira
    Route tasks through hooks_route, partition by Agent Booster availability, and report Tier 1 bypass utilization with $0 cost
    17 repo stars
  19. Cost Counterfactual · gabrielmoreira
    Multi-baseline counterfactual cost analysis. Compares actual session spend to hypothetical always-haiku / always-sonnet / always-opus routing baselines. Answers "is the routing earning its keep?" Negative savings flag over-escalation; positive savings quantify the router's win.
    17 repo stars
  20. Cost Compact Context · gabrielmoreira
    Wrap getTokenOptimizer().getCompactContext() to retrieve compacted ReasoningBank context for cost-analysis queries; report bridge-reported tokensSaved
    17 repo stars