Command Palette

Search for a command to run...

Назад к скиллам
скилл № 73174

operator-bootstrap

This skill should be used when a merge leaves two or more operator steps blocked on one credential: generate a runnable staged bootstrap.sh an agent runs, not…

БесплатноЗапускает вложенные скрипты
jikig-aiот jikig-ai★ 21 звезда на GitHub

Установить operator-bootstrap в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Operator Bootstrap — generate the script, not the checklist

Two hard rules already mandate the artifact this skill produces. hr-multi-step-post-merge-bootstrap-script says a post-merge deferral with two or more steps ships as a runnable script; hr-ship-message-no-operator-checklist says the ship message does not hand the founder a checklist.

This skill authors that script. It does not author the machinery: every script it produces sources plugins/soleur/scripts/lib/operator-script.sh, which is where the stage table, the plan and receipt gate, the secret handling, the .env upsert, the prompt classes and the run ledger live.

The script is run by an agent, one stage at a time, with no terminal (ADR-264). The person never opens a terminal and is never handed a command list. Their acknowledgement of each production write is the harness approval prompt on the exact command the agent is about to run. §Running a generated script is the protocol.

The library header is the contract

The library is one file. The skill authors only stages. Never hand-edit the library.

Everything a generated script may rely on is documented once, in the header of plugins/soleur/scripts/lib/operator-script.sh, and is not restated here:

  • Sourcing preconditions (set -euo pipefail first; the xtrace/TLS prologue duplicated above the source line; required binaries) — header §"SOURCING PRECONDITIONS".
  • The library invariant (it never expands a secret-shaped name; secrets arrive as positional parameters; credential entry stays in the generated script) — header §"LIBRARY INVARIANT".
  • The staged contract and the approval receipt (stage table, plan, digest, one-time receipt, the order inside soleur_op_stage_gate) — header §"Staged contract" and §"Approval receipts".
  • The prompt classes and their non-interactive behaviour — header §"Prompts".
  • Exit codes and stdout markers, including exit 75, SOLEUR_BOOTSTRAP_LIB_MISSING and SOLEUR_BOOTSTRAP_LIB_INCOMPATIBLE — header §"EXIT CODES" and §"STDOUT MARKERS".
  • The API contract (SOLEUR_OP_LIB_API) — header §"API CONTRACT".

When the header and this file disagree, the header is right and this file has drifted.

The staged contract in one screen

A generated script carries the header line # SOLEUR-GENERATED-OPERATOR-SCRIPT v2 on line 2. The approval hook recognises a script by that line (a v1 script never gets a receipt), never by file name.

bash SCRIPT --list                                      the stages (static, needs no login)
bash SCRIPT --stage NAME                                a READ stage runs; a WRITE stage prints its plan
bash SCRIPT --stage NAME --apply --plan-digest D [--rotate-token]   the approved write
  • There is no run-all mode and no --yes. A missing --stage exits 64.
  • A read stage only reads and reports. A write stage first prints a plan and changes nothing: SOLEUR_BOOTSTRAP_PLAN stage= operations= digest=, one SOLEUR_BOOTSTRAP_PLAN_OP per change, the stage's SOLEUR_BOOTSTRAP_IMPACT and SOLEUR_BOOTSTRAP_ROLLBACK sentences, and an SOLEUR_BOOTSTRAP_APPLY_COMMAND line followed by the exact command to run.
  • --apply --plan-digest D performs the write. The script recomputes the plan and compares the digest, so what runs is what was shown; a mismatch exits 75 SOLEUR_BOOTSTRAP_PLAN_DRIFT with nothing written.
  • The receipt (Claude Code interactive only): a plugin PreToolUse hook (plugins/soleur/hooks/operator-stage-approval.sh) mints a one-time record when the harness shows the person the exact command, and rewrites the command to carry SOLEUR_APPROVAL_NONCE. The script consumes the record before its first write. An environment variable or a flag set by the agent is never an approval. On harnesses without that hook (OpenCode, Codex, Devin cloud, Grok) and on the web app, no receipt can be minted: --apply exits 75 (SOLEUR_BOOTSTRAP_APPROVAL_REQUIRED) with nothing written (see Surfaces below).
  • Keep the .env beside the script. "Satisfied" and verify read the recorded slugs there (it is g
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • template.sh

FAQ

Что делает скилл operator-bootstrap?

This skill should be used when a merge leaves two or more operator steps blocked on one credential: generate a runnable staged bootstrap.sh an agent runs, not a prose checklist.

Как установить скилл operator-bootstrap?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл operator-bootstrap запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить operator-bootstrap с