ops-rotate-setup
GitHub指导操作员使用 staged-enrollment.mjs 脚本进行 Claude 账户的阶段性注册与安全配置,涵盖信任根固定、审批签名及 writer 隔离,严禁自动执行或绕过安全限制。
Trigger Scenarios
Install
npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-rotate-setup -g -y
SKILL.md
Frontmatter
{
"name": "ops-rotate-setup",
"effort": "low",
"maxTurns": 5,
"description": "OPS on-demand: This skill should be used when the user asks to \"rotate setup\", \"enroll Claude seat\", or…",
"allowed-tools": [
"Read"
],
"argument-hint": "",
"disable-model-invocation": true
}
Claude enrollment handoff
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
Direct Claude browser, OAuth, magic-link, setup, and unattended authentication
are disabled. Do not launch a browser, poll email, invoke rotate.mjs --setup,
invoke rotate-magic.mjs, modify auth inventory, or suggest an environment
bypass.
Tell the operator to use scripts/account-rotation/staged-enrollment.mjs with:
- An owner-only deployment config that pins every trust root and the canonical operation lock.
- A short-lived, separately signed
stageapproval for an externally captured CLIProxyAPI Claude auth candidate. - External containment of all writers.
- A distinct
activateapproval bound to the staged digest and attestingwritersQuiesced: true.
The attestation records operator confirmation; it does not stop services or contain writers itself. This skill does not sign approvals or perform either operation on the operator's behalf.
Version History
-
6f1e3e0
Current 2026-08-27 09:33
新增 ops-rules 引用及 AskUserQuestion/Workflow 缺失时的处理规则;修复发现索引的竞态条件、缺失文件崩溃及路由自匹配问题。
- 64bad13 2026-08-12 09:01


