@@ -185,14 +185,28 @@ Use `--force-referenced` only after reviewing the displayed dependents,
185185independent owners, and pre-existing origin. It allows selected cleanup despite
186186those conflicts; it does not skip plan-integrity consent.
187187
188+ ## Export an installed agent
189+
190+ Export creates a new package directory and fails if the destination exists or
191+ managed state has drifted:
192+
193+ ``` bash
194+ openclaw claws export incident-triage --out ./incident-triage-export --json
195+ ```
196+
197+ The result contains ` package.json ` , ` openclaw.claw.json ` , and managed workspace
198+ sidecars. It is a portable Claw package, not a whole-instance backup: unrelated
199+ agents, credentials, sessions, and unowned local state are excluded.
200+
188201## Command reference
189202
190- | Command | Purpose |
191- | ------------------------------ | --------------------------------------------------- |
192- | ` claws inspect <source> ` | Validate a package directory or JSON manifest. |
193- | ` claws add <source> ` | Preview or create one new agent and workspace. |
194- | ` claws status [claw-or-agent] ` | Report installed state, ownership, and drift. |
195- | ` claws remove <claw-or-agent> ` | Preview or remove the agent and eligible resources. |
203+ | Command | Purpose |
204+ | ----------------------------------- | --------------------------------------------------- |
205+ | ` claws inspect <source> ` | Validate a package directory or JSON manifest. |
206+ | ` claws add <source> ` | Preview or create one new agent and workspace. |
207+ | ` claws status [claw-or-agent] ` | Report installed state, ownership, and drift. |
208+ | ` claws remove <claw-or-agent> ` | Preview or remove the agent and eligible resources. |
209+ | ` claws export <agent> --out <path> ` | Create a portable package from an installed agent. |
196210
197211Use ` --json ` for experimental machine-readable output.
198212
0 commit comments