openclaw claws
A Claw is a versioned setup for one new OpenClaw agent. It can describe the
agent configuration, workspace files, skills, plugins, MCP servers, and cron
jobs that agent needs. A Claw does not replace or modify an existing agent.
Claws are experimental. Their schema, command output, and lifecycle may change.
Enable the command surface explicitly:
Create a grouped manifest
Start with a version 1 JSON manifest:SOUL.md use named entries; additional files use package-relative
sources and workspace-relative targets:
Inspect and preview
Validate the source without planning local changes:planIntegrity
digest. Capability records show the exact package, MCP, scheduled-work, sandbox,
tool, or heartbeat effect. Review the plan before creating the agent:
--yes alone is insufficient. OpenClaw rebuilds the plan and rejects consent
when the source, destination, or live configuration changed after preview. Use
--agent-id or --workspace during both preview and apply when package
defaults collide with local state.
Adding a Claw creates the new agent and workspace configuration, writes declared
workspace files, installs or reuses declared skill and plugin artifacts, and
records provenance. Existing files are not overwritten, and retries fail closed
when owned content drifted. Later Claws stages add other declared resources.
Inspect installed state
status compares the installed agent and its recorded workspace and package
provenance with current state. It reports incomplete installs, missing
resources, and drift without changing local state.
Claw provenance distinguishes two relationships:
- Managed: the Claw introduced and currently manages the resource. It is a cleanup candidate when unchanged and no conflicting owner remains.
- Referenced: the resource existed independently or is shared. Removal releases this Claw’s reference and retains the resource by default.
Remove an installed Claw
Preview removal before selecting cleanup:--yes never broadens
them. Globally installed plugins are retained while this Claw’s reference is
released; use the ordinary plugin lifecycle separately when you intend to
uninstall a process-wide plugin.
To remove unchanged Claw-introduced references that have no other current
owner, include --remove-unused in both preview and apply. To select exact
referenced resources instead, repeat --remove-referenced:
--force-referenced only after reviewing the displayed dependents,
independent owners, and pre-existing origin. It allows selected cleanup despite
those conflicts; it does not skip plan-integrity consent.
Command reference
Use
--json for experimental machine-readable output.