Skip to main content
With xpander-connect on a desktop, xpander-connect claude opens Claude Code in the terminal on the person’s own cloud agent. Each turn runs in an isolated cloud session with the organization’s skills, approvals, AI gateway and record, and the terminal streams the answer. An admin can also make the cloud the only place Claude Code runs: AI clients on desktops then call no model through the AI gateway, and typing claude opens the cloud session instead.

Turn it on or off

Open Platform > AI governance > Policies, open Skills policy, and select Everyone or a group override.
Group override panel showing the Cloud Claude Code switch and Run Claude Code with On desktops and In the cloud only

Cloud Claude Code and Run Claude Code on a group override. Shown with sample data.

A group override can only be stricter than Everyone: it can turn Cloud Claude Code off and choose In the cloud only, never the reverse. In the cloud only needs Cloud Claude Code on; a group with both strict settings has no Claude Code at all, and its row says so. In the cloud only is enforced on the AI gateway for every desktop sign-in and personal gateway token, whatever the client calls itself. Agent runs, including cloud sessions, are not affected.

Access policies

Two actions in the Gateway category decide per person or group, beside the settings above: Every member holds both through the built-in Member policy. A Deny for a group takes either away once xpander support turns on enforcement of the Claude Code area. Ask for approval on these actions refuses them, since an approval cannot hold a model call or a session start.

Use it from a terminal

  • Typing while a turn runs steers it: the message reaches Claude at its next step.
  • Ctrl-C stops the turn. Ctrl-C again within three seconds, Ctrl-D or /exit leaves.
  • Type / and press Enter to list the session’s commands, such as /status, /link, /upload, /pull, /new and /exit.
  • A dropped connection resumes where it left off. The turn keeps running in the cloud meanwhile.
  • Each session has a link to the same conversation in xpander Chat, with its full record.
When In the cloud only is on, xpander-connect adds claude to the person’s zsh, bash and fish startup files, so typing claude opens the cloud session. It is removed when the setting is turned off. On Windows, run xpander-connect claude.

Folders

xpander-connect claude --upload (or xpander-connect claude upload [folder]) sends a folder to the person’s cloud agent once. Every later session sees it as ./shared/<folder>.
  • In a git repository, it sends the files git does not ignore, plus the repository history. Elsewhere it sends every file. Links are left out.
  • At most 2 GB on disk and 512 MB compressed. Larger projects belong in git: push, and ask Claude to clone the repository in the session.
  • xpander-connect claude pull writes the folder as the sessions left it into ./<folder>-cloud. Every file is checked against the cloud’s checksum before the folder is put in place, and an existing folder is never overwritten (--replace keeps the current one beside the new copy). pull --session takes a session’s own folder instead.
Every session opened, folder sent and folder taken is in the audit log.

Self-hosted installs

  • Air-Gapped: the same settings and commands. The install serves xpander-connect’s routes on the AI gateway host.
  • Hybrid: sessions run on your install’s own agents. Folders move with git there: clone your repository in the session, or push a branch and ask Claude to pull it. --upload and pull answer with that step.