OpenClaw360 Workspace
Use this skill when work in this repository depends on the local workspace being bootstrapped first.
This skill is intentionally workspace-local:
- Run dependency installation from the current repository root.
- Install repo packages into this checkout's
node_modules, not globally. - Keep the lockfile unchanged unless the user explicitly asks to update dependencies.
Quick start
Check whether the workspace is ready:
bash {baseDir}/scripts/bootstrap.sh --workspace "$PWD"
Install repo dependencies into the current workspace:
bash {baseDir}/scripts/bootstrap.sh --workspace "$PWD" --install
Install and run a fast verification step:
bash {baseDir}/scripts/bootstrap.sh --workspace "$PWD" --install --verify
Workflow
- Confirm the working directory is the repository root with
package.jsonandpnpm-lock.yaml. - Run the bootstrap script in check mode first.
- If dependencies are missing or stale, rerun with
--install. - After install, prefer
--verifyto runpnpm build:strict-smoke. - If deeper validation is needed, continue with
pnpm tsgo,pnpm check, orpnpm test:fast.
Guardrails
- Do not use
npm install -g,pnpm add -g, or other global package installs to satisfy repo dependencies. - Prefer
pnpm install --frozen-lockfilefor normal setup. Only relax that when the user explicitly wants dependency updates. - If install fails because of sandbox or network restrictions, request approval and retry rather than changing package-manager strategy.
- Installing dependencies is allowed in a dirty worktree, but do not touch unrelated files beyond dependency artifacts.
- If the repo root is ambiguous, stop and verify the correct workspace before installing.
Bundled script
The bundled script handles the common bootstrap flow:
- Verifies
nodeandpnpmare available. - Checks whether
node_modulesis missing or older thanpnpm-lock.yaml. - Runs
pnpm install --frozen-lockfileonly when--installis supplied. - Runs
pnpm build:strict-smokewhen--verifyis supplied.

