Token导航 LogoToken导航

Agent Skill · 研究检索

file-deduplicator(文件重复数据删除器)

file-deduplicator 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

file-deduplicator 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 1,471。

总安装 90,876周安装 3,749GitHub Stars 7下载 29,692核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:file-deduplicator(文件重复数据删除器)
来源仓库:https://github.com/michael-laffin/file-deduplicator
安装命令:
openclaw skills install file-deduplicator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install file-deduplicator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

智能查找并删除重复文件。节省存储空间,保持系统清洁。非常适合数字囤积者和文档管理。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install file-deduplicator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

file-deduplicator 怎么安装?

在终端执行 openclaw skills install file-deduplicator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

file-deduplicator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

file-deduplicator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

file-deduplicator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

file-deduplicator 用的人多吗?

公开数据是累计安装 90,876 次,近一周安装 3,749 次,下载 29,692 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

file-deduplicator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
file-deduplicator

文件重复数据删除器 · 本页

90,8767需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
file-deduplicator
description
Find and remove duplicate files intelligently. Save storage space, keep your system clean. Perfect for digital hoarders and document management.
metadata

File-Deduplicator - Find and Remove Duplicates

Vernox Utility Skill - Clean up your digital hoard.

Overview

File-Deduplicator is an intelligent file duplicate finder and remover. Uses content hashing to identify identical files across directories, then provides options to remove duplicates safely.

Features

✅ Duplicate Detection

  • Content-based hashing (MD5) for fast comparison
  • Size-based detection (exact match, near match)
  • Name-based detection (similar filenames)
  • Directory scanning (recursive)
  • Exclude patterns (.git, node_modules, etc.)

✅ Removal Options

  • Auto-delete duplicates (keep newest/oldest)
  • Interactive review before deletion
  • Move to archive instead of delete
  • Preserve permissions and metadata
  • Dry-run mode (preview changes)

✅ Analysis Tools

  • Duplicate count summary
  • Space savings estimation
  • Largest duplicate files
  • Most common duplicate patterns
  • Detailed report generation

✅ Safety Features

  • Confirmation prompts before deletion
  • Backup to archive folder
  • Size threshold (don't remove huge files by mistake)
  • Whitelist important directories
  • Undo functionality (log for recovery)

Installation

clawhub install file-deduplicator

Quick Start

Find Duplicates in Directory

const result = await findDuplicates({
  directories: ['./documents', './downloads', './projects'],
  options: {
    method: 'content',  // content-based comparison
    includeSubdirs: true
  }
});

console.log(`Found ${result.duplicateCount} duplicate groups`);
console.log(`Potential space savings: ${result.spaceSaved}`);

Remove Duplicates Automatically

const result = await removeDuplicates({
  directories: ['./documents', './downloads'],
  options: {
    method: 'content',
    keep: 'newest',  // keep newest, delete oldest
    action: 'delete',  // or 'move' to archive
    autoConfirm: false  // show confirmation for each
  }
});

console.log(`Removed ${result.filesRemoved} duplicates`);
console.log(`Space saved: ${result.spaceSaved}`);

Dry-Run Preview

const result = await removeDuplicates({
  directories: ['./documents', './downloads'],
  options: {
    method: 'content',
    keep: 'newest',
    action: 'delete',
    dryRun: true  // Preview without actual deletion
  }
});

console.log('Would remove:');
result.duplicates.forEach((dup, i) => {
  console.log(`${i+1}. ${dup.file}`);
});

Tool Functions

findDuplicates

Find duplicate files across directories.

Parameters:

  • directories (array|string, required): Directory paths to scan
  • options (object, optional):

- method (string): 'content' | 'size' | 'name' - comparison method - includeSubdirs (boolean): Scan recursively (default: true) - minSize (number): Minimum size in bytes (default: 0) - maxSize (number): Maximum size in bytes (default: 0) - excludePatterns (array): Glob patterns to exclude (default: ['.git', 'node_modules']) - whitelist (array): Directories to never scan (default: [])

Returns:

  • duplicates (array): Array of duplicate groups

- duplicateCount (number): Number of duplicate groups found - totalFiles (number): Total files scanned - scanDuration (number): Time taken to scan (ms) - spaceWasted (number): Total bytes wasted by duplicates - spaceSaved (number): Potential savings if duplicates removed

removeDuplicates

Remove duplicate files based on findings.

Parameters:

  • directories (array|string, required): Same as findDuplicates
  • options (object, optional):

- keep (string): 'newest' | 'oldest' | 'smallest' | 'largest' - which to keep - action (string): 'delete' | 'move' | 'archive' - archivePath (string): Where to move files when action='move' - dryRun (boolean): Preview without actual action - autoConfirm (boolean): Auto-confirm deletions - sizeThreshold (number): Don't remove files larger than this

Returns:

  • filesRemoved (number): Number of files removed/moved
  • spaceSaved (number): Bytes saved
  • groupsProcessed (number): Number of duplicate groups handled
  • logPath (string): Path to action log
  • errors (array): Any errors encountered

analyzeDirectory

Analyze a single directory for duplicates.

Parameters:

  • directory (string, required): Path to directory
  • options (object, optional): Same as findDuplicates options

Returns:

  • fileCount (number): Total files in directory
  • totalSize (number): Total bytes in directory
  • duplicateSize (number): Bytes in duplicate files
  • duplicateRatio (number): Percentage of files that are duplicates

Use Cases

Digital Hoarder Cleanup

  • Find duplicate photos/videos
  • Identify wasted storage space
  • Remove old duplicates, keep newest
  • Clean up download folders

Document Management

  • Find duplicate PDFs, docs, reports
  • Keep latest version, archive old versions
  • Prevent version confusion
  • Reduce backup bloat

Project Cleanup

  • Find duplicate source files
  • Remove duplicate build artifacts
  • Clean up node_modules duplicates
  • Save storage on SSD/HDD

Backup Optimization

  • Find duplicate backup files
  • Remove redundant backups
  • Identify what's actually duplicated
  • Save space on backup drives

Configuration

Edit config.json:

{
  "detection": {
    "defaultMethod": "content",
    "sizeTolerancePercent": 0,  // exact match only
    "nameSimilarity": 0.7,  // 0-1, lower = more similar
    "includeSubdirs": true
  },
  "removal": {
    "defaultAction": "delete",
    "defaultKeep": "newest",
    "archivePath": "./archive",
    "sizeThreshold": 10485760,  // 10MB threshold
    "autoConfirm": false,
    "dryRunDefault": false
  },
  "exclude": {
    "patterns": [".git", "node_modules", ".vscode", ".idea"],
    "whitelist": ["important", "work", "projects"]
  }
}

Methods

Content-Based (Recommended)

  • Fast MD5 hashing
  • Detects exact duplicates regardless of filename
  • Works across renamed files
  • Perfect for documents, code, archives

Size-Based

  • Compares file sizes
  • Faster than content hashing
  • Good for media files where content hashing is slow
  • Finds near-duplicates (similar but not exact)

Name-Based

  • Compares filenames
  • Detects similar named files
  • Good for finding version duplicates (file_v1, file_v2)

Examples

Find Duplicates in Documents

const result = await findDuplicates({
  directories: '~/Documents',
  options: {
    method: 'content',
    includeSubdirs: true
  }
});

console.log(`Found ${result.duplicateCount} duplicate sets`);
result.duplicates.slice(0, 5).forEach((set, i) => {
  console.log(`Set ${i+1}: ${set.files.length} files`);
  console.log(`  Total size: ${set.totalSize} bytes`);
});

Remove Duplicates, Keep Newest

const result = await removeDuplicates({
  directories: '~/Documents',
  options: {
    keep: 'newest',
    action: 'delete'
  }
});

console.log(`Removed ${result.filesRemoved} files`);
console.log(`Saved ${result.spaceSaved} bytes`);

Move to Archive Instead of Delete

const result = await removeDuplicates({
  directories: '~/Downloads',
  options: {
    keep: 'newest',
    action: 'move',
    archivePath: '~/Documents/Archive'
  }
});

console.log(`Archived ${result.filesRemoved} files`);
console.log(`Safe in: ~/Documents/Archive`);

Dry-Run Preview Changes

const result = await removeDuplicates({
  directories: '~/Documents',
  options: {
    dryRun: true  // Just show what would happen
  }
});

console.log('=== Dry Run Preview ===');
result.duplicates.forEach((set, i) => {
  console.log(`Would delete: ${set.toDelete.join(', ')}`);
});

Performance

Scanning Speed

  • Small directories (<1000 files): <1s
  • Medium directories (1000-10000 files): 1-5s
  • Large directories (10000+ files): 5-20s

Detection Accuracy

  • Content-based: 100% (exact duplicates)
  • Size-based: Fast but may miss renamed files
  • Name-based: Detects naming patterns only

Memory Usage

  • Hash cache: ~1MB per 100,000 files
  • Batch processing: Processes 1000 files at a time
  • Peak memory: ~200MB for 1M files

Safety Features

Size Thresholding

Won't remove files larger than configurable threshold (default: 10MB). Prevents accidental deletion of important large files.

Archive Mode

Move files to archive directory instead of deleting. No data loss, full recoverability.

Action Logging

All deletions/moves are logged to file for recovery and audit.

Undo Functionality

Log file can be used to restore accidentally deleted files (limited undo window).

Error Handling

Permission Errors

  • Clear error message
  • Suggest running with sudo
  • Skip files that can't be accessed

File Lock Errors

  • Detect locked files
  • Skip and report
  • Suggest closing applications using files

Space Errors

  • Check available disk space before deletion
  • Warn if space is critically low
  • Prevent disk-full scenarios

Troubleshooting

Not Finding Expected Duplicates

  • Check detection method (content vs size vs name)
  • Verify exclude patterns aren't too broad
  • Check if files are in whitelisted directories
  • Try with includeSubdirs: false

Deletion Not Working

  • Check write permissions on directories
  • Verify action isn't 'delete' with autoConfirm: true
  • Check size threshold isn't blocking all deletions
  • Check file locks (is another program using files?)

Slow Scanning

  • Reduce includeSubdirs scope
  • Use size-based detection (faster)
  • Exclude large directories (node_modules, .git)
  • Process directories individually instead of batch

Tips

Best Results

  • Use content-based detection for documents (100% accurate)
  • Run dry-run first to preview changes
  • Archive instead of delete for important files
  • Check logs if anything unexpected deleted

Performance Optimization

  • Process frequently used directories first
  • Use size threshold to skip large media files
  • Exclude hidden directories from scan
  • Process directories in parallel when possible

Space Management

  • Regular duplicate cleanup prevents storage bloat
  • Delete temp directories regularly
  • Clear download folders of installers
  • Empty trash before large scans

Roadmap

  • [ ] Duplicate detection by image similarity
  • [ ] Near-duplicate detection (similar but not exact)
  • [ ] Duplicate detection across network drives
  • [ ] Cloud storage integration (S3, Google Drive)
  • [ ] Automatic scheduling of scans
  • [ ] Heuristic duplicate detection (ML-based)
  • [ ] Recover deleted files from backup
  • [ ] Duplicate detection by file content similarity (not just hash)

License

MIT


Find duplicates. Save space. Keep your system clean. 🔮

平台分布

OpenClaw

79.16%
按下载量换算23,504

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills