Skip to content

Claude Code ​

Claude Code logo

Claude Code is preinstalled in Kloud Workspace as both a CLI tool and a VS Code extension.

  • CLI available system-wide.
  • VS Code extension preinstalled, running the same claude binary as the CLI.
  • Powerline-style statusline with the same terminal theming.
  • Managed default settings.

Sign In ​

The image ships no Claude credentials, so sign in once from a terminal:

sh
claude auth login

It prints a sign-in link. Open it, sign in, and paste the code back into the terminal if it asks for one.

claude auth login uses a Claude subscription by default; add --console to use an Anthropic Console account with API usage billing instead. Check the result with claude auth status.

CLI ​

The claude binary is available globally and works independently of VS Code in any terminal session.

sh
claude --version

Statusline ​

A custom Powerline-style bar is rendered whenever Claude Code is active in the terminal. It uses the Catppuccin Frappe color palette to match the workspace theme.

The statusline displays the following segments:

  • Directory: git-aware path with repository name and truncated subdirectories.
  • Git branch & status: current branch, staging state, and ahead/behind tracking.
  • Lines changed: additions and deletions in the current session.
  • Model name: the active Claude model.
  • Context window usage: a visual progress bar showing how much of the context window is consumed.

Every segment except the directory can be hidden with an environment variable. These variables control the statusline:

  • WS_CLAUDE_STATUSLINE_DISABLE: Disables the Claude Code statusline.
  • WS_CLAUDE_STATUSLINE_HIDE_CONTEXT_BAR: Hides the context usage bar in the Claude statusline.
  • WS_CLAUDE_STATUSLINE_HIDE_GIT: Hides git branch and status in the Claude statusline.
  • WS_CLAUDE_STATUSLINE_HIDE_LINES_CHANGED: Hides lines added/removed in the Claude statusline.
  • WS_CLAUDE_STATUSLINE_HIDE_MODEL: Hides the model name in the Claude statusline.
  • WS_CLAUDE_STATUSLINE_SCRIPT: Path to the statusline script.
  • WS_CLAUDE_STATUSLINE_SHELL: Shell used to execute the statusline script.

To disable the statusline entirely, set WS_CLAUDE_STATUSLINE_DISABLE to true.

Managed Settings ​

Kloud Workspace ships managed settings for Claude Code in /etc/claude-code/managed-settings.json:

SettingValue
DenyReading ./.env
OpenTelemetry exportOff (CLAUDE_CODE_ENABLE_TELEMETRY=0)

ℹ️ INFO

Managed settings take precedence over your own ~/.claude/settings.json. The file is owned by root and is reset when the container is recreated.

Released under the MIT License