ruvnet avatar

Cost Booster Route

Before running a batch of similar tasks, this routes each one through the three-tier classifier and counts how many qualify for Agent Booster (Tier 1), the WASM bypass that costs $0 instead of calling Sonnet or Opus. You feed it task descriptions, it calls hooks_route on each, partitions by whether the response contains [AGENT_BOOSTER_AVAILABLE], and prints a breakdown showing which intents (var-to-const, add-types, remove-console) triggered the bypass. Useful when cost-report shows LLM spend on transforms that should be free, though the docs are honest that the upstream 352× speed claim is not yet verified and the classifier doesn't always fire. Results get stored in cost-tracking for the reporting loop.

skills.sh installs
684
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill cost-booster-route --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Categories
Frontend Development, AI & Agent Building
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1ruvnet avatarintelligence-transferruvnet/rufloPublish or fetch learned patterns across projects via IPFS (Pinata) -- the cross-project pattern transfer that hooks_transfer enables684skills.sh installs
2mohitmishra786 avatarebpfmohitmishra786/low-level-dev-skillseBPF skill for Linux observability and networking. Use when writing eBPF programs with libbpf or bpftrace, attaching kprobes/tracepoints/XDP hooks, debugging ve672skills.sh installs
3product-on-purpose avatartool-design-sprint-decide-and-storyboardproduct-on-purpose/pm-skillsDay 3 (Wednesday) move of a Design Sprint that runs the art museum layout, heat map, speed critique, straw poll, Decider supervote, rumble-vs-all-in-one decisio666skills.sh installs
4aj-geddes avatarimage-optimizationaj-geddes/useful-ai-promptsOptimize images for web to reduce file size without sacrificing quality. Use compression, modern formats, and responsive techniques for faster loading.662skills.sh installs
5motion-team avatarhook-writingmotion-team/creative-strategy-skillsWrites high-converting, psychologically-driven hooks for paid ads, TikTok, Instagram Reels, and organic content. Use this whenever a user wants to write hooks, 653skills.sh installs
6patternsdev avatarobserver-patternpatternsdev/skillsTeaches the observer pattern for event-driven communication. Use when you need decoupled publish/subscribe behavior where multiple parts of your system react to653skills.sh installs