OpenClaw LogoOpenClaw AI

Filesystem & Shell

Core system capabilities. File IO, patch editing, background process management.

1

Setup & Installation

Enable Tools: `tools.allow: ['group:fs', 'group:runtime']`

Config Env: `tools.exec.host: 'sandbox'`

Enable Patch: `tools.exec.applyPatch.enabled: true`

2

Command Examples

ls -la view current dir

Write hello.txt

Use patch mode to edit main.py

Run npm run build in background

Important Notes

  • exec is high risk, use with Sandbox
  • Adjust env via /exec dynamically
  • apply_patch good for code tweaks

Want to learn more?

Join the OpenClaw community to share advanced scripts and automation workflows.