Configuration files
| File | Purpose |
|---|---|
~/.rubix/auth.json | Authentication credentials (device-code tokens). Rotated by the server, refreshed automatically. |
~/.rubix/settings.json | Local preferences: default environment, model preference, UI theme. |
~/.rubix/sessions/ | Local session cache. Safe to delete; sessions remain available in the cloud. |
~/.rubix/trust.json | List of folders where the CLI has been granted trust (see below). |
rubix login and rubix logout for auth, slash commands for preferences, and /untrust to remove a folder from the trust list.
Folder trust
When you run the CLI inside a folder for the first time, Rubix asks whether to trust that folder. Trusting a folder enables:- Reading local files with
/pasteor for skill inputs. - Running shell commands the agent drafts without re-prompting each time.
/sendof shell output directly into chat.
~/.rubix/trust.json if that is what you prefer.
Switching environments
Inside chat:Switching the AI model
Inside chat:Switching agents (apps)
If your workspace has multiple agent configurations (for example, different personas), you can switch which one new sessions default to:Console and docs shortcuts
From inside chat, open the web console or this documentation in your default browser:Clearing the current session
Two levels of clearing:/clearwipes the visible conversation history for readability. The session itself is preserved server-side./newstarts a fresh session with no history at all.
Sensitive data and redaction
The CLI does not log your prompts or responses anywhere local. Session content is stored in RubixKube Cloud according to your workspace retention policy. To delete a session entirely, runrubix sessions to list sessions, then delete through the web console.
Where to go next
Commands reference
Every top-level and slash command.
Troubleshooting
Auth, proxy, and Node.js issues.