Install
openclaw skills install agi-terminal-helperA practical runbook for using OpenClaw exec safely (sandbox-first, explicit confirmations, and debugging playbooks).
openclaw skills install agi-terminal-helperThis skill is not a “generic terminal tips” template.
It’s a concrete runbook for how to use OpenClaw’s exec tool effectively in a real workspace (like your /Users/.../clawd workspace), with attention to:
OpenClaw skills are loaded from bundled skills, ~/.openclaw/skills, and <workspace>/skills with workspace taking precedence. :contentReference[oaicite:12]{index=12}
Before calling exec, I will say:
When debugging or orienting:
pwd, ls -la, git status, rg, cat, head, tailUse the sandbox for:
Important nuance:
If a session is sandboxed, the sandbox does not inherit host process.env.
Global env and skills.entries.<skill>.env/apiKey apply to host runs only; sandbox env must be set separately. :contentReference[oaicite:13]{index=13}
I will require the user to confirm before:
~/.ssh, keychains, browser profilessudo, launchctl changes)When diagnosing OpenClaw itself, I’ll work inside your workspace (example: /Users/proman/clawd) and be explicit about it.
Typical commands:
ls -la ./skillsfind ./skills -maxdepth 2 -name SKILL.md -printgit status (if the workspace is a git repo)which peekaboo || echo "peekaboo not on PATH"Prefer multiple small commands over one “do everything” pipeline. This makes it easier to review and safer to approve.
When supported, run with a short yield and then poll a process session.
Examples you can adapt:
exec: make test (with a short yield)process: poll (using the returned session id)(Exact parameter names depend on your tool surface, but the pattern is: yield → poll.)
<workspace>/skills and that wins precedence. :contentReference[oaicite:14]{index=14}SKILL.md and valid frontmatter.skills.load.watch: true is the default pattern. :contentReference[oaicite:15]{index=15}This is usually macOS TCC context + daemon behavior. A common fix is enabling PeekabooBridge in OpenClaw.app:
Then validate:
peekaboo bridge status --verbose should select a host (OpenClaw.app) rather than local (in-process). :contentReference[oaicite:17]{index=17}ClawHub has a quality gate (language-aware word counting and heuristics) that rejects docs that are too thin/templated. :contentReference[oaicite:18]{index=18} Fix by adding:
curl | sh) without explicit user request and review.pwdls -lagit statusrg -n "error|warn|TODO" .uname -anode -v && python -VIf you want raw, direct execution (no model involvement), use /term.