Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Projects remaining workflow cost from per-phase averages of completed steps and warns when totals exceed a budget ceiling.
18% 86%+68 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 4 of 22 without it.
This test ran on v6. v10 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Projects remaining workflow cost based on per-phase averages from completed work. Displays cost data in the HUD/statusline and warns when projected totals exceed a configured budget ceiling.
Minimum data requirement: Needs 2+ completed steps before projecting. With fewer than 2 data points, the average is unreliable — display actual spend only and skip projection.
Set total_steps for the workflow in Step 3 and run the following blocks in
the same shell. Use the JSONL file only when its entries are known to describe
the current workflow. Each completed step should have one cost entry in USD.
The recipe requires this file. For a legacy session with only tracker or HUD
data, report separately any spend you can attribute to the current workflow.
A session total alone cannot establish the number of completed steps.
# Read metrics from the session metrics directory
METRICS_DIR="$HOME/.claude-octopus/metrics"
SESSION_METRICS="$METRICS_DIR/session-$(date +%Y%m%d).jsonl"
format_usd() (
export LC_ALL=C
printf '%.2f' "${1}"
)
# Parse each line separately so damaged rows do not discard valid costs.
if [[ ! -f "$SESSION_METRICS" || ! -r "$SESSION_METRICS" ]] ||
! summary=$(jq -nRer '
reduce (inputs | fromjson? | objects | .cost | numbers | select(isfinite and . >= 0))
as $cost ([0, 0]; [.[0] + 1, .[1] + $cost])
| select(.[0] > 0 and (.[1] | isfinite)) | @tsv
' "$SESSION_METRICS"); then
printf '%s\n' 'Cost projection unavailable: no usable metrics data found.'
exit 0
fi
IFS=$'\t' read -r completed_count total_spent <<< "$summary"
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.