Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Prasanth595v0.16.1MITIn 1 marketplace
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)
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
ruflo, cost, tokens, budget, optimization, usage, namespace-routing, mcp ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations.
Tracks token usage per agent, task, and model, then computes USD cost attribution using current model pricing. Monitors configurable budgets with tiered alerts (info at 50%, warning at 75%, critical at 90%, hard stop at 100%). Analyzes usage patterns and recommends optimizations such as model downgrades, prompt caching, and batch operations.
claude --plugin-dir plugins/ruflo-cost-tracker
| Agent | Model | Role |
|---|---|---|
cost-analyst | haiku | Token usage tracking, USD cost attribution, budget monitoring, optimization recommendations |
| Skill | Usage | Description |
|---|---|---|
cost-report | /cost-report [--period today] | Generate a cost report with token usage and USD costs by tier, model, and agent |
cost-optimize | /cost-optimize | Analyze usage patterns, recommend cost optimizations, and emit hooks_model-outcome events |
cost-track | /cost-track | Auto-capture per-session token usage from the Claude Code jsonl into cost-tracking namespace (producer side) |
cost-budget-check | /cost-budget-check [--period today|week|month|all] | Read totals + budget config, emit 50/75/90/100% alert ladder; exit 1 on HARD_STOP |
cost-booster-route | /cost-booster-route <task> | Route tasks via hooks_route and report Agent Booster (Tier 1) bypass utilization |
cost-booster-edit | /cost-booster-edit <intent> <file> | Apply a Tier 1 transform via agent-booster.apply() (sub-millisecond, $0, deterministic) |
cost-benchmark | /cost-benchmark [--llm] [--anthropic] | Run the corpus benchmark and persist measured-vs-claimed table to docs/benchmarks/runs/ |
cost-trend | /cost-trend | Read all bench runs and surface drift (win rate, latency, speedup) — flags regressions the smoke gate misses |
cost-conversation | /cost-conversation | Per-conversation cost view (different lens from cost-report's per-agent / per-model) |
cost-export | /cost-export [--prometheus <path>] [--webhook <url>] | Emit cost data as Prometheus textfile or POST to a webhook |
cost-federation | /cost-federation | ADR-097 Phase 3 consumer — per-peer 1h/24h/7d federation_spend rolling windows |
cost-summary | /cost-summary [--format json|markdown] | Single-shot programmatic dump of all cost data (stable JSON contract for inter-plugin consumption) |
cost-compact-context | /cost-compact-context <query> | Wrap getTokenOptimizer().getCompactContext() for retrieval-compacted analysis (graceful fallback when agentic-flow not installed) |
cost track # Auto-capture this session's token usage (producer)
cost report [--period today|week|month] # Cost report (with By-tier block, reads measured booster data)
cost breakdown [--by agent|model|task] # Detailed breakdown by dimension
cost optimize # Analyze usage and suggest savings (+ auto-emits hooks_model-outcome via outcome.mjs)
cost outcome <task> <model> <outcome> # Emit hooks_model-outcome (success|escalated|failure) so the router learns
cost budget set <amount> # Set USD budget (real impl, persists to cost-tracking)
cost budget get # Show current budget config
cost budget check [--period ...] # Compute utilization + alert; exit 1 on HARD_STOP
cost benchmark [--llm] [--anthropic] # Run measured benchmark — booster + optional Gemini/Sonnet/Opus baselines
cost trend # Drift across bench runs (win rate, latency, regressions)
cost conversation # Per-conversation cost view
cost summary [--format json|markdown] # Programmatic JSON contract for inter-plugin consumption
cost export [--prometheus] [--webhook] # External observability — Prometheus textfile + webhook POST
cost federation # ADR-097 Phase 3 federation_spend consumer
cost workers # Inspect optimize + benchmark loop-workers consumed
cost history # Show cost tracking over time
Four upstream capabilities are now wired to the cost-tracker surface — every optimization recommendation maps to a real tool, not a heuristic:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub prasanth595/ruflo-mirror --plugin ruflo-cost-trackerPlugins from other owners that cover similar ground