Cost Projection
ruvnet/ruflo
Forward-looking spend extrapolation. An agent skill from ruvnet/ruflo.
Project remaining workflow cost from per-phase averages — warns on budget ceiling overruns
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nyldn/claude-octopus skill-cost-projections --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skill-cost-projections .claude/skills/skill-cost-projections && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .claude/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projectionsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nyldn/claude-octopus skill-cost-projections --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/skill-cost-projections .agents/skills/skill-cost-projections && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .agents/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nyldn/claude-octopus skill-cost-projections --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/skill-cost-projections .cursor/skills/skill-cost-projections && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .cursor/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nyldn/claude-octopus.git --path skills/skill-cost-projections--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nyldn/claude-octopus skill-cost-projections --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/skill-cost-projections .gemini/skills/skill-cost-projections && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .gemini/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nyldn/claude-octopus skill-cost-projectionsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/skill-cost-projections .github/skills/skill-cost-projections && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .github/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nyldn/claude-octopus --skill skill-cost-projections -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nyldn/claude-octopus skill-cost-projections --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nyldn/claude-octopus.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/skill-cost-projections .opencode/skills/skill-cost-projections && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "skill-cost-projections" agent skill from https://github.com/nyldn/claude-octopus/tree/main/skills/skill-cost-projections into .opencode/skills/skill-cost-projections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-cost-projections", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skill-cost-projectionsProject remaining workflow cost from per-phase averages — warns on budget ceiling overruns
Skill Cost Projections is an agent skill from nyldn/claude-octopus. Project remaining workflow cost from per-phase averages — warns on budget ceiling overruns
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
The repository describes itself as: Run multiple AI models against the same research, design, or coding task. Surface disagreements before you ship. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b34780d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
jqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Skill Cost Projections loads about 1.7k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 527 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from nyldn/claude-octopus at commit b34780d, republished under its MIT licence (© nyldn). 527 words, ~1,681 tokens.
.claude/skills/skill-cost-projections/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Host: Codex CLI — This skill was designed for Claude Code and adapted for Codex. Cross-reference commands use installed skill names in Codex rather than
/octo:*slash commands. Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. For host tool equivalents, seeskills/blocks/codex-host-adapter.md.
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.
Read cost data from ~/.claude-octopus/metrics/ or from metrics-tracker.sh output. Each completed phase/step should have an associated cost entry.
# Read metrics from the session metrics directory
METRICS_DIR="$HOME/.claude-octopus/metrics"
SESSION_METRICS="$METRICS_DIR/session-$(date +%Y%m%d).jsonl"
# Each line contains: {"phase": "discover", "cost": 0.42, "tokens_in": 12000, "tokens_out": 3400, "timestamp": "..."}
# Sum costs from completed steps
completed_costs=$(jq -s '[.[].cost]' "$SESSION_METRICS")
completed_count=$(jq -s 'length' "$SESSION_METRICS")
total_spent=$(jq -s '[.[].cost] | add' "$SESSION_METRICS")Data sources (in priority order):
~/.claude-octopus/metrics/session-*.jsonl — structured per-phase cost entriesmetrics-tracker.sh output — fallback for legacy sessionsIf fewer than 2 completed steps are available, display only actual spend:
💰 Spent: 0.42 USD (1 step complete — need 2+ for projection)Calculate the mean cost across all completed steps.
avg_cost=$(echo "$total_spent / $completed_count" | bc -l)Formula:
avg_cost = total_cost / completed_stepsExample: If 3 steps cost 0.30 USD, 0.50 USD, 0.40 USD → avg = 1.20 USD / 3 = 0.40 USD/step
Multiply the average cost per step by the number of remaining steps.
remaining_steps=$((total_steps - completed_count))
projected_remaining=$(echo "$avg_cost * $remaining_steps" | bc -l)
projected_total=$(echo "$total_spent + $projected_remaining" | bc -l)Formula:
projected_remaining = avg_cost × remaining_steps
projected_total = total_spent + projected_remainingStep counts by workflow type:
| Workflow | Total Steps | Example Phases |
|---|---|---|
| embrace | 4 | Discover, Define, Develop, Deliver |
| research | 3-7 | Per-agent probe count |
| review | 3 | Fleet, Verifier, Synthesis |
| debate | 3 | Opening, Rebuttal, Synthesis |
Format the cost projection for the HUD/statusline display.
Standard display:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USDFormat rules:
~ to indicate estimate💰 prefix for the cost lineWhen insufficient data (< 2 steps):
💰 Spent: 0.42 USD (need 2+ steps for projection)Integration: This display line is emitted by the octopus-hud hook and rendered in the statusline alongside phase progress and provider status.
If the OCTO_BUDGET_CEILING environment variable is set, compare the projected total against it and warn on overrun.
if [[ -n "${OCTO_BUDGET_CEILING:-}" ]]; then
ceiling="$OCTO_BUDGET_CEILING"
if (( $(echo "$projected_total > $ceiling" | bc -l) )); then
overage=$(echo "$projected_total - $ceiling" | bc -l)
echo "⚠️ Budget ceiling: ${ceiling} USD — projected to exceed by ${overage} USD"
fi
fiDisplay when over budget:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USD
⚠️ Budget ceiling: 5.00 USD — projected to exceed by 1.00 USDDisplay when within budget:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USD
✅ Within budget ceiling: 10.00 USDNote: OCTO_BUDGET_CEILING is optional. When unset, no ceiling check is performed.
If the projected total is high relative to the task, suggest switching to the budget profile to reduce costs.
# Suggest budget profile when projected total exceeds 5.00 USD (configurable)
COST_THRESHOLD="${OCTO_COST_THRESHOLD:-5.00}"
if (( $(echo "$projected_total > $COST_THRESHOLD" | bc -l) )); then
echo "💡 Tip: Switch to OCTO_PROFILE=budget to reduce costs"
fiDisplay:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USD
💡 Tip: Switch to OCTO_PROFILE=budget to reduce costsThe budget profile (OCTO_PROFILE=budget) routes to cheaper models and reduces agent count to minimize spend.
Normal — within budget, moderate cost:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USDOver budget ceiling:
💰 Spent: 2.40 USD | Est. remaining: 3.60 USD | Total: ~6.00 USD
⚠️ Budget ceiling: 5.00 USD — projected to exceed by 1.00 USD
💡 Tip: Switch to OCTO_PROFILE=budget to reduce costsEarly in workflow (insufficient data):
💰 Spent: 0.42 USD (need 2+ steps for projection)Low cost — no warnings:
💰 Spent: 0.80 USD | Est. remaining: 0.80 USD | Total: ~1.60 USDThe cost projection line is rendered as part of the HUD statusline output, updated after each phase completes.
Reads per-phase cost data written by the metrics tracker. Each completed phase logs cost, token counts, and provider details.
When OCTO_PROFILE=budget is active, the projection accounts for reduced per-step costs from cheaper model routing.
No metrics directory:
💰 Cost projection unavailable — no metrics data foundCorrupted metrics data: Skip malformed entries and project from valid data only. If no valid entries remain, show unavailable message.
Zero remaining steps: When all steps are complete, show final total only:
💰 Final cost: 4.80 USD (4 steps)© nyldn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/skill-cost-projections of nyldn/claude-octopus.
Open the folder on GitHubat commit b34780d
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in nyldn/claude-octopus, which our catalogue first saw on October 7, 2026.
Skill Cost Projections next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Skill Cost Projections this skillnyldn/claude-octopus | 4.2k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Cost Projectionruvnet/ruflo | 74k | — | ~702 | Automated safety check: Notes | MIT | |
| Cost Trackingaffaan-m/ECC | 276k | 1 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Cost Conversationruvnet/ruflo | 74k | — | ~407 | Automated safety check: Notes | MIT | |
| Cost Healthruvnet/ruflo | 74k | — | ~901 | Automated safety check: Notes | MIT | |
| Cost Reportruvnet/ruflo | 74k | — | ~830 | Automated safety check: Notes | MIT |
ruvnet/ruflo
Forward-looking spend extrapolation. An agent skill from ruvnet/ruflo.
affaan-m/ECC
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.
ruvnet/ruflo
Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
ruvnet/ruflo
Composite CI gate — runs cost-budget-check + cost-burn + cost-anomaly + cost-projection in parallel and surfaces a single combined health status with max exit code.
ruvnet/ruflo
Generate a cost report showing token usage and USD costs by agent and model
sickn33/agentic-awesome-skills
Project register: owner, team, priority, progress percentage, milestones, deliverables and budget against actual cost.
nyldn/claude-octopus
Quick execution for ad-hoc tasks without full workflow overhead — use for small, self-contained requests
nyldn/claude-octopus
Thorough research across multiple sources — use for complex topics needing broad synthesis
nyldn/claude-octopus
OWASP compliance, vulnerability scanning, and adversarial red team testing — use for security reviews
nyldn/claude-octopus
Audit codebases for quality, consistency, and broken patterns — use for pre-release or tech debt review
nyldn/claude-octopus
Extract patterns and anatomy from URLs — use to reverse-engineer content strategies from live pages
nyldn/claude-octopus
Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type
Project remaining workflow cost from per-phase averages — warns on budget ceiling overruns. Skill Cost Projections is an agent skill from nyldn/claude-octopus.
Run `npx skills add nyldn/claude-octopus --skill skill-cost-projections -a claude-code`. Or copy the skill folder (skills/skill-cost-projections in nyldn/claude-octopus) into .claude/skills/skill-cost-projections in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nyldn/claude-octopus --skill skill-cost-projections -a codex`. Or copy the skill folder (skills/skill-cost-projections in nyldn/claude-octopus) into .agents/skills/skill-cost-projections in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nyldn/claude-octopus --skill skill-cost-projections -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-cost-projections, .gemini/skills/skill-cost-projections, .github/skills/skill-cost-projections and .opencode/skills/skill-cost-projections in your project.
Going by SKILL.md and its folder, Skill Cost Projections needs the command-line tools its instructions call (jq).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Skill Cost Projections is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skill Cost Projections: Cost Projection (ruvnet/ruflo, 74k stars), Cost Tracking (affaan-m/ECC, 276k stars), Cost Conversation (ruvnet/ruflo, 74k stars) and Cost Health (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nyldn (a GitHub user) maintains it in nyldn/claude-octopus, which has 4,198 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 9, 2026.
Source: nyldn/claude-octopus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.