filesystem
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Why use this skill?
Enhance your OpenClaw agent with advanced filesystem tools. Perform recursive searches, batch file operations, and directory analysis with precision and safety.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gtrusler/clawdbot-filesystemWhat This Skill Does
The filesystem skill for OpenClaw is a robust toolkit designed to provide the Clawdbot agent with deep, native-level access to local and remote directory structures. It serves as an orchestrator for common administrative tasks, allowing the agent to perform complex file operations without requiring the user to execute manual shell commands. Beyond simple listing and navigation, it features powerful content searching, recursive directory analysis, and safe batch processing. This skill is engineered to turn a stagnant folder structure into a navigable, queryable database of information, empowering the agent to locate specific data fragments, identify bloated directories, or perform bulk maintenance tasks with high accuracy.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/gtrusler/clawdbot-filesystem
Use Cases
This skill is indispensable for developers managing complex project repositories, system administrators performing routine maintenance, or data analysts cleaning up large datasets. It is perfect for developers needing to crawl through large source code repositories to find specific function definitions or deprecated patterns. It also excels in organizational tasks, such as finding duplicate files, backing up logs based on specific timestamp patterns, or auditing a directory to report on file distribution and size bottlenecks.
Example Prompts
- "Filesystem, search the entire /src folder for any files containing the string 'API_KEY' and list them in a JSON format so I can verify their contents."
- "Please perform a directory analysis on the ./logs folder to identify which files are consuming more than 50MB and generate a tree structure to help me visualize the cleanup process."
- "Run a batch copy of all *.log files from the current directory to the /backup/archive folder, but start with a dry run to ensure I don't overwrite any existing backups."
Tips & Limitations
When using the filesystem skill, always utilize the '--dry-run' flag during batch copy or move operations to prevent accidental data loss. While the search function is extremely powerful, be mindful when running global searches on root directories, as performance may degrade depending on disk speed and index status. The skill is designed for administrative and automation tasks; however, it should not be used as a replacement for high-security backups. Always ensure the agent has the necessary operating system permissions before initiating large-scale recursive operations to avoid access denied errors.
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-gtrusler-clawdbot-filesystem": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read