Installing Agents
Installing an agent
Section titled “Installing an agent”clawstore install @someone/calorie-coachclawstore install @someone/calorie-coach@0.3.1 # pin a specific versionThe install flow runs these steps in order:
-
Resolve the version — fetches the package metadata from the registry. If you pinned a version, that exact version is used.
-
Download the tarball — content-hash verified on arrival.
-
Validate locally — runs the same validator the server ran at publish time, catching truncated downloads or tampered caches.
-
Show the install plan:
Calorie Coach 0.3.1 by @someoneLog meals by chat, get daily nutrition summariesThis package will:- create workspace at ~/.openclaw/workspace-calorie-coach- install 1 required plugin: @someone/nutrition-api 1.2.0- prompt for 1 secret: NUTRITIONIX_API_KEY- register agent in OpenClaw with model openai/gpt-5.4Proceed? [Y/n] -
Resolve dependencies — installs plugins via
openclaw plugins installand skills viaopenclaw skills install. Required dependencies that fail abort the install. -
Prompt for secrets — writes values to
~/.openclaw/.env. Clawstore never stores secret values itself. -
Create the workspace — populates files at
~/.openclaw/workspace-<id>/. -
Take a snapshot — stores a backup for rollback.
-
Register with OpenClaw — runs
openclaw agents addso the agent is ready to use.
Then you’re ready:
openclaw chat calorie-coachIf any step fails after workspace creation, everything is cleaned up automatically.
Sideloading
Section titled “Sideloading”Install from a local file or URL instead of the registry:
clawstore install ./my-agent.tgzclawstore install https://example.com/agent.tgzSame install flow, but skips the catalog lookup. Sideloaded agents don’t auto-update — you re-run clawstore install with a newer file when ready.
Uninstalling
Section titled “Uninstalling”clawstore uninstall calorie-coachThe uninstall flow:
- Removes the agent from OpenClaw’s registry
- Asks if you want to preserve your files (default: yes) —
MEMORY.md, notes, and other files you created are moved to~/.clawstore/orphans/, not deleted - Asks about plugin dependencies — shows which plugins are shared with other agents (default: keep them)
- Deletes the workspace
- Keeps snapshots for 30 days in case you reinstall
Doctor
Section titled “Doctor”Detects and fixes drift between the install record and what’s on disk:
clawstore doctor # check all agentsclawstore doctor calorie-coach # check one agentclawstore doctor --fix # auto-fix issuesChecks for:
- Missing workspace directory
- Missing or modified entrypoint files
- Missing plugin dependencies
- Missing secrets
- Orphaned install records
- Stale snapshots
--fix re-installs against the recorded version without touching your files.
Files on disk
Section titled “Files on disk”Everything Clawstore writes to your machine:
~/.clawstore/├── config.json # Your preferences (update policy, API URL)├── auth.json # API token from `clawstore login`├── api-cache/ # Short-TTL response cache├── installs/│ └── <agent-id>.json # Install record per agent├── snapshots/│ └── <agent-id>/│ └── <timestamp>.tgz # Rollback snapshots├── graveyard/ # Old workspaces pending cleanup├── orphans/ # User files preserved from uninstalls├── staging/ # In-flight install/update work└── preview/ # Scratch workspaces for `clawstore preview`Agent workspaces live under ~/.openclaw/workspace-<id>/ — that’s OpenClaw’s territory; Clawstore only populates it.