From Frontier
Check whether the selected Frontier backend and harness adapters are ready, and optionally provision the Pi provider and Codex profile
How this command is triggered — by the user, by Claude, or both
Slash command
/frontier:setup [--apply]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Run: Present the setup output to the user. The report shows the detected backend flavor, base URL, how the flavor was selected (the auto-detect ladder or a config file), models found on the server, the active model, whether Codex is supported, and the readiness of the Pi provider and Codex profile. The backend flavor is chosen by an auto-detect ladder — oMLX first (its settings file exists or the server answers on `127.0.0.1:8000`), then Ollama (the server answers on `127.0.0.1:11434`) — unless a `frontier.config.json` (workspace) or `~/.frontier/config.json` (user) selects a flavor exp...
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/frontier-companion.mjs" setup $ARGUMENTS
Present the setup output to the user. The report shows the detected backend flavor, base URL, how the flavor was selected (the auto-detect ladder or a config file), models found on the server, the active model, whether Codex is supported, and the readiness of the Pi provider and Codex profile.
The backend flavor is chosen by an auto-detect ladder — oMLX first (its settings
file exists or the server answers on 127.0.0.1:8000), then Ollama (the server
answers on 127.0.0.1:11434) — unless a frontier.config.json (workspace) or
~/.frontier/config.json (user) selects a flavor explicitly. The openai flavor
(any OpenAI-compatible server) is config-only and never auto-detected; it requires
baseUrl in the config. The report's "key source" line shows where auth comes from
(env / file / literal / none) and never prints the secret value.
If the report errors out because a config file is malformed JSON or names an unknown flavor, relay the message verbatim — it identifies the offending file and what to fix.
If the report says Codex is unsupported on the backend (the server does not serve
/v1/responses, as with a vanilla Ollama install):
--harness pi, or to point Frontier at a backend
that exposes the OpenAI Responses API. Do not offer to provision the Codex
profile in this case.If the report says the backend endpoint is not reachable:
If the report says the Pi provider or the Codex profile is missing and the
request did not already include --apply:
AskUserQuestion exactly once to ask whether to provision now. Put the
apply option first:
Provision Pi + Codex (Recommended)Skip for nownode "${CLAUDE_PLUGIN_ROOT}/scripts/frontier-companion.mjs" setup --apply
--apply provisions BOTH harnesses additively: it ensures the selected Pi
provider entry exists in ~/.pi/agent/models.json and the selected Codex
provider/profile exist in ~/.codex/config.toml, taking a timestamped backup
before any write and preserving unrelated entries. The model is resolved from
the configured backend, so no model id is hardcoded. Relay the final output,
including any backup paths.--apply-codex still works as a backward-compatible alias for --apply.If everything is already ready, do not ask anything — just present the report.
npx claudepluginhub welldundun/frontier --plugin frontier/setupInitializes or resumes Conductor project setup by creating foundational documentation (product definition, tech stack, workflow, style guides) through interactive Q&A.
/setupChecks whether the local Codex CLI is ready and optionally toggles the stop-time review gate. If Codex is not installed, prompts the user to install it via npm.
/setupGuides enterprise admins through configuring Claude Office add-in to use their own cloud backend (Vertex AI, Bedrock, Azure AI Foundry, or custom gateway), handles admin consent, and generates deployable M365 manifest(s).
/setupDetects and cleans up ghost installations of the claude-hud plugin in Claude Code, checking cache, registry, and temp files across macOS/Linux and Windows.
/setupInteractive setup wizard that detects installed AI providers, configures auth, and optimizes token usage for the Octopus ecosystem. Runs on first install or manual invocation.