
When you’d use this
- You’re reading logs and something looks wrong. Pipe them in:
cat error.log | rubix -p "what does this mean?". - You want to see what’s open without leaving the shell.
rubix statuslists the critical and high incidents, what needs you, the Tasks waiting and your environments. - You’re working an incident. Open it in Browse, read what Rubix found, run the RCA again, comment, or ask Rubix about it with one key.
- You want Rubix in a script. One-shot commands print plain text or JSON and exit, so they fit in an alias, a cron job or a runbook.
- You’d rather write in your editor. Ctrl+G opens the message in
$VISUALor$EDITOR, and saving brings it back.
Three ways to use it
Same Rubix as the console
The CLI talks to the same Rubix as the console’s chat.- Chats are shared. A chat started in the terminal is in the console’s chat list, and the other way round. A reply keeps running if you close the terminal, and reopening the chat follows it.
- Same controls. Pick the model and effort, the response style (quiet, normal or verbose) and the mode (Observe, Assist or Auto). The mode can’t go above your organization’s highest mode. See Modes.
- Same records. Incidents, RCAs and Tasks use the same codes, such as INC-12, RCA-4 and TSK-30.
Requirements
- Node.js 22.12 or newer.
- A RubixKube account. Sign up at console.rubixkube.ai.
Install and sign in
Install with npm and sign in with a code.
Chat in the terminal
Approvals, @ mentions, environments and keys.
Browse
Work through incidents, RCAs and Tasks.
Commands
Every command, slash command and key.