Type
file_systemVariants
Read Only, Full Access, Sandboxed
Common Use Cases
Reading configuration filesAccess application configs, environment files, and settings
Creating and managing log filesWrite logs, audit trails, and operational data
Searching for specific files or contentLocate files by name patterns or search content within files
Monitoring file changesTrack modifications, detect configuration drift
Variants Overview
| Variant | Security | Key Permissions | Best For | Create Command |
|---|---|---|---|---|
| Read Only 🟢 | Safe | Read, list, search only | Log monitoring, audits | --variant read_only |
| Full Access 🟡 | Recommended | Read, write, create, delete | General file operations | --variant full_access |
| Sandboxed 🔵 | Secure | Isolated to specific directory | Testing, untrusted operations | --variant sandboxed |
Configuration
Example Configuration:📋 Full Configuration Reference
📋 Full Configuration Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
enable_read_file | boolean | true | Allow file reading |
enable_save_file | boolean | variant-specific | Allow file writing |
enable_list_files | boolean | true | Allow directory listings |
enable_search_files | boolean | true | Allow content search |
base_dir | string | ”/“ | Root directory restriction |
allowed_extensions | array | [] | Whitelist file types |
max_file_size | string | ”10MB” | Maximum file size |
follow_symlinks | boolean | false | Follow symbolic links |
⚙️ Variant-Specific Defaults
⚙️ Variant-Specific Defaults
Read Only:
enable_save_file: false(locked)enable_delete: false(locked)
- All operations enabled
base_dir: "/sandbox"(locked)- Full access within sandbox only
Quick Start
View Complete Examples
See full production deployment patterns, multi-step workflows, and troubleshooting guides
Security Best Practices
Use base_dir to restrict access
Use base_dir to restrict access
Always specify a
base_dir to limit file operations to a specific directory tree.Whitelist file extensions
Whitelist file extensions
Use
allowed_extensions to restrict which file types the agent can interact with.Start with Read Only
Start with Read Only
Begin with the most restrictive variant and only upgrade when write operations are necessary.
Troubleshooting & Related Skills
Permission Denied Errors
Permission Denied Errors
Solutions:
- Verify
base_dirincludes the target files - Check file extensions are in
allowed_extensions - Confirm worker process has OS-level read permissions
Cannot Write Files
Cannot Write Files
Solutions:
- Ensure variant is not Read Only
- Verify
enable_save_file: truein configuration - Check OS-level write permissions on target directory
Files Outside base_dir Not Accessible
Files Outside base_dir Not Accessible
This is expected behavior for security. Either adjust
base_dir to include needed paths or create multiple File System skills with different base_dir values.