← 返回 Skills 市场
qq258067284

filesystem-1.0.2

作者 qq258067284 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
262
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install filesystem2
功能描述
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
使用说明 (SKILL.md)

📁 Filesystem Management

Advanced filesystem operations for AI agents. Comprehensive file and directory operations with intelligent filtering, searching, and batch processing capabilities.

Features

📋 Smart File Listing

  • Advanced Filtering - Filter by file types, patterns, size, and date
  • Recursive Traversal - Deep directory scanning with depth control
  • Rich Formatting - Table, tree, and JSON output formats
  • Sort Options - By name, size, date, or type

🔍 Powerful Search

  • Pattern Matching - Glob patterns and regex support
  • Content Search - Full-text search within files
  • Multi-criteria - Combine filename and content searches
  • Context Display - Show matching lines with context

🔄 Batch Operations

  • Safe Copying - Pattern-based file copying with validation
  • Dry Run Mode - Preview operations before execution
  • Progress Tracking - Real-time operation progress
  • Error Handling - Graceful failure recovery

🌳 Directory Analysis

  • Tree Visualization - ASCII tree structure display
  • Statistics - File counts, size distribution, type analysis
  • Space Analysis - Identify large files and directories
  • Performance Metrics - Operation timing and optimization

Quick Start

# 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

Command Reference

filesystem list

Advanced file and directory listing with filtering options.

Options:

  • --path, -p \x3Cdir> - Target directory (default: current)
  • --recursive, -r - Include subdirectories
  • --filter, -f \x3Cpattern> - Filter files by pattern
  • --details, -d - Show detailed information
  • --sort, -s \x3Cfield> - Sort by name|size|date
  • --format \x3Ctype> - Output format: table|json|list

filesystem search

Search files by name patterns or content.

Options:

  • --pattern \x3Cpattern> - Search pattern (glob or regex)
  • --path, -p \x3Cdir> - Search directory
  • --content, -c - Search file contents
  • --context \x3Clines> - Show context lines
  • --include \x3Cpattern> - Include file patterns
  • --exclude \x3Cpattern> - Exclude file patterns

filesystem copy

Batch copy files with pattern matching and safety checks.

Options:

  • --pattern \x3Cglob> - Source file pattern
  • --to \x3Cdir> - Destination directory
  • --dry-run - Preview without executing
  • --overwrite - Allow file overwrites
  • --preserve - Preserve timestamps and permissions

filesystem tree

Display directory structure as a tree.

Options:

  • --path, -p \x3Cdir> - Root directory
  • --depth, -d \x3Cnum> - Maximum depth
  • --dirs-only - Show directories only
  • --size - Include file sizes
  • --no-color - Disable colored output

filesystem analyze

Analyze directory structure and generate statistics.

Options:

  • --path, -p \x3Cdir> - Target directory
  • --stats - Show detailed statistics
  • --types - Analyze file types
  • --sizes - Show size distribution
  • --largest \x3Cnum> - Show N largest files

Installation

# Clone or install the skill
cd ~/.clawdbot/skills
git clone \x3Cfilesystem-skill-repo>

# Or install via ClawdHub
clawdhub install filesystem

# Make executable
chmod +x filesystem/filesystem

Configuration

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
}

Examples

Development Workflow

# 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

System Administration

# 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

Safety Features

  • Path Validation - Prevents directory traversal attacks
  • Permission Checks - Verifies read/write access before operations
  • Dry Run Mode - Preview destructive operations
  • Backup Prompts - Suggests backups before overwrites
  • Error Recovery - Graceful handling of permission errors

Integration

Works seamlessly with other Clawdbot tools:

  • Security Skill - Validates all filesystem operations
  • Git Operations - Respects .gitignore patterns
  • Backup Tools - Integrates with backup workflows
  • Log Analysis - Perfect for log file management

Updates & Community

Stay informed about the latest Clawdbot skills and filesystem tools:

  • 🐦 Follow @LexpertAI on X for skill updates and releases
  • 🛠️ New filesystem features and enhancements
  • 📋 Best practices for file management automation
  • 💡 Tips and tricks for productivity workflows

Get early access to new skills and improvements by following @LexpertAI for:

  • Skill announcements and new releases
  • Performance optimizations and feature updates
  • Integration examples and workflow automation
  • Community discussions on productivity tools

License

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.

安全使用建议
Do not install this skill yet. Key problems: (1) the package/registry bundle lacks the actual 'filesystem' executable the SKILL.md expects — installing would require cloning an external repo, which pulls unvetted code; (2) metadata inconsistencies (versions and owner IDs) reduce confidence in provenance. If you still want to use it, first manually inspect the remote repository on GitHub (https://github.com/gtrusler/clawdbot-filesystem): verify the executable script's contents, commit history, and maintainers; confirm the binary matches what package.json advertises; prefer upstream releases/tags and signed releases if available. Never run unknown filesystem tools as root or against sensitive paths; run initial tests in a disposable environment, use dry-run options, and back up important data. If you need a filesystem skill for automation, prefer a package that includes its runtime within the registry bundle or is installed from a well-known, reviewed source.
功能分析
Type: OpenClaw Skill Name: filesystem2 Version: 1.0.0 The filesystem skill bundle provides standard directory management, searching, and batch copying capabilities. The configuration (config.json) includes proactive safety measures such as protected system paths (/etc, /var/lib, C:\Windows) and operation limits, while the package.json correctly restricts network and system permissions to 'none', aligning with the tool's stated purpose.
能力评估
Purpose & Capability
The stated purpose (advanced filesystem operations) is coherent with the CLI commands shown in SKILL.md. However the package metadata and documentation claim a local CLI named 'filesystem' (and package.json lists a bin) while the distributed file list does not include any executable named 'filesystem'. That mismatch (skill expects a binary but none is present) is unexplained and disproportionate to the skill's claimed capabilities.
Instruction Scope
SKILL.md tells the agent/user to run a local 'filesystem' binary and to clone/install the repository (git clone or clawdhub install). The instructions otherwise limit operations to files and directories and include safety mitigations (protected paths, dry-run). But because the package lacks the executable, following the install instructions would cause the user/agent to fetch external code (git clone) — an action outside the contained package and therefore a potential vector for untrusted code.
Install Mechanism
There is no install spec in the registry package; SKILL.md/README instruct a git clone or clawdhub install. Combined with the missing executable, this implies the only way to obtain the runtime binary is to clone an external repo. That external download is not vetted here and represents the highest-risk install pattern. Also metadata inconsistencies (package.json vs registry version/homepage) increase suspicion about packaging quality and provenance.
Credentials
The skill declares no required environment variables or credentials and requests only 'node' as a binary dependency. The package.json declares filesystem read-write permission (expected for a filesystem tool) and no network permission, which is proportionate — but note that the install instructions force an external git clone (network) if the binary is missing, which contradicts the 'network: none' claim.
Persistence & Privilege
The skill is not always-enabled and uses normal agent invocation semantics. It does not request autonomy or system-wide configuration changes in the provided materials. No evidence it attempts to modify other skills or global settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install filesystem2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /filesystem2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
123
元数据
Slug filesystem2
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

filesystem-1.0.2 是什么?

Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 262 次。

如何安装 filesystem-1.0.2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install filesystem2」即可一键安装,无需额外配置。

filesystem-1.0.2 是免费的吗?

是的,filesystem-1.0.2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

filesystem-1.0.2 支持哪些平台?

filesystem-1.0.2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 filesystem-1.0.2?

由 qq258067284(@qq258067284)开发并维护,当前版本 v1.0.0。

💬 留言讨论