Skip to main content
Reference for the claude-science command: every subcommand, the serve flags, the single-use login link, and the two environment variables Claude Science reads.
claude-science serve starts Claude Science and opens the web app in your browser at a single-use login link. Everyday use is that one command. The others manage the running program: they mint login links, report status, follow logs, install updates, and merge data directories.

Commands

import has no preview and no undo. Back up the data directory before you run it; running the same import a second time is safe.

Global flags

These two work on every command. When serve starts, it prints a line of the form Web UI -> http://localhost:<port>/?nonce=.... The nonce is a one-time password: it signs one browser tab in and then expires, about three minutes after it is printed. The signed-in tab stays signed in until you restart the program.
You never need to keep a link. claude-science open mints a fresh one and opens it in your browser whenever you want to sign in again. For a machine you reach over SSH, claude-science url prints a fresh link alone on standard output: run it there, then open the printed link through your tunnel. The app listens on 127.0.0.1 unless you change —host, so it is reachable only from your own machine.

Flags for serve

Dangerous flags

--dangerously-no-sandbox runs code with full read and write access to your home directory and an unrestricted network. --dangerously-skip-approvals approves every permission card automatically, for everything, until you restart without the flag; questions addressed to you still appear. Neither belongs in everyday use.

Environment variables

DO_NOT_TRACK, set to any value, turns usage analytics off. It is the same switch as disable_telemetry = true in the configuration file. GITHUB_TOKEN is optional and is used only against api.github.com, to lift the rate limit when you install a skill from a GitHub repository. Settings belong in the configuration file; an environment variable never overrides one.

See also

Remote compute clusters

Connect an SSH host and run jobs on it.