filesystem
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/choichuncj/clawdbot-filesystem-bakWhat This Skill Does
The filesystem skill is a comprehensive toolkit designed for OpenClaw agents to perform deep-level directory navigation, file manipulation, and complex search operations. It effectively acts as a command-line interface proxy, allowing the AI to inspect project structures, locate specific data points within files, and execute bulk maintenance tasks. Whether analyzing log structures or organizing documentation, this skill provides the necessary granular control to manage local environments securely and efficiently.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/choichuncj/clawdbot-filesystem-bak
Once installed, ensure your agent has appropriate system permissions to interact with the target directories defined in your project configuration.
Use Cases
This skill is ideal for developers and power users who need to automate file maintenance. Use it to scan large repositories for specific syntax patterns, clean up temporary build artifacts in bulk, or generate project summaries for codebase documentation. It is particularly effective for auditing disk usage in storage-constrained environments or migrating configuration files across multiple directories while preserving metadata and permissions.
Example Prompts
- "filesystem, please list all files in the current directory that end in .js, sorted by their last modification date in a table format."
- "Search the entire src/ folder for every instance of the string 'TODO:' and show me the line numbers and two lines of context for each match."
- "Perform a dry-run copy of all files matching the pattern *.log from the logs/ directory to the archive/ folder to verify if any overwrites will occur."
Tips & Limitations
- Safety First: Always use the
--dry-runflag when performing batch copy or move operations to prevent accidental data loss. - Performance: For massive file systems with thousands of files, consider using targeted
--patharguments rather than scanning the entire root directory to keep agent response times optimal. - Regex: While glob patterns are simpler, remember to enable regex mode for complex pattern matching requirements.
- Access: Ensure the AI agent process has sufficient read/write access to the directories you intend to manage, or the tool will return 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-choichuncj-clawdbot-filesystem-bak": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read