$worker
shell
v0.3.5Unix shell + filesystem worker — exec with allowlist/denylist/timeout/output caps and background jobs; fs::ls|stat|mkdir|rm|chmod|mv|grep|sed|read|write with host jail, denylist, size caps, and sandbox-target forwarding
- macOS: arm64 · x64
- Linux: arm64 · armv7 · x64
skill doc
skills/mkdir.md
Creating a directory inside the jail
When to use
- Pre-creating a directory tree before streaming files into it with
shell::fs::write. - Ensure-path-exists idiom:
parents: trueand ignore the result. - Bootstrapping a sandbox layout by retargeting the call.
Notes
- The flag is
parents, notrecursive. Both backends accept the same name. createdis alwaystrueon success, including the idempotent case whereparents: trueand the directory already existed. There is nocreated: falsebranch; failure returns the triggerErr(e.g.S211for a missing parent withoutparents: true).- Same jail and denylist rules as
shell::fs::ls.