Skip to main content
Downloads Chromium (about 190 MB) and connects Demoman to Claude Code, Codex, Cursor and OpenCode (Connect your agent). In a terminal it first asks which agents to connect, the export quality and the pull-request setting; run it again to change them. A flag answers its question, so it is not asked; without a terminal (a script, CI) nothing is asked.

setup —ci

Checks CI’s refresh of the repo’s flows from a clean checkout, shows one plan, and on one confirmation turns on the Actions setting, sets the secrets, opens the “Set up Demoman” pull request from demoman/setup and watches its first run. A trigger or route not given is asked. The walkthrough is Keep videos current. Run again where the workflow is already on the default branch, setup updates it to this release’s in one pull request, “Update Demoman’s workflow”. The plan keeps the trigger, route and artifact the workflow has: --trigger and --route replace theirs, and --artifact turns the artifact on (an update never turns it off). The whole file is replaced, so anything added to it by hand is dropped; the plan says so. A workflow that is already this release’s stops with alreadySetUp. One setup cannot read is asked about in a terminal, and needs --trigger without one. The Studio does not update a workflow: run setup in a terminal, or ask your agent. Nothing is written to your checkout, branch or default branch before the confirmation, except a drafted .demoman/app.json when the app step fails, so you can fix it and run setup again. The default trigger is a deployment if the repo has a successful one that names a URL (a production environment first, never a preview), else release if it publishes releases, else daily. Push and manual are never the default; the plan shows push’s measured cost per merge. The plan’s files: .github/workflows/demoman.yml, .demoman/app.json, .demoman/accounts.json unless committed as is, a .demoman/secrets.env line in .gitignore when it lacks one, and each repo flow not yet on the default branch. A secret’s value goes to GitHub on stdin, never in a command line, a log or an answer. The watch ends passed, failed, cancelled or unknown. Unknown means GitHub could not be read, or the run was still going after 30 minutes. After three failed runs on demoman/setup it hands back. Your agent does the same with the MCP ci tool, which returns the plan first and acts only after you agree. It never asks for a secret: it gives you the command to run instead. When setup stops, see Refusals.
A release published with GITHUB_TOKEN starts no workflow, so a release trigger fires only for one published by a person or another token. GitHub turns a scheduled workflow off after 60 days without activity on a public repo; enable it again under Actions.