In CI, your merge review is the approval step —
--yes exists exactly for this. Agents must
never use it; the interactive approval rules in Trust & approvals apply to
humans and agents, not to pipelines you control.1. Get a token
Device tokens are created through the browser login flow and stored in~/.masterskills/config.json. For CI:
- Run
masterskills loginonce on a workstation (consider a dedicated service account so revocation doesn’t take a person’s machine offline). - Copy the
tokenvalue from~/.masterskills/config.json. - Store it as a CI secret, e.g.
MASTERSKILLS_TOKEN.
MASTERSKILLS_TOKEN environment variable takes precedence over any stored config, so the CI job needs no config file. The device shows up in the panel like any other and can be revoked there at any time.