Skills for Real Engineers. Straight from my .agents directory.
skill-cost-projections
Agent skill fromnyldn/claude-octopus
Project remaining workflow cost from per-phase averages — warns on budget ceiling overruns
How to install skill-cost-projections
npx skills add nyldn/claude-octopus# or add only this skill to Claude Code: copy the folder
skills/skill-cost-projections/
# into
~/.claude/skills/skill-cost-projections/ (all projects)
.claude/skills/skill-cost-projections/ (one project)
1> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.2> Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands.3> 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.4> For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.567# Cost Projections Skill89## Overview1011Projects 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.1213**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.141516## Step 1: Collect Completed Phase Costs1718Read cost data from `~/.claude-octopus/metrics/` or from metrics-tracker.sh output. Each completed phase/step should have an associated cost entry.1920```bash21# Read metrics from the session metrics directory22METRICS_DIR="$HOME/.claude-octopus/metrics"23SESSION_METRICS="$METRICS_DIR/session-$(date +%Y%m%d).jsonl"2425# Each line contains: {"phase": "discover", "cost": 0.42, "tokens_in": 12000, "tokens_out": 3400, "timestamp": "..."}26# Sum costs from completed steps27completed_costs=$(jq -s '[.[].cost]' "$SESSION_METRICS")28completed_count=$(jq -s 'length' "$SESSION_METRICS")29…
Excerpt shown under the repository's MIT license.
More skills in claude-octopus
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
