Command
cscale init
Sign in, install local integration, add a policy if needed and start a background check
CLI 0.2.11
cscale init [OPTIONS]Examples
Sign in, install local integration, add a policy if needed and start a background check.
cscale initPreview the integration and starter policy for Codex.
cscale init --for codex --dry-runRequest sign-in while installing for Claude Code.
cscale init --for claude-code --sign-inOpen the sign-in link sent by email and type the terminal's code.
cscale init --sign-in --email you@example.com --no-browserInstall and propose an agent public key without starting a check.
cscale init --skip-check --person john --agent-key-file agent.pubBind this repository's checks to the acme workspace.
cscale init --workspace acmePreview the CI files for GitLab.
cscale init --ci --ci-host gitlab --dry-runChoose a published Linux release when running a development build.
cscale init --ci --cli-version 0.2.1 --cli-checksum 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef --cli-arm64-checksum abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789 --cli-url https://assets.example.test/cscale-x86_64 --cli-arm64-url https://assets.example.test/cscale-aarch64Options
--agent-key-file <AGENT_KEYS>Additional base64 Ed25519 agent public key files to register for this person
--ciWrite an editable CI job with the release filled in; then add the CSCALE_CHECK_KEY secret
Default:
false--ci-host <CI_HOST>Override CI detection from existing files and the origin remote
Possible values: actions, gitlab, bitbucket, circleci, azure, jenkins, buildkite, commitscale, other.
--cli-arm64-checksum <CLI_ARM64_CHECKSUM>SHA-256 of the selected release's Linux aarch64 binary
--cli-arm64-url <CLI_ARM64_URL>HTTPS download URL for the selected Linux aarch64 binary
--cli-checksum <CLI_CHECKSUM>SHA-256 of that release's Linux x86_64 binary
--cli-url <CLI_URL>HTTPS download URL for the selected Linux x86_64 binary
--cli-version <CLI_VERSION>Release version for both Linux architectures; defaults to this CLI's published version
--dry-runShow the planned files without sign-in, installing or running a check
Default:
false--email <EMAIL>Send a sign-in link to this address; open it and type the terminal's code
--for <HARNESS>Install for this harness; otherwise detect .claude and .codex
Possible values: claude-code, codex.
--helpPrint help (see a summary with '-h')
--jsonPrint JSON, for agents and scripts
Default:
false--no-browserNever open a browser: print the page to open instead. Pages that confirm with your passkey,
auth login, andwebopen oneDefault:
falseEnvironment:
CSCALE_NO_BROWSER--person <PERSON>Person whose agents' public keys are proposed for target-branch trust
--server <SERVER>The Commitscale server, such as https://commitscale.com
Environment:
CSCALE_SERVER--sign-inSign in before installation, including in unattended harness setup; checks need an account
Default:
false--skip-checkInstall integrations without starting a background local check
Default:
false--workspace <WORKSPACE>Bind this repository to a personal or organization workspace