execute_shell_command
Execute ad-hoc shell commands in the workspace to verify edits compile or tests pass, without leaving your editing environment.
Instructions
Run an ad-hoc shell command in the workspace via sh -c (pipes/redirects/globs work), for verifying an edit compiles or tests pass without leaving plumb. DISABLED by default: enable it with [commands] allow_shell = true in your global config, or in a project's .plumb/config.toml plus plumb trust. Runs under an OS sandbox when available, but that sandbox is INTEGRITY-ONLY: it confines writes, not reads — the command runs with the user's credentials and the daemon's environment, so it can read any file and secret the user can (e.g. ~/.ssh, API keys) and reach the network unless [commands] deny_network is set. Enable it only for repositories you trust. Output and runtime are bounded. Prefer run_command for anything you run repeatedly — a named allow-list entry is safer and needs no enabling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to run, executed via sh -c so pipes, redirects and globs work (e.g. "go test ./... | tail -5"). Runs in the workspace under an OS sandbox when available. |