clawdbot-filesystemAdvanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Install via ClawdBot CLI:
clawdbot install gtrusler/clawdbot-filesystemRequires:
Advanced filesystem operations for AI agents. Comprehensive file and directory operations with intelligent filtering, searching, and batch processing capabilities.
# 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 - Target directory (default: current)--recursive, -r - Include subdirectories--filter, -f - Filter files by pattern--details, -d - Show detailed information--sort, -s - Sort by name|size|date--format - Output format: table|json|listfilesystem searchSearch files by name patterns or content.
Options:
--pattern - Search pattern (glob or regex)--path, -p - Search directory--content, -c - Search file contents--context - Show context lines--include - Include file patterns--exclude - Exclude file patternsfilesystem copyBatch copy files with pattern matching and safety checks.
Options:
--pattern - Source file pattern--to - 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 - Root directory--depth, -d - 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 - Target directory--stats - Show detailed statistics--types - Analyze file types--sizes - Show size distribution--largest - 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/filesystem
Customize 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 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.
Generated Mar 1, 2026
Developers can use the skill to list and filter source code files by type, search for TODO or FIXME comments across the codebase, and analyze directory structures to maintain clean project organization. This aids in code reviews, technical debt tracking, and ensuring consistent file naming conventions.
System administrators can leverage the skill to search log files for error patterns, identify large or old files for cleanup, and batch copy logs to backup directories with safety checks. This helps in monitoring system health, optimizing storage, and automating routine maintenance tasks.
Data scientists can utilize the skill to analyze directory structures of datasets, filter files by patterns like CSV or JSON, and search within files for specific content or metadata. This streamlines data preprocessing, ensures data integrity, and facilitates reproducible research workflows.
Content managers can employ the skill to batch copy media files with pattern matching, search for specific text within documents, and visualize directory trees to organize digital assets efficiently. This supports workflows in publishing, marketing, and archival processes.
Security professionals can use the skill to search for sensitive data patterns in files, analyze file permissions and sizes, and perform dry-run operations to preview changes before execution. This aids in vulnerability assessments, compliance checks, and secure file handling practices.
Offer the basic filesystem operations for free to attract users, with advanced features like enhanced analytics, priority support, and integration with enterprise tools available through a subscription. This model encourages adoption while generating recurring revenue from power users and businesses.
Provide paid consulting services to help organizations integrate the skill into their specific workflows, such as automating log analysis or customizing batch operations. This leverages the skill's flexibility to address unique business needs and generate project-based income.
Sell enterprise licenses that include the skill as part of a broader AI agent toolkit, with features like team collaboration, enhanced security, and dedicated infrastructure. This targets larger organizations seeking scalable, managed solutions for filesystem automation.
๐ฌ Integration Tip
Integrate this skill with security tools to validate operations and with backup systems to ensure data safety, enhancing reliability in automated workflows.
Perform advanced filesystem tasks including listing, recursive searching by name or content, batch copying/moving/deleting files, and analyzing directory siz...
Essential SSH commands for secure remote access, key management, tunneling, and file transfers.
Extract text from PDF files for LLM processing
The directory for AI agent services. Discover tools, platforms, and infrastructure built for agents.
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone.