Skip to content
Automation
Command

/costs

[advanced] Compatibility view of the deterministic Octopus usage report

From plugin
octo
4.3k53 skills49 agents53 commands18 hooks
> /plugin marketplace add nyldn/claude-octopus

Command definition

costs.md
command: costs
disable-model-invocation: true
description: "[advanced] Compatibility view of the deterministic Octopus usage report"
allowed-tools: Bash

Cost Dashboard (/octo:costs)

For table output, your first output line MUST be `🐙 Octopus Cost Dashboard`. For JSON, emit only the helper output—no banner or commentary.

This v10 compatibility command shows the cost-focused view of `/octo:usage`. It is scheduled for removal in v11.

EXECUTION CONTRACT (Mandatory)

When the user invokes `/octo:costs`, run the helper once with the Bash tool:

OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
helper="$OCTO_ROOT/scripts/helpers/usage-report.sh"
if [[ ! -x "$helper" ]]; then
  echo "ERROR: Claude Octopus usage report helper is unavailable. Run /octo:setup." >&2
  exit 1
fi
format="table"
case " $ARGUMENTS " in
  *" --format json "*|*" --format=json "*) format="json" ;;
esac
"$helper" --view costs --format "$format"

Choose the format before invoking the helper and invoke it exactly once. For JSON, emit only the helper output. The helper owns pricing, session aggregation, provider rows, and the workflow cost breakdown. Do not inspect usage files or calculate rates inside the model response.

@nyldn
Ships withocto

Every AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code

4.3k70 skills49 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.3k
Star history of nyldn/claude-octopus on GitHub, a chart by star-history.com

Other commands on octo.

auto

auto

Command

Smart router - Single entry point with natural language intent detection

@nyldn@nyldnInstall Command
brainstorm

brainstorm

Command

Start a creative thought partner brainstorming session

@nyldn@nyldnInstall Command
budget-mode

budget-mode

Command

Switch Octopus model routing to the configured budget tier

@nyldn@nyldnInstall Command
careful

careful

Command

[advanced] Activate destructive command warnings for the session

@nyldn@nyldnInstall Command
council

council

Command

Multi-LLM council for advice, decision support, implementation plans, and gated implementation

@nyldn@nyldnInstall Command
debate

debate

Command

AI Debate Hub - Structured debates across Claude and available external providers

@nyldn@nyldnInstall Command

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n11d209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris12d18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command