Use your Claude plan
Every computer has Claude Code preinstalled, as Anthropic publishes it. You sign in to it yourself, in the computer's terminal, with your own Claude plan or API key. Anthropic bills your Claude usage to you.
What is preinstalled
Claude Code is installed in the ubuntu-26.04 image at a version we pin and check against Anthropic's signed release before the image is used. Nothing of ours is changed in it, and every way of signing in it offers stays there. Its own updater stays on, so a running computer may move to a newer version by itself. The Bring your own agent page shows the version in the image.
Claude Code needs a computer with at least 4 GiB of memory. Pick Medium or larger.
Sign in
- Open a computer and its terminal.
- Run
claude. It prints a sign in link. Open the link in your own browser and sign in to Anthropic with your own plan or key. If the browser shows a code, paste it into the terminal. - Work in
/workspace. Claude Code readsAGENTS.mdand your skills there.
In a chat, the Your Claude plan card has a button, Sign in to your Claude plan in the terminal, that opens the computer's terminal and types claude there for you. From then on the sign in is Claude Code's own.
Where your workspace has it on, the card also has a box for the code from Claude's page. What you paste there goes straight into Claude Code's prompt in your terminal, the same way your typing does. It is not sent to our API, not stored and not shown back.
Signing in with a Console API key instead? Sign in with it in Claude Code's own prompt in the terminal. Claude Code keeps the key in its account details, which live in memory like the sign in, so the key stays off the disk while /root/.claude.json stays the link it starts with.
Save it for new computers. Sign in once in Settings > Your subscriptions and every new computer you make starts with Claude Code signed in. See Your subscriptions.
Where your sign in lives
Claude Code keeps your sign in inside the computer, in /root/.claude/.credentials.json, and its account details in /root/.claude.json. The folder /root/.claude is held in memory only, never on the computer's disk, and /root/.claude.json is a link into it. The computer makes that link again at every boot, so the sign in stays off its disk while /root/.claude.json stays the link it starts with. If something replaces the link with a file, that file is on the disk. foxdeploy never reads them:
- the Files tab, the files API, the MCP file tools and the zip download keep the whole of
/root/.claude,/root/.codexand/root/.kimi-codeprivate: they are never listed, read or zipped, so Claude Code's, Codex's and Kimi Code's settings are hidden there too; a zip says how many private files were left out - Anthropic's key shapes are masked in command output, logs and chats that pass through us
- the terminal is a relay: nothing you type or see there is recorded
Your own shell is not restricted. It is your computer.
Claude Code can be steered by what it reads. A web page, a file or a command's output can hold instructions that get it to send your sign in out of the computer. Use it only on work and content you trust, and set an allow list in the computer's Network settings to limit where it can send anything (the hosts it needs are listed below).
Snapshots and clones
A pause keeps your sign in: the paused computer's memory is kept with the rest of it, and only Resume on the same computer reads it. A stop and start signs you out, because the sign in folder lives in memory only. Run /logout in Claude Code before you pause if you want none of it kept.
New computer from a snapshot starts from the disk only and signed out of Claude Code: after the new computer boots, and before it is handed to you, the sign in files are removed. If they cannot be removed, no computer is made and you are told so. Resume on the same computer keeps the sign in.
Only computers made from the current image keep the sign in and a Console key in memory. In an older computer, sign out with /logout and revoke the key in your Anthropic account, or move to a new computer, before you share a snapshot of it: its disk may still hold old sign in bytes.
Billing and limits
Anthropic bills your Claude usage to you, under your own plan or key. foxdeploy bills the computer time and storage, as for any computer. Your plan's limits are Anthropic's. A cloud computer does not change them.
The network
Claude Code talks to Anthropic straight from your computer. With egress off, Claude Code cannot work. If you set an allow list, add these hosts:
api.anthropic.com, claude.ai, claude.com, platform.claude.com, sso.claude.com, downloads.claude.ai, mcp-proxy.anthropic.com
Only if you need them, for installs, plugins and the docs: registry.npmjs.org, github.com, raw.githubusercontent.com, code.claude.com.
The chat with Claude Code
Where your workspace has it on, a chat can run Claude Code in its computer: open Use your subscription at the end of the model menu and choose Claude Code, or pick it in Chat settings. It says Signed in, Not signed in or Needs a computer when the chat has none. Use Claude Code puts the chat on it; Sign in to Claude puts the chat on it and opens the Your Claude plan card. Codex and Kimi Code are in the same list: see Use your ChatGPT plan and Use your Kimi plan. Each message runs Claude Code in /workspace on your own plan. Replies show under the header Claude Code, and no foxdeploy allowance is used.
Claude Code in a chat works without asking: it changes files and runs commands in this computer without stopping for you, whatever approval mode the chat had. Take a snapshot first if you want a way back. When Claude Code is not signed in, the chat says so and offers the terminal.
Team workspaces
Everyone in a workspace who can open a computer can use Claude Code with the sign in inside it. Sign in only in a computer that is yours, or run /logout when you are done. The chat with Claude Code and the paste box are off in team workspaces, because a Claude plan is personal. The computer's Logs show who opened a terminal.
Anthropic's terms
Claude Code is Anthropic's product and is governed by Anthropic's terms: Anthropic's terms for Claude Code.