Skip to main content

Type

file_system

Variants

Read Only, Full Access, Sandboxed
Purpose: The File System skill provides agents with controlled access to the local filesystem, enabling them to read, write, list, and search files and directories.

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

Choosing a variant: Start with Read Only, upgrade only as needed following the principle of least privilege. See Variant Configuration for detailed differences.

Configuration

Example Configuration:
Read Only:
  • enable_save_file: false (locked)
  • enable_delete: false (locked)
Full Access:
  • All operations enabled
Sandboxed:
  • base_dir: "/sandbox" (locked)
  • Full access within sandbox only
See: Variant Configuration Guide

Quick Start

View Complete Examples

See full production deployment patterns, multi-step workflows, and troubleshooting guides

Security Best Practices

Always specify a base_dir to limit file operations to a specific directory tree.
Use allowed_extensions to restrict which file types the agent can interact with.
Begin with the most restrictive variant and only upgrade when write operations are necessary.

Solutions:
  • Verify base_dir includes the target files
  • Check file extensions are in allowed_extensions
  • Confirm worker process has OS-level read permissions
Solutions:
  • Ensure variant is not Read Only
  • Verify enable_save_file: true in configuration
  • Check OS-level write permissions on target directory
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.

Shell Skill

Execute commands to manipulate files

Python Skill

Process files with Python scripts

File Generation

Create formatted files (PDF, CSV, JSON)

View All Skills

Return to built-in skills overview