Community코딩 & 개발github.com

cloud-image-bake

Cloud Worker 이미지를 베이크(bake)하고, 선택하며, 검증한 후 crabbox와 설정 한 줄 명령어로 안전하게 폐기합니다.

cloud-image-bake란 무엇인가요?

이 스킬은 Cloud Worker 이미지를 처음부터 끝까지 안전하게 베이킹하고, 검증하고, 폐기하는 전체 워크플로우를 자동화합니다. AWS, Hetzner, Firecracker 등 여러 백엔드를 지원하며, `crabbox`와 `openclaw config` 명령어를 사용하여 이미지 생성, 프로필 업데이트, 상태 점검(doctor) 및 롤백을 처리합니다. 민감한 값(secret)이 인쇄되거나 지속되지 않도록 하고, 설정 파일을 직접 수정하지 않고 `openclaw config`를 통해 변경하도록 강제합니다. 모든 실행 단계는 관찰 가능한 결과(Prove 결과)로 끝나야 하며, 검증에 실패하면 정확한 차단 원인을 설명하고 이전 이미지로 롤백합니다. 또한, 오퍼레이터의 명시적 확인 없이는 프로바이더 이미지를 절대 삭제하지 않도록 하여 안전한 폐기 절차를 보장합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/custodian-skills/cloud-image-bake

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Cloud Worker 이미지 베이크(Bake)

비밀 값(secret)을 절대 출력하거나 저장하지 마십시오. 프로바이더 자격 증명은 해당 저장소에 그대로 둡니다. 디스크의 설정 파일을 직접 수정하지 마십시오. 프로필 변경은 반드시 openclaw config를 통해 이루어져야 합니다. 모든 실행은 관찰 가능한 Prove 결과 또는 증명할 수 없는 이유에 대한 정확한 설명으로 끝나야 합니다. 스냅샷은 저렴하지만, 관리되지 않는 스냅샷의 증가는 그렇지 않습니다. 오퍼레이터의 명시적 확인 없이는 프로바이더 이미지를 절대 삭제하지 마십시오.

수집(Gather)

openclaw config get cloudWorkers --json
crabbox config show --json
crabbox doctor --provider <backend> --json
crabbox checkpoint list --json

현재 프로바이더, 클래스, 이미지 선택, 설정 명령어, 그리고 대체될 이미지의 ID를 기록합니다. 요청된 도구와 비밀 없는 베이크 소스를 확인합니다.

변경(Mutate)

현재 프로필에서 임대(lease)하고, 도구를 설치하고 스모크 테스트합니다:

crabbox warmup --provider <backend> --class <class> --keep --timing-json
crabbox run --provider <backend> --id <lease> --no-sync -- bash -lc '<install commands> && <tool> --version'

백엔드별 스냅샷:

  • AWS: crabbox checkpoint create --provider aws --id <lease> --mode native --strategy image --wait, 검사한 후 crabbox image promote <ami-id>를 적절한 범위로 실행합니다. AWS 이미지 선택은 프로모트 카탈로그가 소유합니다.
  • Hetzner: hcloud image create --type snapshot --server <server-id> --description <name>; 현재 Hetzner에는 crabbox create/promote 수명 주기가 없으므로 스냅샷 ID를 명시적으로 기록합니다.
  • Firecracker: 호스트의 템플릿 파이프라인을 통해 루트fs 템플릿을 재빌드하고 재배포합니다. 실행 중인 마이크로VM을 대체로 스냅샷하지 마십시오.

검증된 설정 쓰기를 통해서만 새 선택 항목으로 프로필을 지정합니다. 먼저 정확한 키를 확인하고, dry-run을 실행한 후 씁니다(설정에 이미지 필드가 있는 백엔드의 예시):

openclaw config schema --json | jq '.properties.cloudWorkers'
openclaw config set cloudWorkers.profiles.<profile>.settings.<imageKey> "<image-id>" --dry-run
openclaw config set cloudWorkers.profiles.<profile>.settings.<imageKey> "<image-id>"

번들된 crabbox 프로필에는 현재 image 설정 키가 없습니다. AWS 선택은 crabbox image promote에 있습니다. 설정 필드를 절대 임의로 만들지 마십시오. 검증이 통과할 때까지 이전 이미지를 유지합니다.

복구(Repair)

openclaw doctor --lint
crabbox doctor --provider <backend> --json

doctor --lint는 결과를 위해 종료 코드 1을 반환할 수 있습니다. 보고서를 읽고 나머지 검사를 계속합니다. 일반 doctor와 doctor --non-interactive는 설정/상태를 쓸 수 있습니다. 승인 전에 진단에 사용하지 마십시오. 명시적 승인 후에만 openclaw doctor --fix --non-interactive를 적용한 다음, 프로필과 프로바이더 인벤토리를 다시 읽습니다.

증명(Prove)

새 이미지에서 한 번 임대하여 베이크된 도구가 존재하고 빠른지 확인합니다:

crabbox warmup --provider <backend> --class <class> --timing-json
crabbox run --provider <backend> --id <lease> --no-sync -- bash -lc '<tool> --version'
crabbox stop --provider <backend> --id <lease>

워밍업 총 시간을 기록하고 베이크 전 타이밍과 비교합니다. 그런 다음 OpenClaw 경로를 종단 간(end-to-end)으로 확인합니다. 클라이언트(Cloud 대상)에서 프로필로 하나의 세션을 전달하고 배치가 활성 상태에 도달하는지 확인합니다. 단계 중 하나라도 실패하면 이미지 선택을 롤백하고 정확한 차단 원인을 보고합니다.

보고(Report)

프로필, 백엔드, 새 이미지 ID와 이전 이미지 ID, 도구 스모크 결과, 시간이 측정된 워밍업 전후, 롤백 상태를 보고합니다. 성공적인 검증 후에만 정확한 삭제 대상을 표시하고 오퍼레이터의 명시적 확인을 받은 다음, 해당 대체된 스냅샷만 삭제하고(crabbox image delete <id> 또는 hcloud image delete <id>) 삭제되었는지 확인합니다. 확인이 없으면 그대로 두고 정리 보류 중임을 보고합니다.

추가 참고: https://docs.openclaw.ai/gateway/cloud-workers

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

관련 스킬