Agent skill · Audited from source
Cost Booster Edit
skill · ruvnet/rufloMIT licenceAudited 25 Sep 2026 · source ef7d4f0535e5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit ef7d4f0535e5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 4 findings, 0 critical or high. What it does: Apply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.
Cite
Cite this page
ModelsAtlas. “Cost Booster Edit (ruvnet/ruflo)”. Retrieved 25 Sep 2026. https://modelsatlas.com/skills/ruvnet/cost-booster-edit
Trust audit
Audit 0.4.1 · source read 25 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 4 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (4)
MEDIUMInventory / provenanceinv.symlink · crates
crates
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · plugin/agents
plugin/agents
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · plugin/commands
plugin/commands
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · plugin/skills
plugin/skills
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha ef7d4f0535e5 · 25 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherruvnet GitHub userOwner of the repository this skill is read from
- Source folderruvnet/ruflo/plugins/ruflo-cost-tracker/skills/cost-booster-editThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdictef7d4f0535e5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Apply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.
---
name: cost-booster-edit
description: Apply a simple code transform via agent-booster's WASM engine — sub-millisecond, deterministic, $0 (no LLM call). Companion to cost-booster-route.
argument-hint: "<intent> <file>"
allowed-tools: Bash
---
# Cost Booster Edit
Direct wrapper around `agent-booster.apply()` (npm `agent-booster` v0.2.x, exposed via `agentic-flow/agent-booster`). Use when a transform is **already classified** as Tier 1 eligible — `cost-booster-route` recommends *whether*; this skill *executes*.
## When to use
- Bulk transforms across many files (`var → const`, `add-types`, `remove-console`, `add-error-handling`, `async-await`, `add-logging`).
- Any simple, structural edit where an LLM would otherwise be called and billed.
- Inside CI pipelines where determinism + zero-cost matter more than naturalness.
**Do NOT use when** the transform requires reasoning about intent, naming, or cross-file context — those are Tier 2/3 jobs.
## Steps
1. **Take inputs** — `intent` (one of the 6 booster intents) and `file` path.
2. **Read the source** to a variable, derive the intended `edit` text from the intent (caller supplies).
3. **Invoke** — run from anywhere under `v3/` so `agent-booster` resolves:
```bash
node --input-type=module -e '
import("agent-booster")
.then(async ({ AgentBooster }) => {
const booster = new AgentBooster();
const r = await booster.apply({
code: process.argv[1],
edit: process.argv[2],
language: process.argv[3] || "javascript",
});
console.log(JSON.stringify({
success: r.success, output: r.output, latency: r.latency,
confidence: r.confidence, strategy: r.strategy,
tokens: r.tokens,
}));
})
.catch(e => console.log(JSON.stringify({ success: false, error: String(e.message) })));
' -- "$CODE" "$EDIT" "$LANG"
```
4. **Check confidence** — default threshold is `0.5`. Below that, fail closed: do NOT write the file; report and escalate to Tier 2/3.
5. **Write back** the `output` field if `success && confidence >= 0.5`.
6. **Persist outcome** — `memory_store --namespace cost-tracking --key "booster-edit-..." --value '{"intent":..., "latency":..., "confidence":..., "strategy":..., "applied":true}'`. Feed the routing learner via `hooks_model-outcome` (use the `cost-optimize` skill's step 8).
## Measured benchmark (2026-05-04, this checkout)
5 representative intents run through `AgentBooster.apply()`:
| intent | latency (ms) | wall (ms) | confidence | strategy | success |
|--------------------|-------------:|----------:|-----------:|-----------------|---------|
| var-to-const | 5 | 5 | 0.65 | fuzzy_replace | true |
| add-types | 1 | 1 | 0.64 | fuzzy_replace | true |
| remove-console | 0 | 0 | 0.70 | fuzzy_replace | true |
| add-error-handling | 0 | 0 | 0.85 | exact_replace | true |
| async-await | 0 | 0 | 0.85 | exact_replace | true |
Avg measured latency ≈ **1.2 ms**. All 5 above the default 0.5 confidence threshold. See `docs/benchmarks/0002-baseline.md` for the LLM-baseline comparison.
## What's verified locally
| Claim | Status here |
|------------------------------------|-------------------------------------------------------------------------|
| **100% win rate** | **Verified** — 12/12 on `bench/booster-corpus.json` (see `runs/latest.json`). Booster AND Gemini 2.0 Flash both score 12/12 — this is a structural-correctness corpus, not a hard adversarial one. |
| **Sub-millisecond latency** | **Verified** — avg 0.67 ms, p50 0 ms, p99 6 ms, max 6 ms. |
| **$0 per edit** | **Verified structurally** — no API call, no token billing. |
| **Deterministic AST-based merge** | **Verified** — same inputs reproduce the same `output` and `strategy`. |
| **Confidence ≥ 0.5 ⇒ correct** | **Verified on this corpus** — 12/12 above 0.5 (min 0.551), all correct. |
| **`350×` speedup vs. LLM** | **Verified — exceeded against every tier:** 1000.9× vs Gemini 2.0 Flash, **1838.7× vs Claude Sonnet 4.6**, **2634.1× vs Claude Opus 4.7**. Run `BENCH_LLM_BASELINE=1 BENCH_ANTHROPIC=1 node scripts/bench.mjs` to refresh. |
| **Cost saved per edit** | **Measured:** $0.000020 vs Gemini, **$0.000722 vs Sonnet 4.6**, **$0.004720 vs Opus 4.7** (the booster side is $0 in all cases). |
| **Win parity with frontier LLMs** | **Verified** — Booster, Gemini 2.0 Flash, Sonnet 4.6, Opus 4.7 all scored 12/12 on this corpus. Booster matches LLM accuracy structurally for deterministic transforms. |
To extend: add cases to `bench/booster-corpus.json`, run `( cd v3 && node ../plugins/ruflo-cost-tracker/scripts/bench.mjs )` (or with `BENCH_LLM_BASELINE=1`), commit `runs/latest.json`. Smoke step 23 fails the build if win rate drops below 0.80.
**Override the LLM model:** `BENCH_LLM_MODEL='claude-sonnet-4'` (when wired against `api.anthropic.com`) or `BENCH_LLM_MODEL='models/gemini-2.5-flash'` for a reasoning-model comparison. Pricing flags: `BENCH_LLM_PRICE_IN`, `BENCH_LLM_PRICE_OUT`.
`fuzzy_replace` is best-effort; for production transforms prefer cases that route to `exact_replace` (≥0.85 confidence in our sample).
## Cross-references
ADR-0002 §"Decision 1" (route classifier) and §"Riskiest assumption" (Bash-shelled invocation) · `cost-booster-route` (classifier-side companion) · `agent-booster` npm README (3-mode install, MCP / npm / HTTP).Excerpt, first 5,755 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit ef7d4f0
git clone https://github.com/ruvnet/ruflo git -C ruflo checkout ef7d4f0535e5
The author documents no install command, so this uses the repository directly. Our verdict covers commit ef7d4f0535e5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
ef7d4f0535e5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/ruvnet/cost-booster-edit/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
ruvnet/claude-flow
Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination
ruvnet/claude-flow
Train and deploy neural networks in distributed E2B sandboxes with Flow Nexus
ruvnet/claude-flow
Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform
ruvnet/claude-flow
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management
ruvnet/claude-flow
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
ruvnet/claude-flow
Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory
Add this badge to your README
[](https://modelsatlas.com/skills/ruvnet/cost-booster-edit/)
<a href="https://modelsatlas.com/skills/ruvnet/cost-booster-edit/"><img src="https://modelsatlas.com/skills/ruvnet/cost-booster-edit/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Cost Booster Edit
What does the Cost Booster Edit skill do?
Is Cost Booster Edit safe to install?
What can Cost Booster Edit access on my machine?
How current is this page?
Sources
- github.com/ruvnet/ruflo/tree/main/plugins/ruflo-cost-tracker/ski — the audited source at commit ef7d4f0535e5 and every finding aboveObserved · 25 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Cost Booster Edit skill do?
- Is Cost Booster Edit safe to install?
- What can Cost Booster Edit access on my machine?