Operating System File Manipulation

VerifiedCaution

This skill enables file system operations such as listing directory contents, creating multiple directories in bulk, moving multiple files to a destination, and moving files that match a regex pattern. It helps when you need to organize, restructure, or clean up file structures efficiently.

Sby Skills Guide Bot
DevelopmentIntermediate
706/2/2026
Claude Code
#file-manipulation#bulk-operations#regex#directory-management#os-automation

Recommended for

Our review

This skill enables the agent to perform OS file operations: list, bulk create directories, move files, and move files by regex pattern.

Strengths

  • Bulk file and folder operations
  • Regex support for targeted moves
  • Simple interface using absolute paths
  • Quickly restructure or organize a filesystem

Limitations

  • Cannot delete files or folders
  • No handling of permissions or advanced metadata
  • Operations limited to what's exposed (no copy, complex rename, etc.)
When to use it

Use this skill to batch-organize files, move files matching a pattern, or create a directory structure.

When not to use it

Avoid this skill if you need to delete, copy, or modify file permissions.

Security analysis

Caution
Quality score75/100

The skill provides file manipulation tools that, if used without proper safeguards, could move or create files in sensitive areas. It does not include destructive commands like deletion, but move_files can effectively relocate files, causing potential disruption. No evident exfiltration or code execution risk, but caution is warranted.

Findings
  • Allows arbitrary file moves and directory creation without path restrictions, potentially enabling unintended file system modifications.

Examples

List directory contents
List the contents of /home/user/projects
Bulk create directories
Create the following directories: /home/user/docs/reports, /home/user/docs/invoices, /home/user/docs/archive
Move files by regex
Move all .log files from /home/user/logs to /home/user/old_logs using regex pattern '\.log$'

name: os_manipulation description: Operating System file manipulation capabilities (list, bulk create, bulk move, regex move). allowed-tools:

  • list_directory
  • create_directories
  • move_files
  • move_files_by_regex

OS Manipulation Skill

This skill allows the agent to interact with the file system.

Tools

list_directory

List contents of a directory.

  • path: Absolute path to the directory.

create_directories

Create multiple directories at once.

  • paths: List of absolute paths to create.

move_files

Move multiple files to a specific destination directory.

  • sources: List of source file paths to move.
  • destination: Destination directory path.

move_files_by_regex

Move files matching a regex pattern from source directory to destination.

  • source_dir: Directory to search files in.
  • destination: Destination directory.
  • pattern: Python regex pattern to match filenames.
Related skills