Sign in

Agent setup

Paste one prompt into Claude Code or Codex on your machine; the agent installs the CLI, names the account and the box, and copies your project there once, with no sync, asking before each part.

On this page2

One prompt

Create the box in the dashboard, then paste this into your agent on your machine, in the project you want on the box. It covers steps 2 through 4 of the Quickstart. For Claude Code or Codex, the short prompt on /claude-code or /codex does the same and starts a box too. In the onboarding tour, the install step's Paste into your coding agent tab is shorter still: the agent runs the tour's install command, which signs in and connects your box, then copies the project there once, with no sync, and works on the box.

Prompt
Set up Prized on this machine and, if I confirm each part, copy this project to my box once and put my coding agents there. Prized is a cloud dev box; the docs live at https://prized.dev/docs. https://prized.dev/llms.txt lists every page; fetch the ones you need as Markdown by adding .md to a page URL (https://prized.dev/docs/quickstart.md).

Rules: copy, never move or delete; never start a sync: the project goes to the box once, one way, with --copy-once, and you never copy anything back to this machine unless I ask; never switch the Prized account this machine is signed in to; never print credentials or read ~/.config/prized; ask me before installing software, before copying the project or any credential, and before doing anything that could cost money. Non-interactive prized commands accept --json and print exactly one JSON object with an "ok" field; error codes and exit codes are stable and listed at https://prized.dev/docs/cli.md.

1. Install: if `prized version` fails, ask me, then run this and re-check (on Windows, from any shell: powershell -c "irm https://prized.dev/install.ps1 | iex"):
   curl -fsSL https://prized.dev/install.sh | sh
2. Sign in: if prized commands fail with code AUTH or a "prized login" hint, ask me whether I have a Prized account. If I do, stop and ask me to run `prized login` in another terminal (or, with a key from https://prized.dev/dashboard/workspace/api-keys, `prized login --token-stdin` there: paste it, then press Enter and Ctrl-D). If I don't, ask for my email address and follow https://prized.dev/auth.md: Prized emails me a 6-digit code, I give it to you, and you get an API key for my new account. Save the key the way auth.md says (from a shell, its From a shell commands, which pipe it to `prized login --token-stdin`), never as an argument, and never print it. If that page is not available, stop and ask me to run `prized login` in another terminal. If prized commands already work, this machine is signed in: keep that account, and never run `prized login` to change it.
3. Before anything is copied, run `prized setup --dry-run --json --non-interactive --copy-once .`: it changes nothing here or on the box, and its "login" step names the account. If it exits 2 refusing this folder, run `prized setup --dry-run --json --non-interactive --no-project` instead for the account. Tell me that account and the box (`prized box ls --json`; if there are several, ask me which and add `--box <name>` to setup and to every prized command after it), and ask whether to copy this project there once, with no sync. If this folder is my home folder or Desktop, or has no .git or manifest, ask which project I mean and use its full path (/… or ./<folder>, never a bare name) instead of `.`. Never copy a home folder or a folder inside ~/Prized: tell me instead.
4. Everything else is one command, safe to re-run. Without my yes to the copy, still run it for the rest, with --no-project in place of `--copy-once .`:
   prized setup --json --non-interactive --copy-once .
   It copies the project to ~/code/<name> on the box once (.git included; node_modules, virtualenvs, build caches and .env files stay here) and never overwrites a folder there that holds files. It never prompts; each other consent-gated step runs only when its grant flag is present and is reported as skipped otherwise. Ask me before adding each flag, and only pass the ones I say yes to:
   - `--agent claude|codex|cursor|chatgpt` (repeatable): hand that agent's sign-in and MCP config to the box. Ask me per agent.
   - `--install-cursor`: run Cursor's installer on the box. Its own yes.
   - `--gh`: copy my GitHub CLI token and git identity (an interactive setup does this on its own; your non-interactive run needs the flag). Its own yes.
   - `--env <groups>`: bring parts of my local environment to the box without asking: shell, python, node, tools, clis, docker, services (comma-separated). Run `prized env plan --json` first and read me the groups and items it lists; pass only the groups I say yes to.
   - `--env-secrets`: copy my secrets: the project's `.env` files, secret-looking env vars, and CLI sign-in files (aws, gcloud, kubectl, ...). Its own yes.
   - `--env-data`: copy database contents, Docker volumes, and local-only images; the plan shows sizes. Its own yes.
   If setup fails with exit 5 naming multiple candidate boxes, ask me which one and re-run with `--box <name>`; if it finds no box on the account, ask me whether to start one, and if I say yes, run `prized box new --wait`, then setup again. Read steps[] in the JSON: the "project" entry names the folder on the box it copied to (if it says anything else, tell me what it says), "skipped" entries name what was declined or not granted, "failed" entries carry the hint.
5. Claude Code sign-in copies from this machine when I am signed in here, so `--agent claude` works from your run. If the claude row comes back manual with the note "no Claude Code sign-in on this machine to copy", this machine is not signed in to Claude Code: no credentials, settings, or MCP configuration were copied, and any existing box sign-in was left alone. A local sign-in that cannot be read also leaves the box unchanged. Relay the row's steps to me (`prized ssh <box>`, then `claude`, then `/login` inside it); I sign in once on the box and it persists there.
6. Verify: `prized status --json` reports ok; if the project was copied, `prized exec --cwd code/<name> -- ls` lists it on the box; `prized agents ls --json` shows each chosen agent installed and signed in on the box.
7. Report: the account, the box name, the project's folder on the box (or that I chose to keep it here), that this folder is unchanged and nothing syncs back (work moves with git), each agent's handoff outcome, and the command that starts my agent on the box or opens it if it runs (the JSON's `agent.command`; else the reattach command of the session setup started, else `prized agents run claude --attach --dir code/<name>`). From then on, run the project's commands there with `prized exec --cwd code/<name> -- <command>`.

What the agent asks you

It asks aboutWhat happens
Sign-inRun prized login yourself, or give the agent a key from the dashboard. New to Prized? The agent can make your account with your email address and the 6-digit code Prized emails you (Agent sign-in); give the code only to the agent you are using.
The projectWhether to copy it to the box once, with no sync (--copy-once), after it names the account and the box. Nothing is copied back, and no still leaves a signed-in CLI and a healthy box. To keep a folder syncing, run prized setup --sync in it yourself, or prized setup --sync --merge once the agent has copied it (Sync).
Your environmentThe groups prized env plan --json lists; the ones you accept go in --env, and secrets and data are their own yes (Bring your environment).
Each credentialOne flag per yes (--agent <name>, --gh, --install-cursor); the transfer runs over the SSH tunnel and the agent never handles a value (Credentials).

Signing in to Claude Code on the box? Select the sign-in link and press c to copy it through prized ssh (Copy out). To run agents on the box afterwards, see Agents.