Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
.claude/skills/filesystem/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | — | — |
| case-13 | ✗→✓ | ▲ Improved | — | — |
| case-03 | ✗→✓ | ▲ Improved | — | — |
| case-05 | ✗→✓ | ▲ Improved | — | — |
| case-08 | ✗→✓ | ▲ Improved | — | — |
Advanced filesystem operations for AI agents. Comprehensive file and directory operations with intelligent filtering, searching, and batch processing capabilities.
bash# 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 --stats
filesystem 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 filesbash# 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/filesystem
Customize behavior via config.json:
json{ "defaultPath": "./", "maxDepth": 10, "defaultFilters": ["*"], "excludePatterns": ["node_modules", ".git", ".DS_Store"], "outputFormat": "table", "dateFormat": "YYYY-MM-DD HH:mm:ss", "sizeFormat": "human", "colorOutput": true }
bash# 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
bash# 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 7d
Works 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.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +73 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.