From gavel
Checks whether Codex and Gemini CLIs are installed and authenticated, with optional guided installation for missing CLIs.
How this command is triggered — by the user, by Claude, or both
Slash command
/gavel:setupFiles this command reads when invoked
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: Read the JSON report. It lists each provider under `providers.<name>` with `enabled`, `installed`, `authed`, `usable`, `version`, `tooOld`, and `isolation`, plus top-level `ready`, `degraded`, `missingProviders`, and `panel`. Then: - For each provider that is **enabled but not installed** (`installed: false`) while `npm.available` is true, use `AskUserQuestion` **once** to ask which missing CLI(s) to install now (multi-select if both). Put installing first and suffix the label with `(Recommended)`. Install commands: - Codex: `npm install -g @openai/codex` - Gemini: `npm ins...
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gavel.mjs" setup --json
Read the JSON report. It lists each provider under providers.<name> with enabled, installed,
authed, usable, version, tooOld, and isolation, plus top-level ready, degraded,
missingProviders, and panel. Then:
installed: false) while npm.available
is true, use AskUserQuestion once to ask which missing CLI(s) to install now (multi-select if
both). Put installing first and suffix the label with (Recommended). Install commands:
npm install -g @openai/codexnpm install -g @google/gemini-cliThen present the final report, preserving guidance:
!codex login;
Gemini → run !gemini once (OAuth) or export GEMINI_API_KEY=….tooOld: true, warn that the installed CLI is older than the tested version and
some required flags may be unsupported (suggest upgrading).disabled in settings is intentionally skipped — do not nag about it.Note: gavel needs at least one usable advisor (ready: true); it works best with both. Codex
explores the repo read-only; Gemini runs isolated. Model/timeout defaults and per-provider settings
live in ~/.gavel/config.json or a project ./.gavel.json.
npx claudepluginhub junkim100/gavel --plugin gavel/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupConfigures Codex (GPT) or Gemini as MCP servers for claude-delegator, installs orchestration rules to ~/.claude/rules/, and verifies setup.
/setupChecks Codex CLI readiness (Node.js, CLI version, auth) and toggles the stop-time adversarial review gate. Also offers shortcuts to /preflight and /init.
/setupInstalls and verifies required dependencies codex and gemini-cli using brew, bash tools for installation and checks.
/setupCheck whether the local Copilot CLI is ready and optionally toggle the stop-time review gate
/setupCheck whether the local Qwen Code CLI is ready and optionally toggle the stop-time review gate