Openclaw Manager
Deploy, harden, and operate OpenClaw across local and hosted environments (Fly.io, Render, Railway, Hetzner, GCP) with secure defaults, channel setup guidanc...
Description
name: openclaw-manager description: Deploy, harden, and operate OpenClaw across local and hosted environments (Fly.io, Render, Railway, Hetzner, GCP) with secure defaults, channel setup guidance, integration onboarding, and troubleshooting workflows grounded in official OpenClaw documentation. Use when users need install/deploy help, migration support, runtime hardening, memory/agent operations tuning, or incident response. runtime_metadata: deployment_modes: - local - hosted supported_providers: - local - fly - render - railway - hetzner - gcp supported_operating_systems: - macos - linux - windows-wsl2 supported_channels: - telegram - discord - slack supported_integrations: - email - calendar security_gates: - env_validation_passed - security_checklist_passed - rollback_plan_documented - ledger_updated privileged_operations: - provider_secret_writes - public_network_exposure - persistent_state_changes required_env_vars: - OPENCLAW_GATEWAY_TOKEN
OpenClaw Manager
Overview
Build and operate OpenClaw with production-safe defaults across both local and hosted environments. This skill is optimized for operators with limited platform expertise and enforces hard security gates before rollout completion.
Primary references:
- Docs map:
references/openclaw-doc-map.md - Security gates checklist:
references/openclaw-security-checklist.md - Mode matrix:
references/openclaw-mode-matrix.md - OS matrix:
references/openclaw-os-matrix.md - Integrations playbook:
references/openclaw-integrations-playbook.md - Ops ledger schema:
references/openclaw-ops-ledger-schema.md
Automation helpers:
scripts/plan_openclaw_rollout.pyscripts/validate_openclaw_env.pyscripts/update_openclaw_ops_ledger.py
Default ops ledger path:
./openclaw-manager-operations-ledger.md(or operator specified)
Hard-Stop Rules (Never Bypass)
Stop and block deployment/install progression if any condition is true:
- Required secrets profile fails validation.
- Security checklist mandatory gates are not all passing.
- Rollback path is not documented and owned.
- Ops ledger was not updated for the current phase.
- Public exposure requested without auth boundary and token controls.
Workflow
1) Intake and Scope Lock
Collect and confirm:
mode:localorhostedprovider:local,fly,render,railway,hetzner,gcpos:macos,linux,windows-wsl2channels: subset oftelegram,discord,slackintegrations: subset ofemail,calendarenvironment:dev,staging,prodexposure:privateorpublic
Before proceeding, write a scope_lock ledger entry:
python3 scripts/update_openclaw_ops_ledger.py \
--ledger-file ./openclaw-manager-operations-ledger.md \
--event scope_lock \
--operator codex \
--mode hosted \
--provider fly \
--os linux \
--environment prod \
--secrets-profile hosted-fly \
--channels telegram,slack \
--integrations email,calendar \
--security-status pending \
--rollback-tested no \
--blocking-issues "none" \
--next-owner operator \
--next-action-date 2026-02-20
2) Generate a Decision-Complete Plan
Always generate a plan first:
python3 scripts/plan_openclaw_rollout.py \
--mode hosted \
--provider fly \
--os linux \
--channels telegram,slack \
--integrations email,calendar \
--environment prod \
--exposure public \
--ledger-file ./openclaw-manager-operations-ledger.md \
--output /tmp/openclaw-rollout.md
The plan output is the execution contract. Do not skip sections.
3) Validate Secrets and Config Profile Before Any Infra Change
Validate environment using profile-aware gates:
python3 scripts/validate_openclaw_env.py \
--env-file .env \
--profile hosted-fly \
--json
Validation enforces:
- required keys by profile
- required provider/model alternatives
- malformed and duplicate env keys
- placeholder values
- weak gateway/setup tokens
- legacy alias warnings
Write a predeploy_validation ledger entry immediately after validation.
4) Execute Mode Branch
Branch A: Local install (mode=local)
- Use official install/onboarding docs for local setup.
- Apply OS-specific commands from
references/openclaw-os-matrix.md. - Validate startup, persistence path, and local auth boundaries.
- If local public exposure is requested, apply gateway hardening gates from security checklist first.
Branch B: Hosted clone + deploy (mode=hosted)
- Clone the selected OpenClaw source repo.
- Follow provider playbook from
references/openclaw-doc-map.md. - Configure persistent storage before production traffic.
- Configure ingress/auth, secrets, and health checks.
- Verify runtime logs for startup/auth errors and secret leakage.
Write a deploy_complete ledger entry once deployment/install is complete.
5) Configure Channels and Integrations Safely
For each selected channel/integration:
- inject credentials via secret manager/env only
- run a minimal smoke test
- verify auth boundaries and error logging safety
Track each item as:
configuredpending_credentialsblocked
Use references/openclaw-integrations-playbook.md for email/calendar specifics.
6) Agent + Memory Baseline
Document and validate:
- memory persistence strategy
- retention expectations
- restart and recovery behavior
- agent behavior boundaries
Update ledger with operational baseline decisions.
7) Mandatory Security Gate
Run references/openclaw-security-checklist.md and produce pass/fail per gate.
No go-live if any mandatory gate fails.
Write a security_gate ledger entry with explicit blockers (if any).
8) Handover and Incident Readiness
Produce:
- provider status summary
- channel + integration matrix
- security gate table
- rollback and escalation ownership
- follow-up actions by risk order
Write handover ledger entry. For incidents/troubleshooting, append incident entries as events happen.
Output Contract
Always return:
- Mode/provider/OS/environment status summary
- Security gate results (hard pass/fail)
- Channel + integration matrix
- Agent + memory configuration summary
- Ops ledger update confirmation (event names written)
- Follow-up actions ordered by risk
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!