Skip to main content

Cost Compact Context

Skill Verified Active

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

Purpose

To provide a streamlined way to analyze LLM token usage by retrieving compacted context for cost-analysis queries, ensuring efficient resource utilization.

Features

  • Wraps `getTokenOptimizer().getCompactContext()`
  • Retrieves compacted ReasoningBank context
  • Reports bridge-reported tokens saved
  • Graceful fallback for unavailable packages
  • Outputs markdown summary and JSON line

Use Cases

  • Analyzing LLM token consumption for cost optimization
  • Understanding context retrieval efficiency
  • Monitoring agentic-flow availability for cost analysis
  • Integrating cost-analysis queries into automated workflows

Non-Goals

  • Performing actual LLM inference
  • Modifying or generating LLM prompts directly
  • Baseline measurement of token savings (reports bridge heuristic)
  • Providing a full agentic-flow installation or management solution

Installation

First, add the marketplace

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

Quality Score

Verified
97 /100
Analyzed about 13 hours ago

Trust Signals

Last commitabout 15 hours ago
Stars50.2k
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.