Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
47
51%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./src/opensquilla/skills/bundled/filesystem/SKILL.mdAdvanced filesystem operations for AI agents. Comprehensive file and directory operations with intelligent filtering, searching, and batch processing capabilities.
When invoked from OpenSquilla, use the host-provided filesystem tools in the
current workspace. Do not install clawdbot-filesystem, do not call ClawHub,
and do not assume a standalone filesystem binary exists.
For AwesomeWebpageMetaSkill local packaging:
config.awesome_webpage.output_dir supplied by the caller.project/index.htmlproject/style.cssproject/script.jsproject/assets/imagesproject/assets/audioproject/assets/videoPACKAGING_BLOCKED with the
missing paths; do not try to discover unrelated config files.# List files with filtering
filesystem list --path ./src --recursive --filter "*.js"
# Search for content
filesystem search --pattern "TODO" --path ./src --content
# Batch copy with safety
filesystem copy --pattern "*.log" --to ./backup/ --dry-run
# Show directory tree
filesystem tree --path ./ --depth 3
# Analyze directory structure
filesystem analyze --path ./logs --statsfilesystem listAdvanced file and directory listing with filtering options.
Options:
--path, -p <dir> - Target directory (default: current)--recursive, -r - Include subdirectories--filter, -f <pattern> - Filter files by pattern--details, -d - Show detailed information--sort, -s <field> - Sort by name|size|date--format <type> - Output format: table|json|listfilesystem searchSearch files by name patterns or content.
Options:
--pattern <pattern> - Search pattern (glob or regex)--path, -p <dir> - Search directory--content, -c - Search file contents--context <lines> - Show context lines--include <pattern> - Include file patterns--exclude <pattern> - Exclude file patternsfilesystem copyBatch copy files with pattern matching and safety checks.
Options:
--pattern <glob> - Source file pattern--to <dir> - Destination directory--dry-run - Preview without executing--overwrite - Allow file overwrites--preserve - Preserve timestamps and permissionsfilesystem treeDisplay directory structure as a tree.
Options:
--path, -p <dir> - Root directory--depth, -d <num> - Maximum depth--dirs-only - Show directories only--size - Include file sizes--no-color - Disable colored outputfilesystem analyzeAnalyze directory structure and generate statistics.
Options:
--path, -p <dir> - Target directory--stats - Show detailed statistics--types - Analyze file types--sizes - Show size distribution--largest <num> - Show N largest files# Clone or install the skill
cd ~/.clawdbot/skills
git clone <filesystem-skill-repo>
# Or install via ClawdHub
clawdhub install filesystem
# Make executable
chmod +x filesystem/filesystemCustomize behavior via config.json:
{
"defaultPath": "./",
"maxDepth": 10,
"defaultFilters": ["*"],
"excludePatterns": ["node_modules", ".git", ".DS_Store"],
"outputFormat": "table",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"sizeFormat": "human",
"colorOutput": true
}# Find all JavaScript files in src
filesystem list --path ./src --recursive --filter "*.js" --details
# Search for TODO comments
filesystem search --pattern "TODO|FIXME" --path ./src --content --context 2
# Copy all logs to backup
filesystem copy --pattern "*.log" --to ./backup/logs/ --preserve
# Analyze project structure
filesystem tree --path ./ --depth 2 --size# Find large files
filesystem analyze --path /var/log --sizes --largest 10
# List recent files
filesystem list --path /tmp --sort date --details
# Clean old temp files
filesystem list --path /tmp --filter "*.tmp" --older-than 7dWorks seamlessly with other Clawdbot tools:
Stay informed about the latest Clawdbot skills and filesystem tools:
Get early access to new skills and improvements by following @LexpertAI for:
MIT License - Free for personal and commercial use.
Remember: Great filesystem management starts with the right tools. This skill provides comprehensive operations while maintaining safety and performance.
94ac35e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.