Installation
Install the mod on the controller and the host runtime on each execution host. The checked-in package installer targets Linux with systemd. The JavaScript runtime uses Node built-ins and has no declared third-party runtime dependencies. The host package declares Node 24.x (>=24 <25) in engines.
As part of setup, install and enable Burrow Backdoor in the Burrow instance hosting your agent. Node Goblin routes shell and filesystem execution to your selected remote host. Backdoor keeps home-Burrow diagnostics and authorized mod administration available regardless of which execution host you select.
This is a strong recommendation, not a required dependency. Enable Backdoor explicitly and grant administration only to trusted agents through its access settings. Backdoor does not provide arbitrary home-filesystem access or root privileges.
Prerequisites
- A working BURROW installation that supports the Core-owned
execution-provider-v1mod capability - Node 24.x available to
/usr/bin/env nodefor the system service - Python 3 on the host for
node-goblin confirm-pairing - Linux systemd for the packaged host service
curl,tar,sha256sum, and standard installation/account utilities (GNU tar is needed when building deterministic releases)- OpenSSL on the controller if it will generate its own TLS certificate
- A hostname or IP that the gateway can reach on the controller's configured TLS port
- Permission to install packages/services and assign host execution access
Install the BURROW mod
Install into the mods directory of the Burrow runtime you actually use:
BURROW_RUNTIME_ROOT="${BURROW_RUNTIME_ROOT:-${XDG_DATA_HOME:-$HOME/.local/share}/burrow}"
mkdir -p "$BURROW_RUNTIME_ROOT/mods"
git clone https://github.com/GoblinKing-Burrow/Node-Goblin.git "$BURROW_RUNTIME_ROOT/mods/node-goblin"
Restart BURROW to load the manifest, server entry point, and settings contribution. The manifest marks Node Goblin as a system mod and requests only execution-provider-v1. It does not require a separate environment grant or an extra per-agent capability approval. Core still owns authentication, agent assignment, and execution policy; system status does not grant unrelated Core access.
For a reproducible deployment, review and select a public release tag or commit before restarting. The source links in this guide track the public main branch; record your installed revision separately.
Install Mini Node Goblin
Node Goblin owns the Mini Node Goblin bootstrap installer, calendar version, release archives, and checksums. BURROW does not rebuild or republish the host runtime under a BURROW version. Review the public bootstrap installer before running it as root:
curl -fsSL https://raw.githubusercontent.com/GoblinKing-Burrow/Node-Goblin/main/install.sh | sudo env NODE_GOBLIN_REPOSITORY=GoblinKing-Burrow/Node-Goblin sh
The command explicitly selects the public release repository rather than relying on the downloaded script’s default. It resolves that repository’s latest Node Goblin release, downloads the archive and checksum, verifies the checksum, and runs the package installer. To select a version, download and review the bootstrap first, then run sudo env NODE_GOBLIN_REPOSITORY=GoblinKing-Burrow/Node-Goblin sh install.sh --version YYYY.MM.DD with an actual published version. Optional --controller HOST:PORT --node-id ID values must be supplied together; they configure and connect after installation. Keep secrets out of these arguments.
For a fully reviewable selected-release installation, download the matching archive and .sha256 from Releases, verify them, inspect the extracted package, and run its installer:
# Replace with the published Node Goblin version you selected.
VERSION=YYYY.MM.DD
sha256sum -c "node-goblin-$VERSION.tar.gz.sha256"
tar -xzf "node-goblin-$VERSION.tar.gz"
cd "node-goblin-$VERSION"
sudo sh deploy/install.sh
The checksum detects an accidental mismatch against the downloaded checksum file. It is not an independent signature or attestation of the publisher.
The package installer:
- Validates required package assets, JavaScript syntax, runtime imports, and version metadata before replacing installed assets. Creates or adopts the
burrowaccount and primary group. A newly created account uses UID 4226, is a system account, has no home created, and uses/usr/sbin/nologin. A newly createdburrowgroup uses GID 4226; an existingburrowgroup retains its GID. A pre-existing account must haveburrowas its primary group and may have broader access; inspect it. - Installs runtime content at
/opt/burrow-host-gateway. - Creates
/etc/burrow-host-gateway/gateway.envonly when absent. - Preserves configuration and
/var/lib/burrow-host-gatewayacross replacement. - Installs
burrow-host-gateway.serviceand thenode-goblinoperator command, withburrow-host-gatewayas a compatibility symlink. - Reloads systemd. On a failed package switch it attempts to restore the previous runtime and deployment assets; if rollback is incomplete it reports the retained recovery directory. It does not enable/start the service;
connectperforms that step.
Configure the two sides
On BURROW, enable the controller in Node Goblin → Controller & TLS. Its default bind host is 127.0.0.1 and port is 7443. Loopback is suitable only for local reachability. Choose an interface reachable from the gateway and restrict the port with your network policy. Save and restart BURROW.
On the host:
sudo node-goblin configure controller.example:7443 worker-01
sudo node-goblin connect
sudo node-goblin pairing-code
Use a stable gateway ID beginning with a letter or digit and containing only letters, digits, dots, underscores, or hyphens. Avoid the reserved ID local. The operator command accepts a wider edge case set than some controller routes; this conservative form works across the interfaces.
The newly created burrow account does not automatically gain access to your workspaces. Set ordinary host ownership/permissions deliberately. Paired agents can run processes and read or change files wherever that account is permitted; the configured workspace is not a sandbox.
configure saves settings only. To apply changes to a running daemon, drain active work and run sudo node-goblin apply --restart; connect does not restart an already-active service.
Continue with pairing and assignment. connect reporting an active systemd service proves the daemon is running, not that pairing or remote execution succeeded.
Burrow in Docker: run Node Goblin on the host
For agents that need to work on the Docker host, we recommend installing the Node Goblin host runtime natively on that host, while keeping Burrow in its container. This provides an explicit host execution target instead of bind-mounting the host root into Burrow or making the Burrow container privileged merely to reach host files.
When the native host runtime and the Burrow container are on the same machine, configure Node Goblin to connect to localhost:7443:
sudo node-goblin configure localhost:7443 docker-host
sudo node-goblin connect
sudo node-goblin pairing-code
Here docker-host is an example stable gateway ID. Run these commands on the host, not inside the Burrow container. For an already-running daemon, apply changed configuration with sudo node-goblin apply --restart after draining active work.
Make the controller reachable from that host:
- Ordinary Docker bridge networking: enable the Host Gateway controller, bind its listener to
0.0.0.0:7443inside the container, and publish container port 7443 to the host. For same-host-only nodes, add"127.0.0.1:7443:7443"beside the existing web-port entry underports. Recreate the container after changing Compose port mappings. A controller bound only to container127.0.0.1is not reachable through a bridge port mapping. - Linux host networking: the container shares the host network namespace, so a controller bound to
127.0.0.1:7443can accept the native host runtime directly; Dockerportsmappings are not used in this mode. - Other machines:
localhostrefers to each node's own machine. Remote nodes need a reachable controller hostname/address and deliberate network access, notlocalhost. A loopback-only published port does not serve remote nodes.
The Host Gateway controller port is separate from Burrow's web interface. If localhost resolves to an unavailable IPv6 loopback listener, use 127.0.0.1:7443 for the IPv4 mapping above.
Compare the current pairing code independently, confirm it on the host with sudo node-goblin confirm-pairing CODE when using first no-CA trust, and approve the matching live request in Burrow. Then assign the agent's Configured gateway execution target to this gateway and choose a workspace path on the host. Leaving the agent on Local controller still executes inside Burrow's container. See pairing and assignment.
Host execution uses the native service account's permissions; a workspace path is not a sandbox. Grant only the host files and commands needed. This arrangement does not require a host-root mount or Docker socket mount in Burrow. Giving the host runtime access to Docker itself is a separate, powerful permission decision. Restarting Burrow interrupts its controller connection, so keep a local or SSH recovery route for maintenance.
Non-privileged staging test
Use a fresh temporary root to inspect installation output without touching the host's real service or accounts:
stage=$(mktemp -d)
sh gateway/deploy/install.sh --root "$stage" --skip-account --no-systemd
BURROW_GATEWAY_ROOT="$stage" "$stage/usr/local/bin/node-goblin" configure controller.example:7443 worker-01
Staging intentionally avoids account ownership changes. connect/apply refuse service operations under a staging root unless an explicit test SYSTEMCTL override is provided; status always refuses a staging root. Do not remove a staging folder until you have confirmed its path and that you no longer need it.
Update or uninstall
For the mod, git pull --ff-only updates a clean checkout; then restart BURROW. Review the incoming revision first. For the host package, drain work and preserve a protected backup, then run sudo env NODE_GOBLIN_REPOSITORY=GoblinKing-Burrow/Node-Goblin sh install.sh --update with the reviewed bootstrap, or sudo sh deploy/update.sh from the selected verified release archive. Both install and restart together; verify controller connection and an operation afterward. Run locally or over SSH, not through the service being updated. See operations.
sudo node-goblin uninstall removes runtime files, command links, and the unit. It preserves the account, configuration, identity/trust, and journal for reinstall. It is not a credential purge.
Optional Codex CLI for native minions
Codex, Claude and Gemini native minions need their CLI on the selected execution host, not merely inside Burrow's container. The reviewed bootstrap, package installer and updater accept --with-codex, --with-claude and --with-gemini, separately or together:
# From a verified, extracted Node Goblin release:
sudo sh deploy/install.sh --with-codex --with-claude
# For an existing configured installation, after draining work:
sudo sh deploy/update.sh --with-codex --with-claude
None of these CLIs is installed by default. Opt-ins require npm and install @openai/codex@latest, @anthropic-ai/claude-code@latest and/or @google/gemini-cli@latest globally under /usr/local, without version pins. Successful choices are remembered in the installed package; subsequent Node Goblin updates fetch those latest CLIs again even without repeating the flags. Older installations made before opt-in tracking must supply their flags once.
Claude provisioning suppresses all npm lifecycle scripts with --ignore-scripts, includes native optional dependencies, and explicitly runs only the installed vendor install.cjs. It verifies the launcher at the selected installation prefix with claude --version; it does not change global npm script approvals. A missing vendor entrypoint, vendor failure or nonworking launcher aborts provisioning. CLI upgrades are outside package rollback: restoring Node Goblin after a failed update does not downgrade an already upgraded provider CLI.
The gateway discovers executable codex and claude in absolute service PATH entries and standard system bin directories, including /usr/local/bin. Absolute BURROW_CODEX_EXECUTABLE and BURROW_CLAUDE_EXECUTABLE overrides take precedence. The service account must be able to traverse and execute the selected file. Discovery reports availability and protocol only, not authentication or model eligibility. Configure the corresponding native minion harness and eligible connection in compatible Burrow Core separately.
Codex uses CODEX_HOME when set, otherwise $BURROW_GATEWAY_STATE_DIR/codex when the state-directory variable is set. Claude uses private writable HOME and configuration under $BURROW_GATEWAY_STATE_DIR/claude on the packaged service, which does not need a login home. Protect these directories. Claude OAuth is delivered transiently by the authenticated controller into the child environment, not installer arguments or a persistent gateway token setting.
The current Claude transport requires the headless JSONL CLI contract with --permission-prompts none and the explicit native coding-tool set Bash,Edit,Write,Read,Glob,Grep,NotebookEdit. These are broad native coding permissions, not an operating-system sandbox or workspace confinement. Other permission requests are denied without waiting for an interactive host; there is no permission-bypass fallback. Use a CLI that supports this contract, then verify an authorized harmless minion operation. Finding an executable alone does not prove successful inference.
Source references
Automatic operating skill
On compatible Core and mod builds that declare managed skills, loading this mod automatically supplies the node-goblin-operations skill from Burrow-Skills. Core maintains the installed copy as read-only and refreshes managed skills at startup, on mod lifecycle changes, and on its default six-hour schedule. You do not paste, edit, or assign that managed copy manually. The skill provides instructions; it does not grant tool or data access.
The current mod manifest declares this managed skill. Automatic mod-managed delivery still requires a Core build that supports it. Older public 2026.10.19 snapshots lack the declaration; updating only the skill repository cannot add the missing integration to those older packages. See how managed skills work.
Optional Gemini CLI
The current bootstrap, package installer and updater also accept --with-gemini. It installs @google/gemini-cli@latest under the same prefix, verifies that launcher with --version, and retains the successful opt-in for future updates. npm is required; Gemini is not installed by default. CLI upgrades remain outside Node Goblin package rollback. BURROW_GEMINI_EXECUTABLE can select an absolute executable. Compatible Core must configure an eligible API-key connection and Gemini native minion harness; executable discovery alone does not prove successful inference. The child uses private state under $BURROW_GATEWAY_STATE_DIR/gemini when configured and receives the selected key transiently, not through installer arguments or a gateway credential setting.