file-manager

Automates file classification, renaming, deduplication, syncing, and monitoring in local directories.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/hzxyayaya/open_claw_obsidian --skill file-manager-hzxyayaya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-manager
Source: https://github.com/hzxyayaya/open_claw_obsidian/tree/main/skills/file-manager
Command: npx skills add https://github.com/hzxyayaya/open_claw_obsidian --skill file-manager-hzxyayaya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

OpenClaw自动化文件管理助手,用于批量文件操作、智能分类、重复文件清理、文件重命名、目录同步等任务。当用户需要整理文件、批量重命名、清理重复文件、同步目录或自动化文件工作流时使用此技能。

Core Features & Use Cases

  • 智能分类与工作流:根据类型、日期、大小或自定义规则自动分类文件,并支持批量移动/复制到有序结构。
  • 批量重命名与整理:支持前缀/后缀、正则替换、序列号、日期等多种重命名模式,提升整理效率。
  • 重复文件清理:通过内容哈希检测重复项,并提供保留策略( oldest/newest/shortest )与多种处理方式(删除/移动/链接)。
  • 目录同步:单向镜像与双向同步,支持排除模式与增量同步,便于备份与协同工作。
  • 文件监控与自动化工作流:监控目录变化并触发相应的整理/同步操作,提升生产力。

Quick Start

Run the organize.py script on a target directory to automatically categorize files.

Frequently Asked Questions about file-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate bulk file rename operations across multiple directories?

Bulk file rename automation applies prefix, suffix, regex replacement, sequence numbering, and date patterns across multiple directories. It provides safe defaults including dry-run previews to verify changes before applying them to your local files.

What is the best way to clean up duplicate files in a local directory?

Deduplication cleanup uses content hashing to detect duplicate files accurately. It provides retention strategies to keep the newest, oldest, or shortest named file, and supports handling methods including deletion, moving, or linking duplicates.

How do I sync directories automatically for backup and team collaboration?

Directory syncing supports one-way mirroring and two-way synchronization with incremental updates. It includes exclusion patterns to filter specific files, making it suitable for local backups and small team collaboration workflows across project directories.

Can I automatically organize downloads by file type, date, and size?

Automated file organization classifies downloads by type, date, size, or custom rules. It batch moves or copies files into ordered directory structures, applying safe defaults for reliable operations across local directories.

Does file monitoring support triggering automated workflows on directory changes?

File monitoring tracks directory changes and triggers automated organization or sync operations. It automates comprehensive file-management workflows, enhancing productivity for individuals and small teams needing continuous folder organization.

What are the limitations of automated file-management scripts for local directories?

Automated file-management scripts operate within local directories and require clear environment setup for reliability. While providing safe defaults and dry-run previews, complex workflows may need manual configuration of custom classification rules and exclusion patterns.