Host rules and skills for NanoClaw deployment, image package inventories, private browser access, plugin promotion, staging and upstream updates.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
Deployment mechanics for the NanoClaw host agent (Claude Code on Mac). Other host-tier rules cover collaboration, ownership, and infrastructure patterns — see this plugin's README.md rules table.
Deploy the orchestrator with ./scripts/deploy.sh from the verified deployment checkout. Never substitute a direct docker compose up for that deploy.
Follow the checked-out NanoClaw docs/OPERATIONS.md inside the verified Mini VM. Cutover step 4 uses read-only docker compose with project name nanoclaw, the live project directory and the saved scratch Compose file. Require config --quiet to succeed before proceeding.
After the verified cutover swap, follow step 7 in order. Reconcile isolation and check that the relay answers and a container on another bridge is refused. Then apply the relay. The coordinator runs Apply the browser relay only at cutover or when the relay image or container/visible-browser/nginx.conf changes. Run these commands from the verified live project directory in the VM.
ORCHESTRATOR_IMAGE=unused docker compose --project-name nanoclaw \
--project-directory "$PWD" --file "$PWD/docker-compose.yml" \
up -d --force-recreate --no-deps visible-browser
docker exec nanoclaw-visible-browser wget -qO- -T 5 http://127.0.0.1:9222/json/versionThe placeholder satisfies Compose interpolation. Only visible-browser is recreated, using the checkout’s digest-pinned nginx image and read-only, single-file config bind. Recreation picks up the bound file and preserves the external network ID. Require Chrome discovery to answer inside the relay.
At cutover, repeat step 8’s freeze, remote revision and guest identity checks immediately before running deploy.sh. Repeat the guest and remote checks after either deploy exit. A successful cutover also requires step 9’s discovery, main-agent CDP and cross-bridge denial checks.
Use the corresponding runbook procedure for each Compose rollback inside the verified Mini VM.
previous_image, previous_agent and previous_compose. Follow the runbook's SQLite recovery guard, then recreate only nanoclaw with that image pair and release's Compose file (saved file or recorded Git blob). Run the deploy readiness check against the previous pair.nanoclaw visible-browser. If that start is pending or failed, resolve any error and retry only that Compose command. Verify isolation, readiness and resumed jobs before lifting holds.Both rollback commands use up -d --force-recreate --no-build --pull never --no-deps with exactly the services named in their respective procedures.
Tessl registry plugins are what gets delivered to containers. Git is the source, not the delivery mechanism. Never skip publishing — always run the full promote pipeline.
All scripts in scripts/ source the consumer's checked-out scripts/common.sh for their deployment target and command helper. Verify the consumer, revision, authorized destination and project directory before using its interface. Keep host addresses, transports and project paths out of callers.
Publish and install the versioned Host contract before adopting the Mini interface in jbaruch/nanoclaw. An existing checkout still authorized for the legacy deployment uses its own NAS_HOST, NAS_PROJECT_DIR and nas() until its reviewed cutover.
On the adopted rack Mini, DEPLOY_HOST and DEPLOY_PROJECT_DIR identify the fixed Lima VM and its project checkout. Use the single deploy_host() helper from scripts/common.sh. It runs the command in the verified VM or enters that VM from the Mini. Reject a mismatched target without trying another host.
After cutover, deployment, staging, probes and container operations for the NanoClaw runtime target only the Mini. Preserve NAS-backed storage and separately authorized NAS storage or archive sidecars. They grant no authority to deploy, restart or fall back to a NAS orchestrator. Apply the Mini interface to another consumer only after verifying its own checkout and deployment authority.
Narrow exception for jbaruch/nanoclaw scripts/check-env-credentials.py.
Applies only to this standalone credential-input validator
Preconditions (all required):
Every other script in scripts/ sources scripts/common.sh
.env or a compose file.env holds non-secret configurationjbaruch/nanoclaw scripts/deploy.sh refuses to deploy while .env holds a credential-shaped variable outside scripts/env-credential-allowlist.json (scripts/check-env-credentials.py)ONECLI_API_KEY bootstrap credential that reaches the vault..env is mode 600, excluded from git, and never mounted or forwarded into an agent container.env.owner/repo#Nrules/browser-profile-storage.md before enabling authenticated persistence.rules/browser-tailnet-viewer.md before relying on it..tessl-plugin
rules
skills
add-ugos-project
check-staging
extract-to-overlay
host-contracts
references
scripts
nuke
promote
reconcile
ship-code
update-from-upstream