filesystem
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Why use this skill?
Optimize file operations with the OpenClaw filesystem skill. Features advanced search, directory analysis, and batch file handling for intelligent automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lucky-2968/clawdbot-filesystem-1-0-2What This Skill Does
The filesystem skill provides Clawdbot with high-level capabilities to interact with local or remote storage environments. It serves as a bridge between the AI agent and the underlying operating system, enabling tasks that require scanning, filtering, and manipulating large directories. Unlike basic file commands, this skill includes intelligent recursive traversal, content-based search, and batch operation validation. It is designed to handle complex directory structures efficiently, allowing the agent to perform administrative tasks like log cleanup, source code organization, and structural analysis without manual oversight.
Installation
To integrate this skill into your OpenClaw environment, use the command line interface to pull the module from the registry:
clawhub install openclaw/skills/skills/lucky-2968/clawdbot-filesystem-1-0-2
Ensure that your agent has the necessary OS-level permissions to read and write to the target directories before triggering automated operations.
Use Cases
This skill is highly effective for developers and system administrators who need to automate repetitive file management tasks. Common scenarios include:
- Automatically identifying and archiving log files older than a specific date.
- Searching across a massive codebase for specific code patterns or TODO comments.
- Generating structural reports of project repositories to identify memory-heavy folders.
- Performing batch copies or migrations of datasets with built-in dry-run safety mechanisms.
Example Prompts
- "Filesystem, search for all files containing the string 'API_KEY' in the ./config directory and list them in a table format."
- "Please generate a tree view of the current project directory with a depth of 2, then identify which subdirectories are taking up the most space."
- "Run a dry-run copy of all .log files from ./logs to ./backup/archive, then confirm if any conflicts exist before proceeding with the actual move."
Tips & Limitations
Always utilize the --dry-run flag when performing batch operations to prevent accidental data loss or overwrites. The content search feature is computationally expensive; for massive file systems, consider narrowing your --path scope to avoid latency. Ensure your environment has sufficient disk space before initiating batch copies. Note that this skill follows the permission structure of the user running the OpenClaw agent; if the agent lacks write access to a directory, operations will fail gracefully.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lucky-2968-clawdbot-filesystem-1-0-2": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
clawshell
Human-in-the-loop security layer. Intercepts high-risk commands and requires push notification approval.
safe-exec
Safe command execution for OpenClaw Agents with automatic danger pattern detection, risk assessment, user approval workflow, and audit logging. Use when agents need to execute shell commands that may be dangerous (rm -rf, dd, fork bombs, system directory modifications) or require human oversight. Provides multi-level risk assessment (CRITICAL/HIGH/MEDIUM/LOW), in-session notifications, pending request management, and non-interactive environment support for agent automation.
todo-management
Per-workspace SQLite todo manager (./todo.db) with groups and task statuses (pending/in_progress/done/skipped), operated via {baseDir}/scripts/todo.sh for adding, listing, editing, moving, and removing entries and managing groups.
web-search
Search the web for real-time information.