Install with an agent
Open and copy the prompt below, then paste it into Claude Code, Codex, or
another coding agent in your project. Prefer running the commands yourself?
Go to Quick start.
Show the install prompt
Install cue (https://github.com/opencue/cuecards) on this machine and set it up
for this project.
1. Check Node.js 20+, npm, and an installed Claude Code or Codex CLI. Stop and
tell me if a prerequisite is missing.
2. Check whether cue is already on PATH (`command -v cue`, or `Get-Command cue`
in PowerShell). If it is, skip to step 4.
3. Ask me before installing anything, then run: `npm install -g cue-ai`
4. Run `cue auto-detect --json`. Show me the profile suggestions it returns
and what each one is for, and let me pick one — don't choose for me.
5. Explain the project, shim, and PATH changes below. Only after I approve,
run `cue setup --profile <the one I picked> --yes`. That pins the profile,
installs the shim that makes `claude`/`codex` load it, and — if needed —
configures the shim directory on PATH (shell rc on Linux/macOS, Current User
PATH on native Windows) so the shim takes effect. It will not
enable telemetry and will not install third-party skills. If it exits
non-zero, stop and show me the output instead of continuing to step 6.
6. If it prints PATH guidance, show it verbatim — the shims do nothing
until that line is added.
7. Verify with `cue --version` and `cue current`. In a fresh shell, check
whether `claude` or `codex` resolves to the Cue shim using `command -v`
(or `Get-Command` in PowerShell). Report the pinned profile and the
resolved path. Mention that `cue shell uninstall`
undoes the shim, or `npm uninstall -g cue-ai` removes the CLI package.
Do not install anything without asking me first.
Quick start
Requires Node.js 20+, npm, and an existing Claude Code
or Codex installation. From your project directory:
npm install -g cue-ai
cue current --plan --profile core --agent codex
cue launch codex --cue-profile core
Replace codex with claude if that's your agent. The plan shows what Cue would
load and what's missing, without installing or writing anything. cue launch
starts the agent directly without requiring a shell shim.
Make it the project default: run cue setup --profile core (or choose
backend for API work or frontend for UI work). Setup records the profile in
.cue.profile, installs launch shims, and can update your PATH. Once the shims
are on PATH, run claude or codex as usual. Use cue current to check the pin.
For a global npm installation, interactive starts check for a new Cue version
at most once a day. Press y then Enter to update and continue the same command,
or Enter to skip. CI, scripts, and profile previews do not prompt.
Set CUE_NO_UPDATE_CHECK=1 to turn the check off.
Use cue update --check to see the installed and latest npm versions and
release notes on demand. Run cue update to confirm and install the update.
macOS · Linux · Windows · Shell setup and removal
Profile demos
These recordings run the real Cue CLI. The Codex process is simulated: it
checks that Cue handed it a generated config, then prints a sample response.
The recordings use local resources only and make no model calls.
Start with core
cue launch codex --cue-profile core skips the picker and starts with the
baseline profile.
Stack backend and frontend
cue launch codex opens the picker. Press / to search, Space to add or remove
a profile from the stack, and Enter to launch with the selection.