Skip to content
Skillpedia
Agents81k · #1593

cost-booster-route

What it does

This skill checks a list of tasks and marks which ones are simple enough for a free local transform. It is for people who want to cut AI costs by sending simple jobs elsewhere.

When to use it

  • ✓When you have a batch of similar coding tasks and want to know which ones need an AI model.
  • ✓When cost reports show expensive AI use on simple edits.
  • ✓When you want a short report on how much of a batch could run at zero model cost.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-booster-route/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-booster-route/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check which of my tasks can skip the AI and run as simple local edits?”

5 new skills a week. 1 minute to read.

How it works

The skill sends each task to a routing tool that labels it. It groups the tasks into local-eligible and AI-needed, estimates the upper-bound cost of the AI part and saves a report.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Cost Booster Route

Wraps mcp__plugin_ruflo-core_ruflo__hooks_route and reports how many tasks the 3-tier router classified as Agent Booster (Tier 1) eligible. Tier 1 bypasses run as WASM transforms — no LLM call, structurally $0 cost.

When to use

Before a batch of similar tasks, or when cost-report shows Sonnet/Opus spend on descriptions that look like simple transforms (var-to-const, add-types, add-error-handling, async-await, add-logging, remove-console).

Steps

  1. Collect tasks — single arg or recent entries from cost-tracking via memory_search. Cap batch at 50.

  2. Route each — call hooks_route with the description; capture the full response string.

  3. Partition — group by whether the response contains the literal [AGENT_BOOSTER_AVAILABLE] (Tier 1) vs. not (Tier 2/3). Extract [TASK_MODEL_RECOMMENDATION] Use model="X" when present.

  4. Compute spend — Tier 1 partition: $0. Tier 2/3 partition: per-task upper-bound from REFERENCE.md pricing × recommended model.

  5. Report

    === Booster bypass report ===
    Tasks analyzed:        50
    Tier 1 (booster):      18 (36%)  — $0.00
    Tier 2/3 (LLM):        32 (64%)  — $X.XX (upper-bound)
    Booster intents:       var-to-const (8), add-types (5), remove-console (5)
    
  6. Persist — memory_store --namespace cost-tracking --key "booster-route-$(date +%Y%m%d-%H%M%S)" --value '{"tier1": N, "tier2_or_3": M, ...}' so cost-report picks up the tier signal.

Caveats — claimed upstream, not yet verified

  • [AGENT_BOOSTER_AVAILABLE] fires only when the upstream router populates routeResult.agentBoosterIntent.type (v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts:1228). The published CLI's semantic-VectorDb path does not always trigger the classifier — treat the partition as a lower bound on Tier 1 eligibility.
  • CLAUDE.md root claims <1ms latency and 352× faster than LLM. <1ms and $0 are structural; 352× is claimed upstream, not yet verified here. Report what the router actually returns.
  • See docs/benchmarks/0002-baseline.md for the full upstream-claims-vs-measured table.

Cross-references

ADR-0002 Decision #1 · ruflo-intelligence ADR-0001 §"Neutral" (closes the routing-outcomes loop via cost-optimize step 8) · CLAUDE.md root §"3-Tier Model Routing (ADR-026)".

FAQ

How many tasks can it check at once?

The skill caps each batch at 50 tasks.

Is the cost estimate exact?

No. The AI part is an upper-bound estimate based on listed prices for the recommended model.

Where is the report saved?

It is saved to the cost tracking memory, so later reports can read it.

Details

Original description by the author

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

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1593
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills