Install
openclaw skills install repo-runnerBootstrap and run a GitHub project by following its docs (README/docs), with safeguards for untrusted install/run steps. Use when the user gives a GitHub repo and asks to run it locally.
openclaw skills install repo-runnerGoal: given a GitHub URL or a downloaded folder, get the project running as its docs intend, without guessing dangerously.
dev (local dev server) / build / testnpm/pnpm/yarn install (or any curl | bash), ask for confirmation..env is needed, ask user to provide values out-of-band.Clone / prepare workspace
<openclaw-workspace>/projects/<repo> (create projects/ if missing)$HOME/.openclaw/workspace, but don’t assume.git pull or deleting anything.Find the canonical docs
README.md + docs/ + CONTRIBUTING.mdDetect project type(s)
repo-runner skill directory (typically <openclaw-workspace>/skills/repo-runner), run: bash scripts/detect_project.sh <repoDir>type=node + type=docker). Use docs to choose the canonical path.Set up prerequisites
Configure env
.env.example exists, copy to .env only after confirmationInstall dependencies (after confirmation, based on project type)
Node (when package.json exists)
pnpm install --frozen-lockfile (if pnpm-lock.yaml)yarn install --frozen-lockfile (if yarn.lock)npm ci (if package-lock.json)bash scripts/suggest_node_commands.sh <repoDir>Python (when pyproject.toml / requirements.txt exists)
python -m venv .venv && source .venv/bin/activatepip install -r requirements.txtpyproject.toml: use the tool specified by docs (commonly poetry install or pip install -e .).Rust (when Cargo.toml exists)
cargo build / cargo test / cargo run (follow docs for features/flags)Go (when go.mod exists)
go test ./...go run . or go build ./... (follow docs for main package path)Docker (when docker-compose.yml / Dockerfile exists)
docker compose up (or docker-compose up depending on docs)Run