AI Agent Hub
Back to skills
Filesystem Operations icon

Filesystem Operations

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_38fa0bef/for-test2.

About this skill

Problem to Solve

When engineers work with large local trees or repositories, scattered commands like find, grep, and recursive listing can make batch file changes error-prone. test-2 packages common filesystem tasks into a consistent set of capabilities, reducing the need to switch between traversal, content lookup, bulk modification, and safety checks.

How the Skill Works

The skill organizes its functionality around four areas:
- Directory listing: supports basic and advanced views for inspecting directory structure and file distribution.
- File search: locates files by name, content, or regular expression, which is useful for configuration files, code fragments, or log keywords.
- Batch operations: covers bulk copy, move, deletion, and rename for applying the same change to a group of files.
- Directory analysis: provides size analysis, file type statistics, and structure analysis to assess disk usage and tree complexity.
It also references tools such as tree, fd, and ripgrep, and recommends previewing batch work with --dry-run before narrowing scope using -max-depth, -size, or -mtime.

Boundaries and Cautions

The skill is best treated as a filesystem operations aid rather than a full migration, permission management, or backup system. Bulk delete, move, and rename actions should be verified before execution; system directories and operations requiring sudo deserve extra care. In production workflows, back up first, constrain scope, and keep a review step for irreversible commands.

Use Cases

  • Batch-organize Markdown files in a docs repo by searching name, content, or regex and moving them to target folders.
  • Investigate project disk usage by analyzing file size, file types, and directory structure to locate large files.
  • Clean up temp files safely by listing targets, confirming scope, then bulk deleting or moving them.
  • Maintain a local workspace by checking directory listing, file details, size, and content previews.

Best For

  • Docs-repo engineers who need to search files by name, content, or regex and organize them in bulk.
  • Local workspace maintainers who need to list temp files, confirm scope, and bulk delete them.
  • Ops engineers investigating disk usage who need size, type, and structure analysis of directories.
  • Configuration and script owners who need file details, size, and content previews.