Agent adopt (Hermes / OpenClaw)¶
Bootstrap a SecretZero environment from a local agent install without exposing secret values.
Commands¶
Bash
secretzero agent list --format json
secretzero agent adopt --dry-run --format json
secretzero agent adopt --preseed-lockfile --format json
secretzero agent backup is an alias of agent adopt. It is not secretzero backup create.
Defaults¶
--output-dirdefaults to the resolved agent install path (~/.hermes,~/.openclaw, …).--targetautodetects Hermes, then OpenClaw.- Only present catalog credentials become manifest secrets.
GitOps capture¶
Bash
secretzero agent adopt \
--target hermes \
--source-dir ~/.hermes \
--output-dir ./agents/hermes \
--template
Restore loop¶
secretzero agent adopt --preseed-lockfilesecretzero validate -f <Secretfile>secretzero agent sync --json -f <Secretfile>secretzero sync -f <Secretfile>
See skills/secretzero-agent-adopt/SKILL.md and
docs/superpowers/specs/2026-05-27-agent-adopt-design.md.