octo-setup

octo-setup is a command for Claude Code from CES-Ltd/Lumi. It costs 15 tokens per session (4,239 once invoked), scanned D, original, MIT.

An interactive setup wizard for configuring Claude Octopus, including providers, authentication, shared tools, and token-use settings.

In plain words
What is it for?
Checking installed AI command-line tools, verifying authentication, installing or configuring providers, setting up shared tools, and optimizing token use.
Why use it?
It shows the current setup and guides the user through missing configuration rather than silently assuming everything is ready.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; names the AskUserQuestion tool; positional $N argument.

Part of the octo plugin — 10 skills, 47 commands shipped together

Good fit Checking installed AI command-line tools, verifying authentication, installing or configuring providers, setting up shared tools, and optimizing token use.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ces-ltd/lumi/octo-setup
View source ↗ CES-Ltd/Lumi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/Lumi

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 10 skills, 47 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for octo-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-setup.svg)](https://agentmods.dev/commands/ces-ltd/lumi/octo-setup)
Your own site
<a href="https://agentmods.dev/commands/ces-ltd/lumi/octo-setup"><img src="https://agentmods.dev/badge/commands/ces-ltd/lumi/octo-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 4 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.04239
Opus 5 $0.00008 $0.02119
Sonnet 5 $0.00003 $0.00848
Haiku 4.5 $0.00002 $0.00424

Measured 7d ago against content hash 894fe175d80f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade D, and why

octo-setup scanned grade D with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Use `sudo npm install -g` or configure npm to use a user directory:

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

printf "rtk_hook:%s\n" "$(grep -q 'rtk' "${HOME}/.claude/settings.json" 2>/dev/null && echo active || echo missing)"

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.claude/plugins/octo@nyldn-plugins

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

printf "ollama:%s\n" "$(command -v ollama >/dev/null 2>&1 && curl -sf http://localhost:11434/api/tags >/dev/null 2>&1 && echo running || command -v ollama >/dev/null 2>&1 && echo installed || echo missing)"
resources/seed/octopus/commands/octo-setup.md · 492 lines

How it starts

The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Octopus Setup

Your first output line MUST be: 🐙 Octopus Setup

CRITICAL: This command MUST always run its interactive flow when invoked. Never silently dismiss the user. Never say "you're already set up" without showing the dashboard and asking what they want to do. Even if everything is configured, the user invoked this command for a reason — show them their status and offer choices.

STEP 1: Detect Current State

Run a SINGLE comprehensive check:

echo "=== Provider Detection ==="
printf "codex:%s\n" "$(command -v codex >/dev/null 2>&1 && echo installed || echo missing)"
printf "codex_auth:%s\n" "$(codex --version >/dev/null 2>&1 && echo ok || echo none)"
printf "gemini:%s\n" "$(command -v gemini >/dev/null 2>&1 && echo installed || echo missing)"
printf "perplexity:%s\n" "$([ -n "${PERPLEXITY_API_KEY:-}" ] && echo configured || echo missing)"
printf "copilot:%s\n" "$(command -v copilot >/dev/null 2>&1 && echo installed || echo missing)"
printf "qwen:%s\n" "$(command -v qwen >/dev/null 2>&1 && echo installed || echo missing)"
printf "ollama:%s\n" "$(command -v ollama >/dev/null 2>&1 && curl -sf http://localhost:11434/api/tags >/dev/null 2>&1 && echo running || command -v ollama >/dev/null 2>&1 && echo installed || echo missing)"
printf "opencode:%s\n" "$(command -v opencode >/dev/null 2>&1 && echo installed || echo missing)"
echo "=== Token Optimization ==="
printf "rtk:%s\n" "$(command -v rtk >/dev/null 2>&1 && echo "installed $(rtk --version 2>&1 | head -1)" || echo missing)"
printf "rtk_hook:%s\n" "$(grep -q 'rtk' "${HOME}/.claude/settings.json" 2>/dev/null && echo active || echo missing)"
echo "=== System ==="
printf "node:%s\n" "$(node --version 2>/dev/null || echo missing)"
printf "jq:%s\n" "$(command -v jq >/dev/null 2>&1 && echo installed || echo missing)"
printf "os:%s\n" "$(uname -s)"

STEP 2: Display Status Dashboard

Always show this dashboard — never skip it:

🐙 Octopus Setup
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Providers:
  🔵 Claude:        Available ✓
  🔴 Codex CLI:     [Installed ✓ / Missing ✗]
  🟡 Gemini CLI:    [Installed ✓ / Missing ✗]
  🟣 Perplexity:    [Configured ✓ / Not set ✗]
  🟢 Copilot CLI:   [Installed ✓ / Not installed]
  🟠 Qwen CLI:      [Installed ✓ / Not installed]
  🟤 OpenCode:      [Installed ✓ / Not installed]
  ⚫ Ollama:        [Running ✓ / Installed / Not installed]

Token Optimization:
  RTK:              [Installed + Hook active ✓ / Installed ✓ / Missing ✗]

Read the full file on GitHub · 492 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 492 lines · 15 tokens per session scan D 894fe175d80f

Subscribe to this mod's changes

octo-setup is a command published in the GitHub repository CES-Ltd/Lumi (31 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 4,239 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 4 findings (asks for root, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.