ruflo-workflows
claudeVisual workflow automation with templates, orchestration, and lifecycle management
5 skills · 8 commands · 3 agents
Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations
Plugin ruflo-cost-tracker from marketplace ruflo in Army161/ruflo. Commands read from the repo's manifest — 1 month ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.
cost-anomalyMAD-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
cost-benchmarkRun the corpus benchmark — booster locally, optional Gemini/Sonnet/Opus baselines — and persist a verifiable measured-vs-claimed table
cost-booster-editApply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.
cost-booster-routeRoute tasks through hooks_route, partition by Agent Booster availability, and report Tier 1 bypass utilization with $0 cost
cost-budget-checkRead accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder
cost-burnBurn-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.
cost-compact-contextWrap getTokenOptimizer().getCompactContext() to retrieve compacted ReasoningBank context for cost-analysis queries; report bridge-reported tokensSaved
cost-conversationPer-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
cost-counterfactualMulti-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.
cost-diffSnapshot 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.
cost-exportExport cost-tracking telemetry in Prometheus textfile or webhook JSON formats — for external observability (Grafana, Datadog, custom dashboards)
cost-federationConsumer-side wiring for ADR-097 Phase 3 federation_spend events — per-peer rolling windows + suspension-threshold check
cost-healthComposite 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.
cost-optimizeAnalyze token usage patterns and recommend cost optimizations with estimated savings
cost-projectionForward-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).
cost-reportGenerate a cost report showing token usage and USD costs by agent and model
cost-sessionPer-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.
cost-summarySingle-shot programmatic dump of all cost data — total spend, per-tier, top session, budget status, federation aggregate. JSON or markdown.
cost-trackAuto-capture per-session token usage from the Claude Code session jsonl and persist to the cost-tracking namespace
cost-trendRead every docs/benchmarks/runs/*.json and surface drift in win rate, latency, escalation rate, and LLM-baseline cost over time
/ruflo-cost-tracker:ruflo-costCost tracking operations — generate reports, view breakdowns, set budgets, and get optimization recommendations
cost-analystTracks token usage per agent and model, computes cost attribution in USD, monitors budgets, and recommends optimizations
node -e "require(require('path').join(process.env.CLAUDE_PLUGIN_ROOT,'scripts','ruflo-hook.cjs'))"
Visual workflow automation with templates, orchestration, and lifecycle management
5 skills · 8 commands · 3 agents
Agent runtimes — local WASM-sandboxed agents (rvagent) + Anthropic Claude Managed Agents (cloud); one interface, local-vs-cloud backends
4 skills · 2 commands · 9 agents
MetaHarness integration — surfaces score/genome/mint/mcp-scan/threat-model via skills; pairs with @metaharness/router (ADR-148/149) for cost-optimal model routing; honors ADR-150 optional-augmentation constraint
13 skills · 1 command · 1 agent
Neural trading strategies — self-learning LSTM/Transformer/N-BEATS models with Rust/NAPI backtesting
9 skills · 1 command · 4 agents
Core Ruflo MCP tools, commands, and Claude Code orchestration patterns
5 skills · 2 commands · 4 agents · 1 MCP server · hooks
Agentic browser automation with Playwright for testing, scraping, and UI interaction
10 skills · 1 command · 1 agent
Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations
24 skills · 1 command · 1 agent · hooks
Skill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.
1 skill
Cross-session memory and token savings for coding agents.
6 skills · 1 agent · 1 MCP server · hooks
Transform Claude into an Azure expert. This plugin integrates the Azure MCP server and specialized Azure skills to move beyond generic advice. It enables Claude to perform real-world tasks: listing resources, validating deployments, diagnosing infrastructure issues, and optimizing costs across 50+ Azure services.
44 skills · 1 MCP server
Independent auditing for AI agents, open source. Claude discovers your setup, confirms the cost, and audits your agent against the one question other tools skip: is it doing the job it's supposed to do, given your business rules and org structure? Test any model (Anthropic, OpenAI, Gemini, Azure, Bedrock, …) graded by self, one independent judge, or a cross-vendor panel; each provider is billed to its own account via a key in your settings, never the command line. Results render as an interactive artifact (with a static-report fallback).
1 skill · hooks
Cloud architecture design for AWS/Azure/GCP/OCI, Kubernetes cluster configuration, Terraform infrastructure-as-code, hybrid cloud networking, and multi-cloud cost optimization
8 skills · 7 agents
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.